Mojira Archive
MC-250187

Warden's suspect list retains entities with anger 0

The wardens will retain all entities's UUID in their suspect list with 0 anger value. This might cause suspect list to pile up and contain mobs that might have already despawned. This might be harmful for server stability, for exploits like trapping a warden near a mob grinder will eventually overload its entity data and increase the server burden.

 

Here is an example for overloading warden's anger list, by exposing a bunch of zombies suspected by warden under sunlight.

anger: {suspects: [

{uuid: [I; -621990666, -1716892256, -1187784618, 370285101], anger: 0}

,

{uuid: [I; 916885358, -1044429137, -1599035026, -1029267427], anger: 0}

,

{uuid: [I; 1459111309, -1923201903, -1219771826, 653551905], anger: 0}

,

{uuid: [I; -1744457724, 1523601303, -1852551513, 7673525], anger: 0}

]},

Fixed

Uehara You

[Mojang] Markus Gustavsson

2022-04-14, 07:21 AM

2022-05-02, 11:14 AM

2022-05-02, 11:14 AM

3

1

Confirmed

Normal

Mob behaviour

warden, warden-suspects

22w15a

22w18a