mojira.dev
MC-222850

Riding pigs while holding carrot on a stick makes the pig bounce up lower on a slime block

The Bug

When riding a pig with carrot on a stick in hand, the vertical momentum retained upon bouncing off of slime blocks from a height is less than a player, unridden pig, or pig that is being ridden without a carrot on a stick's retained vertical height.

Expected Behavior
If you have a carrot on a stick in hand, you should bounce up as high as any instance in which you don't and are falling from the same height.

Observed Behavior
You don't bounce up as high as other instances.

It should be noted that in both cases fall damage on a non-slime block block is the same as otherwise, but the momentum off of a slime block changes. I tested this in a large chamber of at least 50 blocks of height with a slime block floor in most instances. In regard to fall damage taken I used attributes to increase each pig's maximum health. This has been tested in both a multiplayer and single player world.

Linked issues

Comments 4

This issue with movement resetting upon swapping items whilst riding a pig isΒ MC-129085.

I've removed that part from this ticket. Hope you are fine with it πŸ™‚

I can reproduce in 1.17.1

Still an issue in 1.19.3 and 23w07a

Matthew Field

(Unassigned)

Community Consensus

(Unassigned)

1.16.5, 1.17.1, 1.21

Retrieved