Class BlockSnapshot

java.lang.Object
net.neoforged.neoforge.common.util.BlockSnapshot

public class BlockSnapshot extends Object
Represents a captured snapshot of a block, including the level, position, state, BE data, and setBlock flags.

Used to record the prior state and unwind changes if the change was denied, such as during BlockEvent.BreakEvent.