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

Leash knot hitbox in spawner is offset by distance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w21b, Minecraft 1.13.1
    • None
    • Confirmed
    • (Unassigned)

      How to reproduce

      1. Run:
        /setblock ~ ~ ~ spawner{SpawnData:{id:"minecraft:leash_knot"}}
        
      2. F3+B
      3. Go near the spawner or farther away from it

      Result: When your head is inside the spawner (gamemode 3), the hitbox is offset by 0,5 (the offset direction rotates with the displayed entity). When you pass the mark of being exactly one block away from the middle of the spawner (head position), it jumps to a 0,5 higher offset and that for every block distance mark.

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

        1. 2016-06-25_00.30.31.png
          2016-06-25_00.30.31.png
          84 kB
        2. 2016-06-25_00.30.33.png
          2016-06-25_00.30.33.png
          206 kB
        3. 2016-06-25_00.30.36.png
          2016-06-25_00.30.36.png
          294 kB
        4. 2016-06-25_00.30.38.png
          2016-06-25_00.30.38.png
          381 kB
        5. 2016-06-25_00.30.45.png
          2016-06-25_00.30.45.png
          78 kB

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: