mojira.dev
MC-129085

Swapping items while riding pigs or striders resets their momentum

The Bug:

Swapping items while riding pigs or striders resets their momentum.

Steps to Reproduce:

  1. Summon a large tower of blocks by using the command provided below.

    /fill ~1 ~ ~1 ~1 ~24 ~1 minecraft:polished_diorite
  2. Summon a pig on top of the tower and equip them with a saddle.

  3. Obtain any item of your choice, for example, a block of dirt, and ensure that it's placed in your hotbar.

  4. Obtain a carrot on a stick and place it in a hotbar slot next to the dirt.

  5. Begin riding the pig while holding the carrot on a stick in your hand.

  6. As you and the pig are falling through the air, constantly swap between the dirt and the carrot on a stick in your hotbar.

  7. Take note as to whether or not swapping items while riding pigs or striders resets their momentum.

Observed Behavior:

Swapping items while riding pigs or striders resets their momentum.

Expected Behavior:

Swapping items while riding pigs or striders would not reset their momentum.

Linked issues

Attachments

Comments 11

Can I please take ownership of this ticket as the OP hasn't updated this ticket since creating it.

Oh, i forgot about this ticket, i dont know how to do the ownership change, but i will test this in recent versions and update it

Confirmed for 1.16.4

Can confirm in 21w05b.

Can confirm in 21w06a.

1 more comments

Can confirm in 1.17.

Can confirm in 1.17.1. I've attached some videos demonstrating this behavior.

Can confirm in 21w41a

I am also able to confirm this behavior in 21w41a. Here are some extra details regarding this problem.

The Bug:

Swapping items whilst riding pigs or striders resets their momentum.

Steps to Reproduce:

  • Summon a large tower of blocks.

/fill ~1 ~ ~1 ~1 ~24 ~1 minecraft:polished_diorite
  • Summon a pig on top of the tower and equip them with a saddle.

  • Obtain any item of your choice, for example, a block of dirt, and ensure that it's placed in your hotbar.

  • Obtain a carrot on a stick and place it in a hotbar slot next to the dirt.

  • Begin riding the pig whilst holding the carrot on a stick in your hand.

  • As you and the pig are falling through the air, constantly swap between the dirt and the carrot on a stick in your hotbar.

  • Take note as to whether or not swapping items whilst riding pigs or striders resets their momentum.

Observed Behavior:

Swapping items whilst riding pigs or striders resets their momentum.

Expected Behavior:

Swapping items whilst riding pigs or striders would not reset their momentum.

I'd like to request ownership of this ticket since the current reporter has been inactive for over a year. I've willing to continue to provide all of the necessary information and will keep this report updated.

nicolas abrego

Avoma

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour

pig, strider

Minecraft 1.12.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, ..., 1.21, 1.21.3, 1.21.4, 25w08a, 1.21.5

Retrieved