Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-173294

#climbable blocks clamp the x/z-component of an entity's delta movement without considering its length

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w09a, 20w10a, 20w11a, 20w12a, 20w14a, 20w16a, 20w17a, 1.16 Pre-release 5, 1.16.1, 1.16.2 Pre-release 1, 1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 1.17.1, 21w37a, 1.18.1, 22w18a, 1.19.1, 1.19.4, 23w18a, 1.20.2
    • Confirmed
    • Commands, Entities
    • Low
    • Platform

      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

      1. Add minecraft:oak_button to #minecraft:climbable.
      2. /fill 0 0 0 15 0 15 minecraft:stone
      3. /fill 0 1 0 15 1 15 minecraft:oak_button[face=floor]
      4. /effect give @s minecraft:speed 1000000 255
      5. /tp @s 0 1 0 -1 90
      6. Walk forwards
        The player walks southeast.

      minecraft/tags/blocks/climbable.json

      {
          "replace": false,
          "values": [
              "minecraft:oak_button"
          ]
      }
      

            Unassigned Unassigned
            intsuc intsuc
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: