By default, camels have a minecraft:step_height of 1.5, which allows them to pathfind over fences without any issues. Lowering this value makes them try to pathfind around fences if possible (see MC-279146). However, setting this attribute to 1.5 or higher for other mobs does not let them pathfind over fences or walls. It's also important to note that modifying the minecraft:step_height attribute correctly influences the pathfinding behavior of mobs in other scenarios where fences are not involved. For example, building a pillar at or below the height specified by the attribute will cause mobs to walk over it as intended.
How to reproduce:
Create an area enclosed by fences
Spawn a cow inside it
/attribute @n[type=minecraft:cow] minecraft:step_height base set 1.5
Attempt to lure it across the fences
Expected result
The cow would move over the fences toward you
Observed result
The cow does not attempt to walk over the fences, unlike camels.
Linked issues
relates to 1
Attachments
Comments 3
Thank you for your report!
After consideration, the issue is being closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
How is this invalid? I could see a won't fix or a WAI but not only is a mob's pathfinding being unaffected by the larger jump height, but it is also an inconsistency with the camel. Is basic consistency in the core mob behavior considered a "feature request" now?
Edit: Okay, seeing as the resolution on the camel-specific ticket being resolved as "won't fix" I guess it makes more sense, since it is technically a bug (albeit one that Mojang don't want to fix) and a bug shouldn't be transfered for "consistency" so this one I can understand
Still, my first point still stands. Why are animals with 1.5 block-high jumps not able to jump the 1.5 blocks and why is it considered invalid to point that out?
Can confirm.