Skip to main content

Equipment

Configure equipment for your custom mobs including armor and held items.

Usage

MyMob:
  Type: ZOMBIE
  Equipment:
    - DIAMOND_HELMET HEAD
    - DIAMOND_CHESTPLATE CHEST
    - DIAMOND_LEGGINGS LEGS
    - DIAMOND_BOOTS FEET
    - DIAMOND_SWORD HAND
    - SHIELD OFF_HAND

Equipment Slots

SlotDescription
HEADHelmet slot
CHESTChestplate slot
LEGSLeggings slot
FEETBoots slot
HANDMain hand
OFF_HANDOff hand

Drop Chance

Configure the chance (0.0-1.0) for equipment to drop on death:
Equipment:
  - DIAMOND_SWORD HAND 0.1   # 10% drop chance
  - DIAMOND_HELMET HEAD 0.0  # Never drops

Custom Items

Use BTCMobs custom items by their internal name:
Equipment:
  - MyCustomSword HAND
  - MyCustomHelmet HEAD

Enchantments

Apply enchantments to equipment:
Equipment:
  - DIAMOND_SWORD{enchants=SHARPNESS:5,FIRE_ASPECT:2} HAND

Example

ArmoredGuard:
  Type: ZOMBIE
  Display: "&6Armored Guard"
  Health: 100
  Equipment:
    - GOLDEN_HELMET HEAD 0.0
    - IRON_CHESTPLATE CHEST 0.0
    - IRON_LEGGINGS LEGS 0.0
    - IRON_BOOTS FEET 0.0
    - IRON_SWORD{enchants=SHARPNESS:3} HAND 0.05
    - SHIELD OFF_HAND 0.0
  Options:
    PreventRandomEquipment: true