Mojira Archive
MC-117222

Advancement triggers are inconsistently named

When working with advancements, I noticed that triggers are inconsistently named. The verb and noun are not always at the same position and depending on that, the tense also changes:
Currently, most trigger names have one of these two formats:
"noun_verbed" or "verb_noun"

Examples:
inventory_changed <> changed_dimension
enter_block <> placed_block

Another example of confusion is in 1.16, where the item_used_on_block trigger fires for all block interactions including ones that don't involve an item (eg. playing a noteblock). If this were to say be changed to interacted_with_block to maintain consistency item_used_on_entity would also be renamed to interacted_with_entity.

I feel if new triggers have their name added semi-randomly, we would get confused very often.

Table

Table provided by [Mod] Jiingy

Advancement Table
Name Noun First Verb First N/A

allay_drop_item_on_block

 

 

 

avoid_vibration

   

bee_nest_destroyed

   

bred_animals

   

brewed_potion

   

changed_dimension

   

channeled_lightning

   

construct_beacon

   

consume_item

   

cured_zombie_villager

   

effects_changed

   

enchanted_item

   

enter_block

   

entity_hurt_player

(noun, verb, noun)

   

entity_killed_player

(noun, verb, noun)

   

fall_from_height

   

filled_bucket

   

fishing_rod_hooked

   

hero_of_the_village

(noun, noun)

   

impossible

     

inventory_changed

   

item_durability_changed

   

item_used_on_block

   

kill_mob_near_sculk_catalyst

   

killed_by_crossbow

   

levitation

(noun)

   

lightning_strike

   

location

(noun)

   

nether_travel

   

placed_block

   

player_generates_container_loot

   

player_hurt_entity

   

player_interacted_with_entity

   

player_killed_entity

   

recipe_crafted

   

recipe_unlocked

   

ride_entity_in_lava

   

shot_crossbow

   

slept_in_bed

   

slide_down_block

   

started_riding

   

summoned_entity

   

tame_animal

   

target_hit

   

thrown_item_picked_up_by_entity

   

thrown_item_picked_up_by_player

   

tick

(noun)

   

used_ender_eye

   

used_totem

   

using_item

   

villager_trade

   

voluntary_exile

(adjective, noun)