#climbable blocks clamp the x/z-component of an entity's delta movement without considering its length
The bug
When an entity travels fast on #climbable blocks, the x/z-component of the entity's delta movement is clamped between -0.15 and 0.15 causing the movement vector to be 45° with respect to the x/z axis.
How to reproduce
- Add minecraft:oak_button to #minecraft:climbable.
/fill 0 0 0 15 0 15 minecraft:stone
/fill 0 1 0 15 1 15 minecraft:oak_button[face=floor]
/effect give @s minecraft:speed 1000000 255
/tp @s 0 1 0 -1 90
- Walk forwards
→
The player walks southeast.
minecraft/tags/blocks/climbable.json
{
"replace": false,
"values": [
"minecraft:oak_button"
]
}
2020-02-27, 02:48 PM
2023-10-26, 06:29 PM
8
5
-