mojira.dev
MCPE-66489

"fatal" damage filter does not trigger when the entity is killed using '/kill'

The bug

The "fatal" damage filter triggers when the entity receives fatal damage, whether that be from a player, or a lightning strike, falling into the void, etc. However, it does not trigger when the entity is killed using the /kill command.

Steps to reproduce:

  1. Enter the provided world, with the example behavior pack and resource pack.

  2. Summon the test entity (test:sample_entity) using either a /summon command or the provided command block.

  3. Kill it with your hands. Notice how it shrinks.

  4. Repeat step two, but kill it using /kill @e[type=test:sample_entity]. Notice how it does not shrink.

The damage sensor on this entity sets a component group that sets its scale to 0.2 to demonstrate that the trigger succeeded.

Attachments

Comments 1

Thank you for your report!
However, this issue is Working as Intended.

The report you have submitted is working as intended: If you want to filter for the kill command damage specifically, you should use the 'suicide' filter instead.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Sprunkles

(Unassigned)

392329

Confirmed

Windows

add-on, component, damage_sensor, entity, trigger

1.16.0.67 Beta, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.1

Retrieved