Issue Summary:
When holding torchflower seeds near sniffers and then logging out of the world, upon re-entering, the sniffers no longer perform their sniffing animation or detect seeds. This behavior persists even after switching items in hand.
Steps to Reproduce:
Create a new world.
Spawn sniffers.
Hold torchflower seeds to attract the sniffers (they begin pathing toward the player).
Log out of the world.
Log back in and switch the item in hand.
Observed Behavior:
Sniffers stop sniffing and no longer detect seeds.
Running the command
/data get entity <UUID>
shows that the attributeminecraft:is_tempted
remains set to1b
, even when the player is no longer holding torchflower seeds.
Additional Notes:
This issue appears similar to MC-260236, but may be distinct. In this case, the problem seems to be that the minecraft:is_tempted
attribute is incorrectly persisting across sessions, rather than failing to save.
Edit: I just tested in version 1.21.9 Pre-Release 4 and encountered the same issue. In both 1.21.8 and 1.21.9, sniffers consistently fail to sniff or locate seeds. They appear to be indefinitely inactive.
I just wanted to mention that I've experienced this issue in one of my survival worlds. The sniffers aren't performing their sniffing animation while walking or digging for seeds. I even made a copy of the world and enabled commands to test it further. Despite setting the tick rate to 3000, they simply wandered around without ever sniffing or digging.