graphmine-core / io.github.sof3.graphmine.world / BlockInstance
data class BlockInstance :
FeatureNodeInstance
<
BlockInstance
,
Block
>
Represents a block type at a certain location. The existence persistence of this block is irrelevant to whether the block is really at the location, ever at the location or has been removed. This is a pure value class.
<init> | BlockInstance(block: Block , location: BlockLocation ) Represents a block type at a certain location. The existence persistence of this block is irrelevant to whether the block is really at the location, ever at the location or has been removed. This is a pure value class. |
block | val block: Block the block type |
location | val location: BlockLocation the expected location of the block |
node | val node: Block the corresponding node for the instance. |