Mojira Archive
MC-252478

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

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.

Unresolved

esoij

2022-06-05, 09:56 PM

2024-11-10, 04:13 AM

11

3

Confirmed

Low

Platform

Entities, Hitboxes

ender_dragon

1.18.2 - 24w45a1.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

-