The bug
When a piston moves a slime block players are not always launched.
How to reproduce
Place a upwards facing sticky piston
Place a slime block on top
Place a redstone block on the side of the slime block
Update the piston
Jump on the slime block (which now moves up and down)
→ ❌ You will see that you just rarely get bounced up. For entities other than the player it works fine.
Example
This video shows it: https://www.youtube.com/watch?v=qgFt5L5f9jY
Additional information
It works fine for other entities, so it probably has to do with the client/server communication or similar.
Potential Fix
I noticed there is a flag called "velocityChanged" in MCP for entities. It is for example used when an entity is hit and needs to get knock back.
When the flag is set, the EntityTracker will send an extra packet containing the entities velocity.
Setting this flag when an entity is bounced by a slime block pretty much fixes this issue. (There is still an related one that if you fall on a moving slime block you don't get bounced which might have similar effects.)
Video with a comparison flag set vs flag not set: https://www.youtube.com/watch?v=VKHBJxtSlc0&t=2m42s
Linked issues
is duplicated by 14
relates to 3
Attachments
Comments 32
Yeah, it definitely is caused by the (awesome!) recent changes to how pistons move entities.
I'm not sure where exactly this one is coming from yet, but I'm sure it can be resolved without backing off the previous fixes 🙂
Confirmed in 15w39c (MC-89382)
The cause of the bug seems to be moving whilst the slime block moves. If I stand perfectly still the bounce will work almost every time, but walking or falling as it moves causes it to fail to have any effect.
Confirmed in 1.15.
Seems to be related to movement of the player, as mentioned above, but occurs sporadically. I've been able to successfully chain upwards of 20 bounces while sprinting in a row, yet at other times I can't even manage a single one.
This should be noticeably better in 20w07a, however it can still fail if the player falls onto the moving slime block because of MC-123217.
Issue seems to have reoccurred as of 1.20.3 but only when the player is in a boat.
It doesn't effect other mobs in boats
happens when moving or at a standstill as long as player is in it.
Did not see any problems with launching myself on slimeblocks only when in a boat.
There was another post on this specifically but it was linked to this one as a duplicate so I'm commenting here.
Hope this is clear let me know if more info would be helpful
IMO, most likely caused by the fix of (and possibly a regression of) MC-88833.