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

Ender dragon's sub-hitboxes are positioned at 0, 0, 0 until the entity's first AI tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 1.19 Release Candidate 2, 1.19, 22w24a, 1.19.1, 1.19.2, 22w44a, 1.19.3, 1.19.4 Pre-release 3, 1.19.4, 23w18a, 1.20.1, 23w42a, 1.20.3 Release Candidate 1, 1.20.4, 24w11a, 1.21.3, 24w45a
    • Confirmed
    • Entities, Hitboxes
    • Low
    • Platform

      The ender dragon's sub-hitboxes (the green ones) are positioned at 0, 0, 0 in any dimension until the dragon starts its first AI tick. For dragons with NoAI NBT set, the dragon will never have a hitbox. For naturally occurring dragons, this will result in the dragon lacking any sub-hitboxes for 1 tick.

      Steps to Reproduce:

      Method 1:

      • Tick freeze the game:
        /tick freeze
        
      • Summon or spawn an ender dragon
      • Step 1 tick

      Method 2:

      Run the command:

      /summon ender_dragon ~ ~ ~ \{NoAI:1b}
      

      Expected Behavior:

      The dragon would have all necessary hitboxes and sub-hitboxes when spawned.

      Observed Behaviour:

      The dragon has only has it's outer (white) hitbox, but that hitbox cannot be interacted with or attacked.

            Unassigned Unassigned
            yomommabois esoij
            Votes:
            11 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: