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

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 21w05a, 21w05b, 21w06a, 21w08b, 21w10a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Game Events
    • Mojang Priority:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              PancakeIdentity PancakeIdentity
              Votes:
              6 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: