mojira.dev
MC-86172

Using /summon to spawn a mob with NBT tags does not give the mob randomized values for certain tags like normal mob spawning does

When executing "/summon Skeleton ~ ~ ~", the Skeleton has his bow.
But when one or more NBT Tag is specified and HandsItem is not one of them (example: "/summon Skeleton ~ ~ ~ {LeftHanded:1}"), the Skeleton spawns without his bow. The same happens to Wither Skeletons.

Linked issues

MC-280507 Summoning mob with temperature variants with any NBT defaults them to temperate. Resolved MC-276034 Summoned mobs with nbt are given no items Resolved MC-268566 When summoned with no AI the Bogged does not carry a bow Resolved MC-110158 NoAI tag causes mobs with default handheld items to lose them Resolved MC-227712 Skeletons that are spawned by functions are empty-handed Resolved

Attachments

Comments 1

If you specify a NBT tag, it won't automatically add the default equipment to mobs. In this case you have to specify it in the NBT

Daniel Fernández

michael

Unconfirmed

Minecraft 15w33c

Retrieved