GraphMine

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

Package io.github.sof3.graphmine.world

Types

Block data class Block : FeatureNode<Block, BlockInstance>
Represents a block type.
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.
BlockLocation data class BlockLocation
A unique identifier for an integer location.
Blocks object Blocks
The list of default Block instances. Plugins are not expected to add custom block types to this list
Location data class Location
Represents a point in the 3D space of a world.
World interface World
Each world has its set of 3D space. Usually, this is implemented as one saved map, but plugins may create virtual worlds, remote worlds or anything that features the characteristics as required by the interface.
WorldPartition interface WorldPartition
Represents a partition of a World. World partitioning is controlled by the server based on WorldUser activity.
WorldUser interface WorldUser
Represents a user of a world that holds resources from being freed.
WorldView interface WorldView
An adapter that intercepts between a world viewer and the actual world.