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: Blockthe block type |
| location | val location: BlockLocationthe expected location of the block |
| node | val node: Blockthe corresponding node for the instance. |