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

Inconsistent behavior with dead entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.2
    • None
    • Unconfirmed
    • (Unassigned)

      The current behavior of dead entities is that they cannot be targeted by selectors. However, predicates can still detect them as vehicles/passengers, which means there is currently no reliable way to test for certain entities that have just been killed. I propose one of several solutions:

      1. Add a sub-command "execute on victim" that, when ran from a "player_killed_entity" advancement, can change context to the entity who was just killed.
      2. Change targeting of dead entities to be allowed, preferably through the use of a predicate flag.
      3. Fix the inconsistent behavior of predicates checking for existing vehicles/passengers.

            Unassigned Unassigned
            InQuognito InQuognito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: