Mojira Archive
MC-250114

Wardens are forced to roar at their suspect again when you change their data

I made a custom enchantment for a datapack that would change the mob's movement speed attribute to 0 and store it back later depending on what it was, and while I was testing this on the warden I found some interesting results. While the warden does keep the anger in nbt under anger.suspects, it sometimes also switches to a different target in the array if the movement attribute is set to 0. 

Observed Behavior:
The wardenloses interest or switches target, choosing from the anger.suspects array

Expected Behavior:
The warden will keep anger at the player until it is free to move again.

Demonstration:

Video 1

Video 2

Video 3

 

EDIT: Read comment for reproduction steps

Unresolved

Snap Doomy

2022-04-11, 05:30 PM

2024-01-11, 08:18 AM

8

5

Community Consensus

Normal

Platform

Commands, Mob behaviour

warden

22w14a - 23w51b22w14a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 2, 1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 1, 1.19.1 Pre-release 1, 23w06a, 23w07a, 1.19.4 Pre-release 4, 1.19.4, 23w51b

-