User:PepijnMC/Triggers

minecraft:bred_animals
Player breeds 2 animals.

Available conditions:
 * : The child that results from the breeding.
 * : An entity ID.
 * : The parent.
 * : An entity ID.
 * : The partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : An entity ID.
 * : An entity ID.
 * : The partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : An entity ID.
 * : An entity ID.

minecraft:brewed_potion
Player takes a potion out of a brewing stand.

Available conditions:
 * : A brewed potion ID.
 * : A brewed potion ID.

minecraft:changed_dimension
Player travels between two dimensions.

Available conditions:
 * : The dimension the entity traveled from.
 * : The dimension the entity traveled to.
 * : The dimension the entity traveled to.

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

Available conditions:
 * : The tier of the beacon.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:consume_item
Player consumes an item.

Available conditions:

minecraft:cured_zombie_villager
Player cures a zombie villager.

Available conditions:

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

Available conditions:
 * : A list of status effects.
 * : A status effect with the key name being the status effect name.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.

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

Available conditions:
 * : The levels spent on the enchantment.
 * : The maximum value.
 * : The minimum value.
 * : The levels spent on the enchantment.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.

minecraft:enter_block
Player stands in a block. Checks every tick and will try to trigger for each successful match, which only works if the advancement is revoked from within the advancement using a function reward.

Available conditions:
 * : A block ID.
 * : 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.
 * : A single blockstate, with the key name being the state name and the value being the required value of that state.

minecraft:entity_hurt_player
Entity hurts a player.

Available conditions:
 * : Checks if the damage was successfully blocked.
 * : Checks the amount of incoming damage against the entity before damage reduction.
 * : A maximum value.
 * : A minimum value.
 * : The entity that was the direct cause of the damage.
 * : An entity ID.
 * : Checks the entity that was the source of the damage (For example: The skeleton that shot the arrow).
 * : An entity ID.
 * : Checks the amount of incoming damage against the entity after damage reduction.
 * : A maximum value.
 * : A minimum value.
 * : 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.
 * : Redundant but still possible.
 * : 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.
 * : Redundant but still possible.
 * : An entity ID.
 * : 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.
 * : Redundant but still possible.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.

minecraft:entity_killed_player
Entity kills a player.

Available conditions:
 * : An entity 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.
 * : 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.
 * : An entity ID.
 * : 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.
 * : An entity ID.
 * : An entity ID.

minecraft:impossible
Only using commands.

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

Available conditions:
 * : A list of items.
 * : 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 maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots occupied in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:item_durability_changed
Any item being damaged in any form.

Available conditions:
 * : The difference in value.
 * : The maximum value.
 * : The minimum value.
 * : The durability of the item.
 * : The maximum value.
 * : The minimum value.
 * : An item.
 * : The maximum value.
 * : The minimum value.
 * : An item.
 * : An item.

minecraft:levitation
Player having the levitation status effect.

Available conditions:
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The duration of the levitation.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The duration of the levitation.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

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

Available conditions:

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

Available conditions:
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:placed_block
Player placed a block.

Available conditions:
 * : A block ID.
 * : An item.
 * : 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 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 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.

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

Available conditions:
 * : Checks if the damage was successfully blocked.
 * : Checks the amount of incoming damage against the entity before damage reduction.
 * : A maximum value.
 * : A minimum value.
 * : The entity that was the direct cause of the damage.
 * : An entity ID.
 * : Checks the entity that was the source of the damage (For example: The skeleton that shot the arrow).
 * : An entity ID.
 * : Checks the amount of incoming damage against the entity after damage reduction.
 * : A maximum value.
 * : A minimum value.
 * : 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.
 * : Redundant but still possible.
 * : 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.
 * : Redundant but still possible.
 * : An entity ID.
 * : An entity ID.
 * : 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.
 * : Redundant but still possible.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.

minecraft:player_killed_entity
Player kills an entity.

Available conditions:
 * : An entity 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.
 * : 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.
 * : An entity ID.
 * : 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.
 * : An entity ID.
 * : An entity ID.

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

Available conditions:
 * : A recipe.
 * : A recipe.

minecraft:slept_in_bed
Player enters a bed.

Available conditions:

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.

Available conditions:
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.

minecraft:tame_animal
Player tames an animal.

Available conditions:
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.
 * : An entity ID.

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

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

Available conditions:
 * : The horizontal distance between the player and the stronghold.
 * : A maximum value.
 * : A minimum value.
 * : A maximum value.
 * : A minimum value.

minecraft:used_totem
Players uses a totem.

Available conditions:
 * : The item, only works with totem items.
 * : The item, only works with totem items.

minecraft:villager_trade
Player trades with a villager.

Available conditions:
 * : The item that was purchased.
 * : The item that was purchased.