-
Bug
-
Resolution: Works As Intended
-
None
-
1.21.0
-
None
-
Unconfirmed
-
Windows
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.