mojira.dev
MC-260140

Suspicious sand brushing progress is not saved

The progress of the item coming out of the suspicious sand block when you start brushing is not saved when you exit and rejoin the world.

How to reproduce

  1. Find a naturally occurring suspicious sand block, or place one with the following command

    setblock ~ ~ ~ minecraft:suspicious_sand{loot_table:"minecraft:archaeology/desert_well"}
  2. Go in survival mode and start brushing the suspicious sand

  3. When the item is halfway, stop brushing and exit the world

  4. Rejoin the world and notice that the item is no longer sticking out. Expected behavior would be that the item is initially sticking out, but after a few seconds disappears, just as if the world hadn't been reloaded.

Code analysis

This is because the hit_direction field in the SuspiciousSandBlockEntity is not saved, however it is loaded making me believe that this is a bug.

Linked issues

Comments 1

If it is intentional, why attempt to load the field?

Misode

(Unassigned)

Confirmed

Block states, Save Data

23w07a

Retrieved