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

"Entity killed" event does not work in most cases

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 21w05a, 21w05b, 21w06a, 21w08b, 21w10a, 1.19
    • None
    • None
    • Confirmed
    • Game Events
    • Normal

    Description

      21w05a added the entity killed event. However, the entity hurt event overrides this in most cases, except for killing an armor stand. (It also does not work for boats, items, or minecarts, but the way the code is written makes these specific instances seem intentional)

      This can be seen by attaching a comparator to a sculk sensor. Killing most entities gives a power of 8, while it should give a power of 13.

      Relates to MC-213668

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              PancakeIdentity PancakeIdentity
              Votes:
              11 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: