# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
AllFaces returns a list of all of the current faces allowed inside of the world (up, down, north, east, south, west).
BlockPosFromVec3 returns a block position by a Vec3, rounding the values down adequately.
BlockRuntimeID attempts to return a runtime ID of a block state previously registered using RegisterBlock().
Distance returns the distance between two vectors.
New creates a new initialised world.
NewLoader creates a new loader using the chunk radius passed.
OfEntity attempts to return a world that an entity is currently in.
No description provided by the author
No description provided by the author
RegisterItem registers an item with the ID and meta passed.
# Constants
East represents the east direction.
FaceDown represents the bottom face of a block.
FaceEast represents the east face of the block.
FaceNorth represents the north face of a block.
FaceSouth represents the south face of a block.
FaceUp represents the top face of a block.
FaceWest represents the west face of the block.
North represents the north direction.
South represents the south direction.
West represents the west direction.
X represents the horizontal X axis.
Y represents the vertical Y axis.
Z represents the horizontal Z axis.
# Structs
No description provided by the author
ItemEntry holds the ID and Meta for an item translation.
Loader implements the loading of the world.
NoIOProvider implements a Provider while not performing any disk I/O.
NopGenerator is the default generator a world.
NopHandler implements the Handler interface but does not execute any code when an event is called.
World implements a Minecraft world.
# Interfaces
Block is a block that may be placed or found in a world.
BlockModel represents the model of a block.
Entity represents an entity in the world, typically an object that may be moved around and can be interacted with by other entities.
Generator handles the generating of newly created chunks.
Handler handles events that are called by a world.
Item represents an item that may be added to an inventory.
Liquid represents a block that can be moved through and which can flow in the world after placement.
LiquidDisplacer represents a block that is able to displace a liquid to a different world layer, without fully removing the liquid.
NBTer represents either an item or a block which may decode NBT data and encode to NBT data.
NeighbourUpdateTicker represents a block that is updated when a block adjacent to it is updated, either through placement or being broken.
Particle represents a particle that may be added to the world.
Provider represents a value that may provide world data to a World value.
RandomTicker represents a block that executes an action when it is ticked randomly.
ScheduledTicker represents a block that executes an action when it has a block update scheduled, such as when a block adjacent to it is broken.
Sound represents a sound that may be added to the world.
Structure represents a structure which may be placed in the world.
TickerBlock is an implementation of NBTer with an additional Tick method that is called on every world tick for loaded blocks that implement this interface.
TickerEntity represents an entity that has a Tick method which should be called every time the entity is ticked every 20th of a second.
Viewer is a viewer in the world.
# Type aliases
Axis represents the axis that a block may be directed in.
BlockPos holds the position of a block.
ChunkPos holds the position of a chunk.
Direction represents a direction towards one of the horizontal axes of the world.
Face represents the face of a block or entity.