The Equipment section in a mob config is a special droptable that
defines what kind of equipment the mob will spawn with. The equipment
will only be applied to the mob when it spawns or during a reload, and
can be changed afterwards by using the [Equip
mechanic](/skills/mechanics/equip).
If you want your mob to not wear any kind of equipment, you can use the
option "PreventRandomEquipment". See [Mob
Options](/databases/mobs/options). An alternative to using that option
is to equip your mob with *dummy items*. Such items need have the item
ID AIR.
Equipment is a special type of droptable and can reference other
droptables, allowing you to use drop conditions to create advanced
equipment sets. If you define the slot in a droptable and reference it
normally in the Equipment section (or equip skill), the mob will "equip"
the drops instead of dropping them.
The Equipment section in a mob config defines what kind of equipment the mob will spawn with. The equipment will only be applied to the mob when it spawns or during a reload, and can be changed afterwards by using the [Equip mechanic](/skills/mechanics/equip).
If the PreventOtherDrops option is not enabled, then the mob will naturally drop all of its equipped items on death.
If you want your mob to not wear any equipment, you can use the option "PreventRandomEquipment". See [Mob Options](/databases/mobs/options). An alternative to using that option is to equip your mob with *dummy items*, such as AIR.
Equipment slots can also accept droptables, allowing for the creation of "sets" where a random item is selected from the set. For example, a droptable can be created that contains every vanilla helmet, which can then be used on the mob in the equipment tab to select one random helmet to wear.
Syntax
------
...
...
@@ -27,29 +17,28 @@ Syntax
- ...
**<item>**
Can be either the name of a [MythicMobs item](/databases/items/overview)
or a vanilla item.
Can be either the name of a [MythicMobs item](/databases/items/overview) or a vanilla item.
**<slot>**
Defines the slot on the mob that item should be carried on.