Sets the Equipment table to use for this Entity.
Equipment Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
slot_drop_chance | not set | Array of strings | A list of slots with the chance to drop an equipped item from that slot. | Drowned: [{"slot":"slot.weapon.offhand","drop_chance":1}] , Fox: [{"slot":"slot.weapon.mainhand","drop_chance":1}] , Villager v2: [{"slot":"slot.weapon.mainhand","drop_chance":0}] |
table | not set | String | The file path to the equipment table, relative to the behavior pack's root. | Bogged: "loot_tables/entities/skeleton_gear.json" , Drowned: "loot_tables/entities/drowned_ranged_equipment.json" , "loot_tables/entities/drowned_equipment.json" |
Samples
Bogged
"minecraft:equipment": {
"table": "loot_tables/entities/skeleton_gear.json"
}
Drowned
At /minecraft:entity/component_groups/minecraft:ranged_equipment/minecraft:equipment/:
"minecraft:equipment": {
"table": "loot_tables/entities/drowned_ranged_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.offhand",
"drop_chance": 1
}
]
}
At /minecraft:entity/component_groups/minecraft:melee_equipment/minecraft:equipment/:
"minecraft:equipment": {
"table": "loot_tables/entities/drowned_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.offhand",
"drop_chance": 1
}
]
}
Fox
"minecraft:equipment": {
"table": "loot_tables/entities/fox_equipment.json",
"slot_drop_chance": [
{
"slot": "slot.weapon.mainhand",
"drop_chance": 1
}
]
}
Husk
"minecraft:equipment": {
"table": "loot_tables/entities/zombie_equipment.json"
}
Piglin Brute
"minecraft:equipment": {
"table": "loot_tables/entities/piglin_brute_gear.json"
}
Piglin
At /minecraft:entity/component_groups/ranged_unit/minecraft:equipment/:
"minecraft:equipment": {
"table": "loot_tables/entities/piglin_gear_ranged.json"
}
At /minecraft:entity/component_groups/melee_unit/minecraft:equipment/:
"minecraft:equipment": {
"table": "loot_tables/entities/piglin_gear_melee.json"
}
Vex
"minecraft:equipment": {
"table": "loot_tables/entities/vex_gear.json"
}
Villager v2
"minecraft:equipment": {
"slot_drop_chance": [
{
"slot": "slot.weapon.mainhand",
"drop_chance": 0
}
]
}
Wither Skeleton
"minecraft:equipment": {
"table": "loot_tables/entities/wither_skeleton_gear.json"
}