isPlaced

public abstract boolean isPlaced()

Returns whether this state is placed in the world.

Some methods will not work if the blockState isn't placed in the world.

Return

whether the state is placed in the world or 'virtual' (e.g. on an itemstack)