Mojira Archive
MCPE-164673

"minecraft:rideable" component attributes trigger "minecraft:boostable"

If the "minecraft:rideable" component is missing the attribute "interaction_text", then the player can pre-emptively trigger the boost effect by first crouching and right-clicking on the mount, then uncrouching and right-clicking the mount while holding the boost item. This results in the mount being in boosted mode from the moment the player gets on it.

 

Repro Steps:
1) Modify the pig entity by removing the "interact_text" attribute from it's "minecraft:rideable" component.
2) Load the game, summon the pig, and saddle it.
3) While crouching, right-click on the pig. Doesn't matter what is currently being held.
4) Uncrouch, select the 'carrot on a stick', and right-click to mount the pig. Wielding the 'carrot on a stick' is required while mounting, because it's the item used to boost.

Expected: The player mounts the pig, and the pig trots at normal speed.
Actual: The player mounts the pig, and the sprint mode is activated immediately.

Awaiting Response

Ademisk

2022-11-29, 09:02 AM

2023-01-25, 05:33 PM

2023-01-25, 05:33 PM

0

0

Plausible

1.19.41

-