Package com.rvandoosselaer.blocks
package com.rvandoosselaer.blocks
-
ClassDescriptionThe basic building block of the Blocks framework.Contains all the keys of the default cube shape blocks that are registered in the
BlockRegistry
.A thread safe register for blocks.The main configuration object of Blocks.A Blocks theme.A chunk holds an array ofBlock
elements.An in memory threadsafe chunk cache implementation.The contract of a ChunkGenerator implementation.The ChunkManager is responsible for the administration of chunks and the maintenance of the underlying ChunkCache.A listener that can be registered to theChunkManager
.An application state to handle the lifecycle of a ChunkManager.A class to help create a mesh for a specific block type of a chunk.The contract for a chunk mesh implementation.A pager implementation that pages the meshes of the chunks around the given location.An AppState implementation that manages the lifecycle of aChunkPager
.The contract of a ChunkRepository implementation.A service to retrieve chunks.An enum holding direction information in a right-handed coordinate system, just as OpenGL.A chunk mesh generator that creates and combines a quad mesh for each of the visible faces of a block of the same type.A File repository implementation for loading and storing chunks using the Protocol Buffers method.AChunkGenerator
implementation that creates a flat looking terrain at a given y value.Pager<T>An abstract implementation of a 3D pager.A listener that can be registered to thePager
.A pager implementation that attaches and detaches collision meshes to the given physicsSpace based on the location in the grid.An AppState implementation that manages the lifecycle of aPhysicsChunkPager
.The interface describing the shape of aBlock
element.Contains all the keys of the shapes that are registered in theShapeRegistry
.A thread safe register for shapes.Contains all the keys of the types that are registered in theTypeRegistry
.A thread safe register for block types.