looting_enchant
: killer_entityset_name
only ifentity
is set: this_entity, killer_entity, direct_killer_entity, or last_damage_playerexploration_map
: origincopy_name
depending on the value ofsource
: this_entity, killer_entity, last_damage_player, or block_entityapply_bonus
: toolexplosion_decay
: explosion_radiusset_lore
only ifentity
is set: this_entity, killer_entity, direct_killer_entity, or last_damage_playerfill_player_head
only ifentity
is set: this_entity, killer_entity, direct_killer_entity, or last_damage_playercopy_nbt
withcontext
type: this_entity, killer_entity, direct_killer_entity, last_damage_player, or block_entitycopy_state
: block_state
random_chance_with_looting
: killer_entityentity_properties
depending on the value ofentity
: this_entity, killer_entity, direct_killer_entity, or last_damage_player. Secondly, only if thedistance
predicate is used: originkilled_by_player
: last_damage_playerentity_scores
depending on the value ofentity
: this_entity, killer_entity, direct_killer_entity, or last_damage_playerblock_state_property
: block_statematch_tool
: tooltable_bonus
: toolsurvives_explosion
: explosion_radiusdamage_source_properties
: origin and damage_sourcelocation_check
: origin
score
number provider withcontext
type, depending on the value oftarget
: this_entity, killer_entity, direct_killer_entity, or last_damage_player
- advancement_reward: Dropping loot as advancement reward
- advancement_entity: Using conditions in an advancement
- selector: Selector argument
predicate=
- command:
/execute if predicate
or applying an item modifier with/item
- entity:
/loot ... kill
or an entity dying - chest:
/loot ... loot
or opening a minecart chest or container - fishing:
/loot ... fish
or retrieving a fishing hook - gift: Villager or cat gifting the player items
- barter: Piglin bartering
- block: Destroying a block
- generic: Validating an item modifier or predicate