GraphMine

graphmine-core / io.github.sof3.graphmine.world / Block

Block

data class Block : FeatureNode<Block, BlockInstance>

Represents a block type.

This class is only used as a wrapper for the block ID along with FeatureNode identification. In other words, it can be said that this class only exists for documentation purpose.

Constructors

<init> Block(id: Int)
Represents a block type.

Properties

id val id: Int
The block ID. This may be changed in the future.