addBlock

fun addBlock(pos: BlockPos, update: Boolean = true, box: AABB = pos.outlineBox, handlerId: Int = 0)

Adds a block to be rendered. First it will make an appear-animation, then it will continue to get rendered until it's removed or the world changes.

Parameters

pos

The position, can be BlockPos.MutableBlockPos.

handlerId

To which handler the block should be added.