mojira.dev
MC-130690

EntityTag for spawn eggs is not working

The command /give @p skeleton_spawn_egg{EntityTag:{NoAI:1}} should let you spawn skeletons that have no AI, but instead they behave like normal skeletons. The same thing happens with other spawn eggs and other tags. But interestingly, if the id tag exists, the spawn egg spawns nothing.

Linked issues

Comments 6

No, it may be different... since this bug says modifying the spawned entity does not work, but the other one says that the tag overwrites the spawned entity ID.

I personally think it's related because this bug took place right after that bug was patched, so it seems like this bug resulted from the fix to that bug. Also both bugs have to do with EntityTag and more specifically the id tag.

This command seems to work

/give @p skeleton_spawn_egg{EntityTag:{NoAI:1},display:{Name:"\"fix\""}}

Yeah seems like having the Name tag fixes the issue.

I wrote a solution. However, It's not solve the actual cause of the problem. Please fix this bug.

Unoriginal Name

boq

Confirmed

Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2

Minecraft 1.13-pre3

Retrieved