A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

A

add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.Cube
 
add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.Pyramid
 
add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.RoundedCube
 
add(Vec3i, Chunk, ChunkMesh) - Method in interface com.rvandoosselaer.blocks.Shape
Adds the shape at the location in the chunk to the chunk mesh.
add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.Slab
 
add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.Stair
 
add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.Wedge
 
addAllBlocks(Iterable<String>) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
addAllLocation(Iterable<? extends Integer>) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
addAllSize(Iterable<? extends Integer>) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
addBlock(int, int, int, Block) - Method in class com.rvandoosselaer.blocks.Chunk
Add a block to this chunk.
addBlock(Vec3i, Block) - Method in class com.rvandoosselaer.blocks.Chunk
Add a block to this chunk.
addBlock(Vector3f, Block) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
addBlocks(String) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
addBlocksBytes(ByteString) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
addListener(ChunkManagerListener) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
addListener(PagerListener<T>) - Method in class com.rvandoosselaer.blocks.Pager
 
addLocation(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
addSize(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
attachedPages - Variable in class com.rvandoosselaer.blocks.Pager
 
attachPage(PhysicsRigidBody) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPager
 
attachPage(Node) - Method in class com.rvandoosselaer.blocks.ChunkPager
 
attachPage(T) - Method in class com.rvandoosselaer.blocks.Pager
Attach the page.

B

BACK - com.rvandoosselaer.blocks.Direction
 
BIRCH_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
BIRCH_LOG_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_LOG_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
BIRCH_PLANKS_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_PLATE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BIRCH_PLANKS_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
Block - Class in com.rvandoosselaer.blocks
The basic building block of the Blocks framework.
Block() - Constructor for class com.rvandoosselaer.blocks.Block
 
BlockIds - Interface in com.rvandoosselaer.blocks
Contains all the keys of the blocks that are registered in the BlockRegistry.
BlockRegistry - Class in com.rvandoosselaer.blocks
A thread safe register for blocks.
BlockRegistry() - Constructor for class com.rvandoosselaer.blocks.BlockRegistry
 
BLOCKS_FIELD_NUMBER - Static variable in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
BlocksConfig - Class in com.rvandoosselaer.blocks
The main configuration object of Blocks.
BlocksProtos - Class in com.rvandoosselaer.blocks.protobuf
 
BlocksProtos.ChunkProto - Class in com.rvandoosselaer.blocks.protobuf
Protobuf type ChunkProto
BlocksProtos.ChunkProto.Builder - Class in com.rvandoosselaer.blocks.protobuf
Protobuf type ChunkProto
BlocksProtos.ChunkProtoOrBuilder - Interface in com.rvandoosselaer.blocks.protobuf
 
BlocksTheme - Class in com.rvandoosselaer.blocks
A Blocks theme.
BlocksTheme() - Constructor for class com.rvandoosselaer.blocks.BlocksTheme
 
BOTTOM - com.rvandoosselaer.blocks.Direction
 
BRICK_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICK_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
BRICKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
build() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
buildPartial() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 

C

centerPage - Variable in class com.rvandoosselaer.blocks.Pager
 
Chunk - Class in com.rvandoosselaer.blocks
A chunk holds an array of Block elements.
ChunkCache - Class in com.rvandoosselaer.blocks
An in memory threadsafe chunk cache implementation.
ChunkCache() - Constructor for class com.rvandoosselaer.blocks.ChunkCache
 
ChunkCache(int) - Constructor for class com.rvandoosselaer.blocks.ChunkCache
 
ChunkGenerator - Interface in com.rvandoosselaer.blocks
The contract of a ChunkGenerator implementation.
chunkManager - Variable in class com.rvandoosselaer.blocks.Pager
 
ChunkManager - Class in com.rvandoosselaer.blocks
The ChunkManager is responsible for the administration of chunks and the maintenance of the underlying ChunkCache.
ChunkManager() - Constructor for class com.rvandoosselaer.blocks.ChunkManager
 
ChunkManager(int) - Constructor for class com.rvandoosselaer.blocks.ChunkManager
 
ChunkManagerListener - Interface in com.rvandoosselaer.blocks
A listener that can be registered to the ChunkManager.
ChunkManagerState - Class in com.rvandoosselaer.blocks
An application state to handle the lifecycle of a ChunkManager.
ChunkManagerState() - Constructor for class com.rvandoosselaer.blocks.ChunkManagerState
 
ChunkMesh - Class in com.rvandoosselaer.blocks
A class to help create a mesh for a specific block type of a chunk.
ChunkMesh(boolean) - Constructor for class com.rvandoosselaer.blocks.ChunkMesh
 
ChunkMeshGenerator - Interface in com.rvandoosselaer.blocks
The contract for a chunk mesh implementation.
ChunkPager - Class in com.rvandoosselaer.blocks
A pager implementation that pages the meshes of the chunks around the given location.
ChunkPager(Node, ChunkManager) - Constructor for class com.rvandoosselaer.blocks.ChunkPager
 
ChunkPagerState - Class in com.rvandoosselaer.blocks
An AppState implementation that manages the lifecycle of a ChunkPager.
ChunkPagerState(Node, ChunkManager) - Constructor for class com.rvandoosselaer.blocks.ChunkPagerState
 
ChunkRepository - Interface in com.rvandoosselaer.blocks
The contract of a ChunkRepository implementation.
ChunkResolver - Interface in com.rvandoosselaer.blocks
A service to retrieve chunks.
clean() - Method in class com.rvandoosselaer.blocks.Chunk
Deprecated.
use Chunk.cleanup() instead
cleanup() - Method in class com.rvandoosselaer.blocks.Chunk
 
cleanup() - Method in class com.rvandoosselaer.blocks.ChunkManager
 
cleanup() - Method in class com.rvandoosselaer.blocks.Pager
 
cleanup(Application) - Method in class com.rvandoosselaer.blocks.ChunkManagerState
 
cleanup(Application) - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
cleanup(Application) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
clear() - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
clear() - Method in class com.rvandoosselaer.blocks.ChunkMesh
 
clear() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
clear() - Method in class com.rvandoosselaer.blocks.ShapeRegistry
 
clear() - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
clearBlocks() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
clearField(Descriptors.FieldDescriptor) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
clearLocation() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
clearOneof(Descriptors.OneofDescriptor) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
clearSize() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
clone() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
COBBLESTONE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
COBBLESTONE_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
COBBLESTONE_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
com.rvandoosselaer.blocks - package com.rvandoosselaer.blocks
 
com.rvandoosselaer.blocks.protobuf - package com.rvandoosselaer.blocks.protobuf
 
create(String, String) - Static method in class com.rvandoosselaer.blocks.Block
Creates a cube shape, non transparent, solid block using a single image.
create(String, String, boolean) - Static method in class com.rvandoosselaer.blocks.Block
Creates a cube shape, non transparent, solid block.
createAndSetNodeAndCollisionMesh(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkMeshGenerator
Create the node and the collision mesh for the chunk.
createAndSetNodeAndCollisionMesh(Chunk) - Method in class com.rvandoosselaer.blocks.FacesMeshGenerator
 
createAt(Vec3i) - Static method in class com.rvandoosselaer.blocks.Chunk
 
createCollisionMesh(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkMeshGenerator
Create the collision mesh for the chunk.
createCollisionMesh(Chunk) - Method in class com.rvandoosselaer.blocks.FacesMeshGenerator
 
createCollisionMesh(ChunkMeshGenerator) - Method in class com.rvandoosselaer.blocks.Chunk
Creates and returns the collision mesh of the chunk with the given ChunkMeshGenerator.
createNode(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkMeshGenerator
Create the node for the chunk.
createNode(Chunk) - Method in class com.rvandoosselaer.blocks.FacesMeshGenerator
 
createNode(ChunkMeshGenerator) - Method in class com.rvandoosselaer.blocks.Chunk
Creates and returns the node of the chunk with the given ChunkMeshGenerator.
createPage(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkPager
 
createPage(Chunk) - Method in class com.rvandoosselaer.blocks.Pager
Creates and returns the page based on the passed chunk.
createPage(Chunk) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPager
 
createVertex(Vector3f, Vec3i, float) - Static method in interface com.rvandoosselaer.blocks.Shape
A helper method that offsets a vertex based on the location of the block in the chunk and the block scale.
Cube - Class in com.rvandoosselaer.blocks
A shape implementation for a cube.
Cube() - Constructor for class com.rvandoosselaer.blocks.Cube
 
CUBE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 

D

DEFAULT_BLOCK_MATERIAL - Static variable in class com.rvandoosselaer.blocks.TypeRegistry
 
detachPage(PhysicsRigidBody) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPager
 
detachPage(Node) - Method in class com.rvandoosselaer.blocks.ChunkPager
 
detachPage(T) - Method in class com.rvandoosselaer.blocks.Pager
Detach the page.
Direction - Enum in com.rvandoosselaer.blocks
An enum holding direction information in a right-handed coordinate system, just as OpenGL.
DIRT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
DIRT - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
DIRT_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
DIRT_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
DIRT_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 

E

equals(Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
evict(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkCache
 
evictAll() - Method in class com.rvandoosselaer.blocks.ChunkCache
 
EXTENSION - Static variable in class com.rvandoosselaer.blocks.FileRepository
 

F

FacesMeshGenerator - Class in com.rvandoosselaer.blocks
A chunk mesh generator that creates and combines a quad mesh for each of the visible faces of a block of the same type.
FacesMeshGenerator() - Constructor for class com.rvandoosselaer.blocks.FacesMeshGenerator
 
FAITHFUL_THEME - Static variable in class com.rvandoosselaer.blocks.TypeRegistry
 
FileRepository - Class in com.rvandoosselaer.blocks
A File repository implementation for loading and storing chunks using the Protocol Buffers method.
FileRepository() - Constructor for class com.rvandoosselaer.blocks.FileRepository
 
FlatTerrainGenerator - Class in com.rvandoosselaer.blocks
A ChunkGenerator implementation that creates a flat looking terrain at a given y value.
FlatTerrainGenerator(int, Block) - Constructor for class com.rvandoosselaer.blocks.FlatTerrainGenerator
 
fromVector(Vector3f) - Static method in enum com.rvandoosselaer.blocks.Direction
 
FRONT - com.rvandoosselaer.blocks.Direction
 

G

generate(Vec3i) - Method in interface com.rvandoosselaer.blocks.ChunkGenerator
Generates the chunk for the given chunk location.
generate(Vec3i) - Method in class com.rvandoosselaer.blocks.FlatTerrainGenerator
 
generateMesh() - Method in class com.rvandoosselaer.blocks.ChunkMesh
 
get(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkCache
 
get(Vec3i) - Method in interface com.rvandoosselaer.blocks.ChunkResolver
Return a Chunk optional.
get(String) - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
get(String) - Method in class com.rvandoosselaer.blocks.ShapeRegistry
 
get(String) - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
getAll() - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
getAll() - Method in class com.rvandoosselaer.blocks.ShapeRegistry
 
getAll() - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
getBlock(int, int, int) - Method in class com.rvandoosselaer.blocks.Chunk
Retrieve the block at the given block coordinate in this chunk.
getBlock(Vec3i) - Method in class com.rvandoosselaer.blocks.Chunk
Retrieve the block at the given block coordinate in this chunk.
getBlock(CollisionResult) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getBlock(Vector3f) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getBlockLocation(CollisionResult) - Static method in class com.rvandoosselaer.blocks.ChunkManager
 
getBlockLocation(Vector3f) - Static method in class com.rvandoosselaer.blocks.ChunkManager
 
getBlocks(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
getBlocks(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the block array
getBlocks(int) - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the block array
getBlocksBytes(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
getBlocksBytes(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the block array
getBlocksBytes(int) - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the block array
getBlocksCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
getBlocksCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the block array
getBlocksCount() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the block array
getBlocksList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
getBlocksList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the block array
getBlocksList() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the block array
getChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkCache
 
getChunk(Vec3i) - Method in interface com.rvandoosselaer.blocks.ChunkResolver
Deprecated.
getChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getChunkFilename(Chunk) - Static method in class com.rvandoosselaer.blocks.FileRepository
 
getChunkLocation(Vector3f) - Static method in class com.rvandoosselaer.blocks.ChunkManager
Calculate the location of the chunk that contains the given location.
getChunkPath(Chunk) - Method in class com.rvandoosselaer.blocks.FileRepository
 
getChunkResolver() - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getDefaultInstance() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getDefaultInstanceForType() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
getDefaultInstanceForType() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getDescriptor() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
getDescriptor() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getDescriptor() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos
 
getDescriptorForType() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
getInstance() - Static method in class com.rvandoosselaer.blocks.BlocksConfig
 
getLocation() - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
getLocation() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
getLocation(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
getLocation(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the location of the chunk, represented as an array of 3 integers.
getLocation(int) - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the location of the chunk, represented as an array of 3 integers.
getLocationCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
getLocationCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the location of the chunk, represented as an array of 3 integers.
getLocationCount() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the location of the chunk, represented as an array of 3 integers.
getLocationList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
getLocationList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the location of the chunk, represented as an array of 3 integers.
getLocationList() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the location of the chunk, represented as an array of 3 integers.
getNeighbour(Vec3i, Direction) - Method in class com.rvandoosselaer.blocks.Chunk
Returns the neighbouring block at the given direction.
getNeighbourBlock(CollisionResult) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getNeighbourBlock(Vector3f, Direction) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
getNeighbourBlockLocation(CollisionResult) - Static method in class com.rvandoosselaer.blocks.ChunkManager
 
getNeighbourBlockLocation(Vector3f, Direction) - Static method in class com.rvandoosselaer.blocks.ChunkManager
 
getPages() - Method in class com.rvandoosselaer.blocks.Pager
Calculates and returns the pages (chunks) in the grid, based on the gridSize and centerPageLocation in the grid.
getParserForType() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getPhysicsSpace() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
getSerializedSize() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getSize() - Method in class com.rvandoosselaer.blocks.ChunkCache
 
getSize(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
getSize(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the size of the chunk, represented as an array of 3 integers.
getSize(int) - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the size of the chunk, represented as an array of 3 integers.
getSizeCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
getSizeCount() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the size of the chunk, represented as an array of 3 integers.
getSizeCount() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the size of the chunk, represented as an array of 3 integers.
getSizeList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
getSizeList() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
the size of the chunk, represented as an array of 3 integers.
getSizeList() - Method in interface com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProtoOrBuilder
the size of the chunk, represented as an array of 3 integers.
getUnknownFields() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
getWorldLocation() - Method in class com.rvandoosselaer.blocks.Chunk
Calculates the world location of the chunk.
GRASS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRASS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
GRASS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRASS_SNOW - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRASS_SNOW - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
GRASS_SNOW_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRAVEL - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRAVEL - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
GRAVEL_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRAVEL_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
GRAVEL_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
gridLowerBounds - Variable in class com.rvandoosselaer.blocks.Pager
 
gridSize - Variable in class com.rvandoosselaer.blocks.Pager
 
gridUpperBounds - Variable in class com.rvandoosselaer.blocks.Pager
 

H

hashCode() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 

I

initialize() - Method in class com.rvandoosselaer.blocks.ChunkManager
 
initialize() - Method in class com.rvandoosselaer.blocks.Pager
 
initialize(Application) - Method in class com.rvandoosselaer.blocks.ChunkManagerState
 
initialize(Application) - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
initialize(Application) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
initialize(AssetManager) - Static method in class com.rvandoosselaer.blocks.BlocksConfig
 
internalGetFieldAccessorTable() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
internalGetFieldAccessorTable() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
isFaceVisible(Vec3i, Direction) - Method in class com.rvandoosselaer.blocks.Chunk
Checks if the face of the block is visible using the faceVisibleFunction and thus should be rendered.
isInitialized() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
isInitialized() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 

L

LEFT - com.rvandoosselaer.blocks.Direction
 
load(Vec3i) - Method in interface com.rvandoosselaer.blocks.ChunkRepository
Loads the chunk for the given chunk location.
load(Vec3i) - Method in class com.rvandoosselaer.blocks.FileRepository
 
location - Variable in class com.rvandoosselaer.blocks.Pager
 
LOCATION_FIELD_NUMBER - Static variable in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 

M

maintain() - Method in class com.rvandoosselaer.blocks.ChunkCache
By default, Caffeine does not perform cleanup and evict values "automatically" or instantly after a value expires.
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
mergeFrom(Message) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
mergeFrom(BlocksProtos.ChunkProto) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
MOSSY_COBBLESTONE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
MOSSY_COBBLESTONE_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_COBBLESTONE_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICK_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
MOSSY_STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
MOSSY_STONE_BRICKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 

N

newBuilder() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
newBuilder(BlocksProtos.ChunkProto) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
newBuilderForType() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
NONE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 

O

OAK_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
OAK_LOG_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_LOG_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
OAK_PLANKS_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_PLATE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
OAK_PLANKS_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
onChunkAvailable(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkManagerListener
 
onChunkUpdated(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkManagerListener
 
onDisable() - Method in class com.rvandoosselaer.blocks.ChunkManagerState
 
onDisable() - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
onDisable() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.ChunkManagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
onPageAttached(Vec3i, T) - Method in interface com.rvandoosselaer.blocks.PagerListener
 
onPageDetached(Vec3i, T) - Method in interface com.rvandoosselaer.blocks.PagerListener
 
onPageUpdated(Vec3i, T, T) - Method in interface com.rvandoosselaer.blocks.PagerListener
 
opposite() - Method in enum com.rvandoosselaer.blocks.Direction
 

P

Pager<T> - Class in com.rvandoosselaer.blocks
An abstract implementation of a 3D pager.
Pager() - Constructor for class com.rvandoosselaer.blocks.Pager
 
PagerListener<T> - Interface in com.rvandoosselaer.blocks
A listener that can be registered to the Pager.
pagerListeners - Variable in class com.rvandoosselaer.blocks.Pager
 
pagesToAttach - Variable in class com.rvandoosselaer.blocks.Pager
 
pagesToDetach - Variable in class com.rvandoosselaer.blocks.Pager
 
PALM_TREE_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
PALM_TREE_LOG_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_LOG_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
PALM_TREE_PLANKS_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_PLATE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
PALM_TREE_PLANKS_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
parseDelimitedFrom(InputStream) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(byte[]) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(ByteString) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(CodedInputStream) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(InputStream) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(ByteBuffer) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
parser() - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
PhysicsChunkPager - Class in com.rvandoosselaer.blocks
A pager implementation that attaches and detaches collision meshes to the given physicsSpace based on the location in the grid.
PhysicsChunkPager(ChunkManager) - Constructor for class com.rvandoosselaer.blocks.PhysicsChunkPager
 
PhysicsChunkPager(PhysicsSpace, ChunkManager) - Constructor for class com.rvandoosselaer.blocks.PhysicsChunkPager
 
PhysicsChunkPagerState - Class in com.rvandoosselaer.blocks
An AppState implementation that manages the lifecycle of a PhysicsChunkPager.
PhysicsChunkPagerState(PhysicsSpace, ChunkManager) - Constructor for class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
PLATE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
put(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkCache
 
Pyramid - Class in com.rvandoosselaer.blocks
A shape implementation for a pyramid.
Pyramid() - Constructor for class com.rvandoosselaer.blocks.Pyramid
 
PYRAMID - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 

R

register(Block) - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
register(String, Material) - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
register(String, String) - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
register(String, Block) - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
register(String, Shape) - Method in class com.rvandoosselaer.blocks.ShapeRegistry
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos
 
registerAllExtensions(ExtensionRegistryLite) - Static method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos
 
registerDefaultBlocks() - Method in class com.rvandoosselaer.blocks.BlockRegistry
 
registerDefaultMaterials() - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
registerDefaultShapes() - Method in class com.rvandoosselaer.blocks.ShapeRegistry
 
removeBlock(int, int, int) - Method in class com.rvandoosselaer.blocks.Chunk
Removes and returns the block at the given coordinate in this chunk.
removeBlock(Vec3i) - Method in class com.rvandoosselaer.blocks.Chunk
Removes and returns the block at the given coordinate in this chunk.
removeBlock(Vector3f) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
removeChunk(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkManager
Inform the ChunkManager that you no longer need access to the chunk and it can perform cleanup operations on it.
removeChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
removeListener(ChunkManagerListener) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
removeListener(PagerListener<T>) - Method in class com.rvandoosselaer.blocks.Pager
 
requestChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
requestChunkMeshUpdate(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
requestChunkMeshUpdate(Vec3i) - Method in class com.rvandoosselaer.blocks.ChunkManager
 
requestedPages - Variable in class com.rvandoosselaer.blocks.Pager
 
RIGHT - com.rvandoosselaer.blocks.Direction
 
ROCK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
ROCK_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROCK_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
ROUNDED_CUBE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
RoundedCube - Class in com.rvandoosselaer.blocks
A shape implementation for a rounded cube.
RoundedCube() - Constructor for class com.rvandoosselaer.blocks.RoundedCube
 

S

SAND - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SAND - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
SAND_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SAND_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SAND_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
save(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkRepository
Saves the chunk
save(Chunk) - Method in class com.rvandoosselaer.blocks.FileRepository
 
setBlocks(int, String) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the block array
setBlockScale(float) - Method in class com.rvandoosselaer.blocks.BlocksConfig
 
setChunkSize(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksConfig
 
setDefaultTheme(BlocksTheme) - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
setField(Descriptors.FieldDescriptor, Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
setGrid(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksConfig
 
setLocation(int, int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the location of the chunk, represented as an array of 3 integers.
setLocation(Vector3f) - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
setLocation(Vector3f) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
setPhysicsGrid(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksConfig
 
setPhysicsSpace(PhysicsSpace) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
setSize(int, int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
the size of the chunk, represented as an array of 3 integers.
setTheme(BlocksTheme) - Method in class com.rvandoosselaer.blocks.TypeRegistry
 
setUnknownFields(UnknownFieldSet) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
Shape - Interface in com.rvandoosselaer.blocks
The interface describing the shape of a Block element.
ShapeIds - Interface in com.rvandoosselaer.blocks
Contains all the keys of the shapes that are registered in the ShapeRegistry.
ShapeRegistry - Class in com.rvandoosselaer.blocks
A thread safe register for shapes.
ShapeRegistry() - Constructor for class com.rvandoosselaer.blocks.ShapeRegistry
 
SIZE_FIELD_NUMBER - Static variable in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
Slab - Class in com.rvandoosselaer.blocks
A shape implementation for a slab.
Slab(float, float) - Constructor for class com.rvandoosselaer.blocks.Slab
 
SLAB - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
SNOW - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SNOW - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
SNOW_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SNOW_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SNOW_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
SPRUCE_LOG_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_LOG_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
SPRUCE_PLANKS_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_PLATE - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
SPRUCE_PLANKS_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
Stair - Class in com.rvandoosselaer.blocks
A shape implementation for a stair.
Stair() - Constructor for class com.rvandoosselaer.blocks.Stair
 
STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
STONE_BRICK_DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_PYRAMID - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_SLAB - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_STAIRS_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_STAIRS_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_STAIRS_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_STAIRS_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICK_WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
STONE_BRICKS_ROUNDED - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 

T

toBuilder() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
toLocalLocation(Vec3i) - Method in class com.rvandoosselaer.blocks.Chunk
Calculates the local coordinate of the block inside this chunk, based on the world location of the block.
TOP - com.rvandoosselaer.blocks.Direction
 
TypeIds - Interface in com.rvandoosselaer.blocks
Contains all the keys of the types that are registered in the TypeRegistry.
TypeRegistry - Class in com.rvandoosselaer.blocks
A thread safe register for block types.
TypeRegistry(AssetManager) - Constructor for class com.rvandoosselaer.blocks.TypeRegistry
 
TypeRegistry(AssetManager, BlocksTheme) - Constructor for class com.rvandoosselaer.blocks.TypeRegistry
 

U

update() - Method in class com.rvandoosselaer.blocks.Chunk
Updates the #isEmpty() and #isFull() values.
update() - Method in class com.rvandoosselaer.blocks.ChunkManager
 
update() - Method in class com.rvandoosselaer.blocks.Pager
 
update(float) - Method in class com.rvandoosselaer.blocks.ChunkManagerState
 
update(float) - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
update(float) - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
updatedPages - Variable in class com.rvandoosselaer.blocks.Pager
 
updateQueues() - Method in class com.rvandoosselaer.blocks.Pager
Updates the queues of the Pager.
usingTheme() - Method in class com.rvandoosselaer.blocks.TypeRegistry
 

V

valueOf(String) - Static method in enum com.rvandoosselaer.blocks.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.rvandoosselaer.blocks.Direction
Returns an array containing the constants of this enum type, in the order they are declared.

W

WATER - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
WATER - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
WATER_MATERIAL - Static variable in class com.rvandoosselaer.blocks.TypeRegistry
 
WATER_STILL - Static variable in interface com.rvandoosselaer.blocks.BlockIds
 
WATER_STILL - Static variable in interface com.rvandoosselaer.blocks.TypeIds
 
WATER_STILL_MATERIAL - Static variable in class com.rvandoosselaer.blocks.TypeRegistry
 
Wedge - Class in com.rvandoosselaer.blocks
A shape implementation for a wedge.
Wedge() - Constructor for class com.rvandoosselaer.blocks.Wedge
 
WEDGE_BACK - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
 
writeTo(CodedOutputStream) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages