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

"Entity killed" event does not work in most cases

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              CHK: