looting_enchant: killer_entityset_nameonly ifentityis set: this_entity, killer_entity, direct_killer_entity, or last_damage_playerexploration_map: origincopy_namedepending on the value ofsource: this_entity, killer_entity, last_damage_player, or block_entityapply_bonus: toolexplosion_decay: explosion_radiusset_loreonly ifentityis set: this_entity, killer_entity, direct_killer_entity, or last_damage_playerfill_player_headonly ifentityis set: this_entity, killer_entity, direct_killer_entity, or last_damage_playercopy_nbtwithcontexttype: this_entity, killer_entity, direct_killer_entity, last_damage_player, or block_entitycopy_state: block_state
random_chance_with_looting: killer_entityentity_propertiesdepending on the value ofentity: this_entity, killer_entity, direct_killer_entity, or last_damage_player. Secondly, only if thedistancepredicate is used: originkilled_by_player: last_damage_playerentity_scoresdepending 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
scorenumber provider withcontexttype, 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 predicateor applying an item modifier with/item - entity:
/loot ... killor an entity dying - chest:
/loot ... lootor opening a minecart chest or container - fishing:
/loot ... fishor 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