updateBlockState

fun updateBlockState(blockState: NovaBlockState, flags: BlockUpdateFlags = BlockUpdateFlags.ALL)

Changes the block state of this TileEntity to blockState.

This retains the existing tile entity and does not invoke block placement handling.

Parameters

flags

The notifications and block updates to perform.

Throws

If blockState is not of this TileEntity's block type.