Modifying Warden NBT in the same tick that a vibration particle spawns kicks all players
If you modify a Warden's NBT in any way in the same tick that a vibration particle spawns, all players who receive the packet from the particle will be kicked from the server. On singleplayer the particle appears for one frame and despawns, but on a server you will be kicked with the error message:
Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: Unable to get entityId from uuid
To replicate, put a command that modifies the Warden's NBT in a repeating command block and run around a Warden in survival mode. You will be kicked from the server.
Command example (put this in a repeating command block):
/execute as @e[type=warden] store result entity @s Air short 1 run time query gametime
2023-04-12, 10:42 PM
2023-05-15, 12:50 PM
2023-05-15, 12:50 PM
2
1