Sets the loot table for what items this entity drops upon death.
Note
Requires a loot table to be used when dropping items upon death.
Loot Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
table | not set | String | The path to the loot table, relative to the Behavior Pack's root. | Armor Stand: "loot_tables/entities/armor_stand.json" , Blaze: "loot_tables/entities/blaze.json" , Boat: "loot_tables/entities/boat.json" |
Samples
Armor Stand
"minecraft:loot": {
"table": "loot_tables/entities/armor_stand.json"
}
Blaze
"minecraft:loot": {
"table": "loot_tables/entities/blaze.json"
}
Boat
"minecraft:loot": {
"table": "loot_tables/entities/boat.json"
}
Bogged
"minecraft:loot": {
"table": "loot_tables/entities/bogged.json"
}
Breeze
"minecraft:loot": {
"table": "loot_tables/entities/breeze.json"
}
Cat
"minecraft:loot": {
"table": "loot_tables/entities/cat.json"
}
Cave Spider
"minecraft:loot": {
"table": "loot_tables/entities/spider.json"
}
Chicken
"minecraft:loot": {
"table": "loot_tables/entities/chicken.json"
}
Cow
"minecraft:loot": {
"table": "loot_tables/entities/cow.json"
}
Creeper
"minecraft:loot": {
"table": "loot_tables/entities/creeper.json"
}
Dolphin
"minecraft:loot": {
"table": "loot_tables/entities/dolphin.json"
}
Donkey
"minecraft:loot": {
"table": "loot_tables/entities/horse.json"
}