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

entity_killed_player trigger conditions can't track player equipped items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 1.20.4, 24w03b
    • Confirmed
    • (Unassigned)

      entity_killed_player trigger conditions can't track player equipped items because items dropĀ  event occur before trigger check.

      For example you can't create advancement to check if creeper killed player equipped with iron helmet, but this advancement will work if you set "keepInventory" gamerule to true.

      Also with "player_killed_entity" you can track if skeleton was equipped in armor, so problem only with player death.

      Example of advancement is in attachment.

            Unassigned Unassigned
            Lanvilla Lanvilla
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: