Component minecraft:attack with effect_name doesn't work with minecraft:behavior.delayed_attack
Summary:
Component minecraft:attack with effect_name doesn't work with minecraft:behavior.delayed_attack
Verification Build:
1.16.200, 1.16.220, 1.16.221, 1.17.0.54
Regression Builds:
probably never worked
Impact:
This reduces the overall versatility of the behavior.delayed_attack when compared to the standard minecraft:behavior.melee_attack. This results in unnecessary work arounds and additional development time.
Repro Steps:
- Download the attached behavior pack
- start a new world with the behavior pack
- summon a ravager
- let it hit you
Observed Results:
player does not get the expected status effect from the attack
Expected Results:
the attack component should be giving all its information to the attack type regardless of it being delayed or not.
Notes:
The behavior in question is:
"minecraft:attack": { "damage": [20,40], "effect_name": "slowness", "effect_duration": 20 },