Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-117222

Advancement triggers are inconsistently named

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 1.12 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w08b, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w14a, Minecraft 1.14, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w20b, 1.16.1, 1.16.2 Pre-release 1, 1.20.4, 23w51b
    • Confirmed
    • Advancements

      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 Jingy

      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)

         

            Unassigned Unassigned
            MulverineX MulverineX
            Votes:
            11 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: