[1.11] nearest_attackable_target does not select invisible entities.
Verification Build: 1.11.0.5 RC1
Partner Rank: 1
Summary:
The nearest_attackable_target behavior no longer targets entities with the invisibility effect, even though it used to.
Impact:
This is a behavior regression which does not respect format_version and therefore could have unintended consequences. It also breaks an upcoming map which has already been accepted and is waiting to release.
Repro Steps:
- Create a new flatworld and a behavior pack with the attached files.
- Place down a repeating, always active command block with the command: /effect @e[type=rabbit] invisibility
- Summon a zombie and a rabbit a few blocks apart.
Observed Results:
The zombie does not more towards the rabbit.
Expected Results:
The zombie moves towards the rabbit, as the rabbit is the subject of its nearest_attackable_target component.
Screenshots/Videos attached: No