Mojira Archive
MCPE-182675

"minecraft:damage_sensor": {"cause":"magic","damage":false} ignores "oozing", "weaving", "wind_charged", "infested"

Expected behavior: splash potion ("oozing", "weaving", "wind_charged", "infested") would not affect entity, as potions are magic.

Actual result: entity gets effect and starts throwing off particles.

Tests: "minecraft:damage_sensor" does not recognize "oozing", "weaving", "wind_charged", or "infested" as damage causes individually.

added new component:

"minecraft:spell_effects": {
    "remove_effects": ["wind_charged", "weaving", "infested", "oozing"]
}

entity still takes magic effect from splash potion.

I'll try some "damage_sensor" filters under the "entity_attack" cause and enable the "spell_effects" component from a component group dynamically, as it does not work passively. That said...

"minecraft:damage_sensor": { "cause": "magic", "damage": false }

...should block these NEW effects natively without this tedious work around process.

Works As Intended

Test Pattern

2024-06-14, 02:15 AM

2024-06-15, 02:30 AM

2024-06-14, 02:48 AM

0

2

Unconfirmed

1.21.0

-