Some mobs like the EnderDragon and the EnderCrystals does ignore some DataTags like the "Invisible" and the "NoAI". i tried to make an stopped EnderDragon doing the command
/summon EnderDragon ~ ~ ~ {Invisible:1,NoAI:1,CustomName:"a dragon",CustomNameVisible:1}
the result was that the enderdragon did not became invisible, he can still fly arround, and the name was not changed
Linked issues
Attachments
Comments 5
NoAI (fixed in 1.8.1-pre1): MC-65603
CustomNameVisible: Unfortunately it's a Won't Fix (MC-57516)
Also try avoiding putting spaces in the CustomName, since then they can't be selected with entity selectors (see MC-54941). (so instead of "a dragon" try "a_dragon")
Just curious, is there a replacement for this tag for mobs (since otherwise it breaks some maps)?
Note: This is not a dupe of MC-54941, I was just saying that adding spaces in names might make it harder later on 🙂. The main issue is that the Ender Dragon's name cannot be changed.
Still not a duplicate
The unable-to-change-name part is not a duplicate (at least I couldn't find a related issue), everything else is. The ticket should be reopened and renamed Ender Dragon ignores CustomName or something similar 🙂
The 'Invisible' tag only applies to armor stands. Due to some annoying bug which the devs refuse to fix, 'CustomNameVisible' is ignored by living entities. The others are bugs.
Edit: I think the NoAI one may be fixed in 1.8.1.