Spell_effects component doesn't add effect
Release_566145
Summary:
When applying the spell_effects component, the entity doesn't receive the defined effect
Impact:
This is a pivotal feature of one of our enemies in an upcoming survival adventure map. One of the main enemies that show up throughout the map use this as a way of buffing other enemies.
Retro Steps:
- Add included json to any behavior pack
- Spawn zombie and light it on fire
Observed Results:
Zombie dies on first fire tick (zombie's health is set to 1)
Expected Results:
Zombie lives in the fire until the duration of 100 seconds elapses
Screenshots/videos attatched:
Example usage taken from included json file
"minecraft:spell_effects":{ "add_effects":{ "effect":"fire_resistance", "duration":100 } }
Other Notes:
It isn't clear how to use duration, ambient, amplifier, and visible in the effect string. Duration works as a separate parameter, but Visible doesn't seem to.