User:PepijnMC/Triggers

minecraft:bred_animals
Player breeds 2 animals.

"child", "parent", "partner"

minecraft:brewed_potion
Player brews a potion.

"potion"

minecraft:changed_dimension
Player travels to or from a dimension.

"from", "to"

minecraft:construct_beacon
Player changes the structure of a beacon. (When the beacon updates itself).

"level"

minecraft:consume_item
Player consumes an item.

"item"

minecraft:cured_zombie_villager
Player cures a zombie villager.

"villager", "zombie"

minecraft:effects_changed
Player gets a potion effect applied or taken from them.

"effects"

minecraft:enchanted_item
Player enchants an item through an enchanting table (does not get triggered through an anvil, or through commands).

"item", "levels"

minecraft:enter_block
Player enters a block (such as a portal), player needs to be standing in the same block space as the block. Checks every tick but if the advancement is revoked immediatly using a reward command, it will trigger for each successful match in one tick. This means it can trigger between 1 and 8 times each tick.

"block", "state"

minecraft:entity_hurt_player
Entity hurts a player.

"damage"

minecraft:entity_killed_player
Entity kills a player.

"entity", "killing_blow"

minecraft:impossible
Only using commands.

minecraft:inventory_changed
Any changes happen to the player's inventory.

"items", "slots"

minecraft:item_durability_changed
Any item being damaged in any form.

"delta", "durability", "item"

minecraft:levitation
Player having the levitation status effect.

"distance", "duration"

minecraft:location
Checks every 20 ticks (1 second) where the player is.

"biome", "feature", "position"

minecraft:nether_travel
Player travels to the Nether and then returns to the Overworld.

"distance"

minecraft:placed_block
Player placed a block.

"block", "location", "state"

minecraft:player_hurt_entity
Player hurts an entity (including itself).

"damage", "entity"

minecraft:player_killed_entity
Player kills an entity.

"entity", "killing_blow"

minecraft:recipe_unlocked
Player unlocks a recipe (using a knowledge book for example).

"recipe"

minecraft:slept_in_bed
Player enters a bed.

"biome", "feature", "location"

minecraft:summoned_entity
Player summons an entity through for example summoning the wither using soul sand and wither skulls. Works with iron golems, snow golems and the ender dragon (using ender crystals) as well. Using dispensers to place the wither skulls or pumpkins will still activate this trigger. Spawn eggs, commands and mob spawners will not work however.

"entity"

minecraft:tame_animal
Player tames an animal.

"entity"

minecraft:tick
Triggers every tick (20 times a second).

minecraft:used_ender_eye
Player uses an ender eye (in a world where strongholds generate).

"distance"

minecraft:used_totem
Players uses a totem.

"item"

minecraft:villager_trade
Player trades with a villager.

"item", "villager"

Conditions

 * : The biome the entity is currently in.
 * : A block ID.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : Checks if the damage was successfully blocked.
 * : A maximum value.
 * : A minimum value.
 * : Checks the amount of incoming damage against the entity before damage reduction.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : A maximum value.
 * : A minimum value.
 * : Checks the amount of incoming damage against the entity after damage reduction.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : The maximum value.
 * : The minimum value.
 * : The difference in value.
 * : The dimension the entity is currently in.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : The maximum value.
 * : The minimum value.
 * : The durability of the item.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command).
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : Name of a structure (see /locate command).
 * : The dimension the entity traveled from.
 * : A list of items.
 * : The maximum value.
 * : The minimum value.
 * : Amount of the item.
 * : The maximum value.
 * : The minimum value.
 * : Data of the item.
 * : The maximum value.
 * : The minimum value.
 * : The durability of the item.
 * : List of enchantments.
 * : An enchantment ID.
 * : The maximum value.
 * : The minimum value.
 * : The level of the enchantment.
 * : An item ID.
 * : An NBT string.
 * : A brewed potion ID.
 * : An item.
 * : The maximum value.
 * : The minimum value.
 * : Amount of the item.
 * : The maximum value.
 * : The minimum value.
 * : Data of the item.
 * : The maximum value.
 * : The minimum value.
 * : The durability of the item.
 * : List of enchantments.
 * : An enchantment ID.
 * : The maximum value.
 * : The minimum value.
 * : The level of the enchantment.
 * : An item ID.
 * : An NBT string.
 * : A brewed potion ID.
 * : The type of damage that killed an entity.
 * : Checks if the damage bypasses the armor of a entity.
 * : Checks if the damage bypasses the invulnerability status of a entity.
 * : Checks if the damage is caused by starvation.
 * : The entity that was the direct cause of the damage.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : Checks if the damage originates from an explosion.
 * : Checks if the damage originates from fire.
 * : Checks if the damage originates from magic.
 * : Checks if the damage originates from a projectile.
 * : Checks the entity that was the source of the damage.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : The maximum value.
 * : The minimum value.
 * : The levels spent on an enchantment.
 * : The maximum value.
 * : The minimum value.
 * : The tier of beacon.
 * : A parent.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : A partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : A recipe.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots empty in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots completely filled (stacksize) in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots occupied in the inventory.
 * : The blockstates of a block.
 * : A single blockstate, with the key name being the state name and the value being the required value of that state.
 * : The dimension the entity traveled to.
 * : Information stored about the villager upon conversion from a zombie.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : Information stored about the zombie upon conversion to a villager.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : A partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : An entity ID.
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : A recipe.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots empty in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots completely filled (stacksize) in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots occupied in the inventory.
 * : The blockstates of a block.
 * : A single blockstate, with the key name being the state name and the value being the required value of that state.
 * : The dimension the entity traveled to.
 * : Information stored about the villager upon conversion from a zombie.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : Information stored about the zombie upon conversion to a villager.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : Information stored about the zombie upon conversion to a villager.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : the horizontal distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The x distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The y distance to the origin.
 * : The maximum value.
 * : The minimum value.
 * : The z distance to the origin.
 * : The distance to an origin.
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The maximum value.
 * : The minimum value.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The biome the entity is currently in.
 * : The dimension the entity is currently in.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : Name of a structure (see /locate command)
 * : A maximum value.
 * : A minimum value.
 * : The x position.
 * : A maximum value.
 * : A minimum value.
 * : The y position.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.
 * : A maximum value.
 * : A minimum value.
 * : The z position.
 * : An NBT string.