Summon a custom mob with armor and equipment
8 min read
The /summon command takes an entity id and an optional NBT block that sets everything about the spawned mob: what it wears, what it holds, its name, its health, and whether it can move. Hand-writing that NBT is error-prone because armor slots have a fixed order, so the summon builder lets you fill each slot visually and prints a valid command.
ガイドの成果
A /summon command that spawns a named mob wearing chosen armor and weapons, with control over drops and behavior.
推奨手順
- Open the Summon module and pick the entity, such as zombie, skeleton, or piglin.
- Fill the four armor slots and the main-hand and off-hand slots with the items you want.
- Add a custom name, and enable CustomNameVisible if you want the name to float above the mob.
- Set per-slot drop chances so the mob does or does not drop its gear when killed.
- Add optional behavior tags like NoAI, Silent, Invulnerable, or PersistenceRequired, then copy the command.
Armor and hand slots have a fixed order
Through Java 1.21.4, equipment is written with two lists. ArmorItems is ordered feet, legs, chest, head — not head first — and HandItems is main hand, then off hand. Empty slots are written as {}. A zombie in a full diamond set with a sword is /summon zombie ~ ~ ~ {ArmorItems:[{id:"diamond_boots",count:1},{id:"diamond_leggings",count:1},{id:"diamond_chestplate",count:1},{id:"diamond_helmet",count:1}],HandItems:[{id:"diamond_sword",count:1},{}]}.
In Java 1.21.5+ this moved to a single equipment component: {equipment:{feet:"diamond_boots",legs:"diamond_leggings",chest:"diamond_chestplate",head:"diamond_helmet",mainhand:"diamond_sword"}}. Select the version so the generator writes the right one and uses count vs the older Count casing correctly.
- ArmorItems order is feet, legs, chest, head.
- HandItems order is main hand, then off hand.
- Use {} for any slot you want to leave empty.
Names, drops, and enchanted gear
Give the mob a CustomName as a text component and set CustomNameVisible:1 to keep the label visible. The armor and weapons are normal items, so they can carry enchantments, custom names, and unbreakable data exactly like a /give item.
By default a mob rarely drops equipment. ArmorDropChances and HandDropChances are lists of values from 0.0 (never) to 1.0 (always), matching the slot order above. Set them to 0.0 to stop a decorated boss from dropping its gear.
- CustomName plus CustomNameVisible:1 shows a floating name.
- Set drop chances to 0.0 so the mob keeps its gear on death.
- Enchant the equipment the same way you would a give item.
Make the mob stand still or survive
For statues, shop keepers, or arena bosses you usually want the mob to stop wandering. NoAI:1 freezes it in place, Silent:1 mutes its sounds, and Invulnerable:1 makes it ignore normal damage. PersistenceRequired:1 stops natural despawning.
Combine these carefully: a NoAI mob will not attack, which is good for decoration but wrong for a boss. Test the combination in a throwaway world so a NoAI or Invulnerable flag does not surprise you later.
Ship the copied artifact
Use this guide to produce the artifact a player or map maker will actually run: a copied command, ordered Project pack, or datapack resource. The final review should happen on that copied output, not only on the editable builder state.
When the workflow is version-sensitive, label the target version beside the command. When it uses selectors, scoreboards, bossbars, tags, loot tables, or project order, test those dependencies in a clean world before publishing the setup.
- Copy from Output for one command and from Project for ordered packs.
- Keep Java, Bedrock, and snapshot variants separate.
- Test destructive selectors with harmless output first.
- Update related presets when the guide becomes the canonical workflow.
関連ガイドとプリセット
FAQ
Why is my armor on the wrong body part?
ArmorItems is ordered feet, legs, chest, head. If the helmet appears on the feet, the list order is reversed. Fill the slots in the builder so the order is always correct.
How do I stop the mob from dropping its armor?
Add ArmorDropChances and HandDropChances set to 0.0 for each slot. Values are 0.0 (never drop) to 1.0 (always drop) and follow the same slot order as the equipment.
How do I make the summoned mob not move?
Add NoAI:1 to freeze it. Add PersistenceRequired:1 so it never despawns, and Silent:1 to mute it. Note that NoAI mobs also will not attack.
Can I summon a baby or a specific variant?
Yes. Many mobs accept extra tags such as IsBaby:1 for zombies or a Variant/VillagerData tag for villagers. The summon builder exposes the tags that apply to the entity you picked.
My summon command is too long for a command block. What do I do?
Commands over 256 characters must be pasted into a command block, not the chat bar. For very large builds, split setup into a datapack function instead.
When should this guide become a Project pack?
Use Project when the workflow needs more than one command, has setup and cleanup order, or must be edited again after testing. One-off commands can stay in Output.