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

minecraft.walk_one_cm increases when standing in collision box of certain entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 15w50a, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w21a, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.13.1, 1.15.1, 1.15.2 Pre-Release 1, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2, 20w51a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w15a, 21w17a, 1.20.3 Release Candidate 1, 1.20.4
    • Confirmed
    • (Unassigned)

      The bug

      When a player is inside the collision box of some entities minecraft.walk_one_cm stat increases.

      How to reproduce 1

      1. Get for example some cows in a small (1x1) fenced area
      2. Run:
        /scoreboard objectives add walk minecraft.custom:minecraft.walk_one_cm
        /scoreboard objectives setdisplay sidebar walk
        
      3. Get in the fenced area
      4. Jump in from above and once you are not visibly moving and the score is increasing turn the cows' AI off:
        /execute as @e[type=cow] run data merge entity @s {NoAI:1} 

        The score increases without moving

      How to reproduce 2 (easier)

      1. Place a rail facing to a block
      2. Place a minecart on the rail
      3. Run:
        /scoreboard objectives add walk minecraft.custom:minecraft.walk_one_cm
        /scoreboard objectives setdisplay sidebar walk
        
      4. Move towards the minecart to make your hitboxes overlap
        The score increases without moving

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: