[blocking]Removing "minecraft:behavior.nearest_attackable_target" only stops certain mobs from attacking
Verification builds: Release 924386 - 1.5.0.4 BETA
Summary: When fighting a mob, if you trigger it to remove "minecraft:behavior.nearest_attackable_target" it will only work on certain mobs and on others, the mob will continue to fight you.
Repro Steps:
- Download the 'super behavior bug test time' (tm) map from Greg on Slack
- summon any of the listed mobs
- be in survival mode and punch it in the face
- when it starts attacking you, tame it with a beetroot which will remove the component.
Observed Results:
- It keeps attacking you even though the component was successfully removed.
- you can verify the component was removed because you can no longer force feed the mob beetroot, as tameable was also part of that group.
- if you relog the game, the mob will not attack you when you come back
Expected Results: the mob should stop attacking you.
Impact: this impacts the release of my map which has been discussed with Greg
Mobs it works on:
Blaze, Cave Spider, Creeper, Elder Guardian, enderman, guardian, iron golem, magma cube, polar brear, silverfish, spider, zombie pigman
Mobs it's bugged on:
Dolphin, drowned, endermite, evoker, ghast, husk, shulker, skeleton, stray, vex, vindicator, witch, wither, wither skeleton, zombie, zombie villager