mojira.dev
MC-260236

The searching, sitting, and digging states of sniffers aren't saved to NBT

The Bug:

The searching, sitting, and digging states of sniffers aren't saved to NBT.

As a result of this issue, the searching, sitting, and diggings states of a sniffer resets when its NBT data is reloaded. For example, upon the sniffer changing dimensions or the world being reloaded, its searching, sitting, and digging states aren't saved.

Steps to Reproduce:

  1. Summon a sniffer and wait for it to begin searching, sitting, or digging.

  2. As it does this, quickly leave and rejoin the world.

  3. Observe if the sniffer is still searching, sitting, or digging.

  4. Take note as to whether or not the searching, sitting, and digging states of sniffers are saved to NBT.

Observed Behavior:

The said states of sniffers aren't saved to NBT.

Expected Behavior:

The said states of sniffers would be saved to NBT.

Linked issues

Attachments

Comments

Brain81505

Can confirm

migrated

I find "won't fix" quite an odd choice; this effectively means that if a sniffer is digging, and you close and reopen the world, the sniffer just stands there doing nothing, and no item being spawned.

muzikbike

Relates to MC-81656 and MC-172738.

migrated

Avoma

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour, Save Data

sniffer

23w07a, 1.19.4 Pre-release 1, 1.19.4, 23w12a, 1.20.4, 23w51b, 1.20.5 Release Candidate 1, 1.21, 1.21.4

Retrieved