Entity Documentation - minecraft:loot
minecraft:loot
sets the loot table for what items this entity drops upon death.
Important
minecraft:loot
requires a loot table
to be used when dropping items upon death.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
table | not set | String | The path to the loot table, relative to the Behavior Pack's root. |
Example
"minecraft:loot":{
"table": "loot_tables/entities/wither_skeleton.json"
}
Vanilla entities examples
zombie
"minecraft:loot": {
"table": "loot_tables/entities/zombie.json"
}
Vanilla entities using minecraft:loot
- armor_stand
- blaze
- boat
- cat
- cave_spider
- chicken
- cow
- creeper
- dolphin
- donkey
- drowned
- elder_guardian
- enderman
- evocation_illager
- fish
- fishing_hook
- fox
- ghast
- glow_squid
- goat
- guardian
- hoglin
- horse
- husk
- iron_golem
- llama
- magma_cube
- mooshroom
- mule
- npc
- ocelot
- panda
- parrot
- phantom
- pig
- piglin_brute
- piglin
- pillager
- player
- polar_bear
- pufferfish
- rabbit
- ravager
- salmon
- sheep
- shulker
- silverfish
- skeleton_horse
- skeleton
- slime
- snow_golem
- spider
- squid
- stray
- strider
- tropicalfish
- turtle
- vindicator
- witch
- wither_skeleton
- wither
- wolf
- zoglin
- zombie_horse
- zombie pigman
- zombie_villager_v2
- zombie_villager
- zombie
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for