Equipment - MarkusBordihn/BOs-Easy-NPC GitHub Wiki

Equipment ๐Ÿ›ก๏ธ

Equip your NPCs with top-notch gear using the equipment screen. Give them a unique look by displaying items in their hands or on their bodies.

Inventory

Equipment Slots ๐ŸŽฝ

Maximize your NPC's style and protection with these equipment slots, just like you would with a player:

  • Head ๐ŸŽฉ
  • Chest ๐Ÿงฅ
  • Legs ๐Ÿ‘–
  • Feet ๐Ÿ‘Ÿ
  • Main Hand ๐Ÿคฒ
  • Off Hand ๐Ÿคš

The checkbox next to each slot allows you to toggle the visibility of the item on the NPC. The item will still be equipped, but it won't be displayed on the NPC.

Advanced Equipment & Commands ๐Ÿ› ๏ธ

For more control over your NPC's gear, use these advanced commands to equip them with specific items quickly and efficiently:

  • armor.head
  • armor.chest
  • armor.legs
  • armor.feet
  • weapon.mainhand
  • weapon.offhand

Use the weapon slot to automatically equip the item in either the main or off-hand. Note that this may not work as expected if the item isn't classified as a weapon or is a modded item.

Equipment Set Command ๐Ÿ›ก๏ธ

To equip an NPC with a specific item in a chosen slot, use this command:

/easy_npc equipment set <NPC UUID> <Slot> <Item>

Examples

Equip a dragon head:

/easy_npc equipment set c3865a82-fa0c-40a1-98aa-8b7504b4d5ba armor.head minecraft:dragon_head

Equip a bucket (because why not?):

/easy_npc equipment set c3865a82-fa0c-40a1-98aa-8b7504b4d5ba armor.head minecraft:bucket

Equipment Remove Command ๐Ÿงน

To remove an item from a specific slot, use this command:

/easy_npc equipment remove <NPC UUID> <Slot>

Example

Remove the item from the head slot:

/easy_npc equipment remove c3865a82-fa0c-40a1-98aa-8b7504b4d5ba armor.head
โš ๏ธ **GitHub.com Fallback** โš ๏ธ