mojira.dev
MC-89043

Slime blocks moved by pistons often fail to bounce up the player

The bug

When a piston moves a slime block players are not always launched.

How to reproduce

  1. Place a upwards facing sticky piston

  2. Place a slime block on top

  3. Place a redstone block on the side of the slime block

  4. Update the piston

  5. 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

MC-89124 Walking/sprinting near a slime block pushed in any orientation by a piston doesn't bounce players Resolved MC-89382 pushed upwards slime blocks dont bounce players Resolved MC-89537 Slime blocks don't push players up while moving Resolved MC-90519 Players are not propelled by extending slime blocks Resolved MC-93174 Slime Block Resolved

Attachments

Comments 32

Dlawso the Really Lucky Rabbit

IMO, most likely caused by the fix of (and possibly a regression of) MC-88833.

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 🙂

tim Biesenbeek

Still confirmd in 15w38b & 15w39b

Confirmed in 15w39c (MC-89382)

tim Biesenbeek

15w39c Confirmd.

22 more comments
James Fitzpatrick

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.

Alexander Mitchell

This is also a problem in Bedrock edition...

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

Panda4994

(Unassigned)

Confirmed

Normal

Player, Redstone

piston, player, slime_block

Minecraft 15w38b, Minecraft 15w39b, Minecraft 15w39c, Minecraft 15w41b, Minecraft 15w42a, ..., 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a

20w07a

Retrieved