mojira.dev
MC-269367

Inner Hitboxes of Ender Dragons without AI don't work properly

Upon summoning an ender dragon, using the component "NoAI:1b", you might realize, the ender dragons inner hitboxes aren't summoned at all, meaning you can't deal damage to it, projectiles will just phase through it, etc..

If you were to summon an ender dragon without this component, and add it afterwards, using the command "/data merge entity @e[type=minecraft:ender_dragon,limit=1] {NoAI:1}", you'd be able to interact with it, until you were to leave and re-enter the end, which makes the hitboxes disappear again.

 

How to replicate: 

Version 1:

  1. Create a new world, enable commands.

  2. Open chat and enter "/summon minecraft:ender_dragon ~ ~ ~ {NoAI:1b}".

  3. Press F3+B to show entity hitboxes.

  4. The dragons inner hitboxes haven't been summoned. 

Version 2:

  1. Create a new world, enable commands.

  2. Open chat and enter "/setblock ~ ~ ~ minecraft:end_portal".

  3. Open chat again and enter "/data merge entity @e[type=minecraft:ender_dragon,limit=1] {NoAI:1}".

  4. Press F3+B to show entity hitboxes.

  5. Open chat and enter "/tp @s @e[type=ender_dragon,limit=1]".

  6. Hitboxes are shown, as they should be.

  7. Save and Quit to Title, and re-enter the world

  8. The dragons inner hitboxes have disappeared.

Linked issues

Comments

CreeperFriend

Does MC-252478 describe your issue?

migrated

@unknown, yea, thanks.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-252478, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

components, ender-dragon, hitboxes, nbt-tags

1.20.4, 24w11a

Retrieved