Name | equipment_drop_chance |
Object | EntityTag |
Input | MapTag |
Related Tags | <EntityTag.equipment_drop_chance> (Property) Returns the chance of each piece of equipment dropping when the entity dies. (...)
|
Description | (Property) Sets the chance of each piece of equipment dropping when the entity dies.
A drop chance of 0 will prevent the item from dropping, a drop chance of 1 will always drop the item if killed by a player, and a drop chance of higher than 1 will always drop the item no matter what the entity was killed by. A map of equipment slots to drop chances, with keys "head", "chest", "legs", "feet", "hand", and "off_hand". |
Example |
|
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityEquipmentDropChance.java#L12 |