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 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.BlocksManager
Place a block at the given world location.
addBlock(Vec3i, Block) - Method in class com.rvandoosselaer.blocks.Chunk
Add a block to this chunk.
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
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
 
Block - Class in com.rvandoosselaer.blocks
The basic building block of the Blocks framework.
Block() - Constructor for class com.rvandoosselaer.blocks.Block
 
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.
blocksManager - Variable in class com.rvandoosselaer.blocks.Pager
 
BlocksManager - Class in com.rvandoosselaer.blocks
Manages the loading, generating and mesh construction of chunk objects in a thread safe way.
BlocksManager() - Constructor for class com.rvandoosselaer.blocks.BlocksManager
 
BlocksManager(int) - Constructor for class com.rvandoosselaer.blocks.BlocksManager
 
BlocksManagerListener - Interface in com.rvandoosselaer.blocks
A listener for the BlocksManager that gets called when a chunk is available to be retrieved from the BlocksManagers cache.
BlocksManagerState - Class in com.rvandoosselaer.blocks
An AppState implementation to manage the lifecycle of a BlocksManager.
BlocksManagerState() - Constructor for class com.rvandoosselaer.blocks.BlocksManagerState
 
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
 
build() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 
buildPartial() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
 

C

centerPageLocation - Variable in class com.rvandoosselaer.blocks.Pager
 
Chunk - Class in com.rvandoosselaer.blocks
A chunk holds an array of Block elements.
ChunkGenerator - Interface in com.rvandoosselaer.blocks
The contract of a ChunkGenerator implementation.
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, BlocksManager) - 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, BlocksManager) - Constructor for class com.rvandoosselaer.blocks.ChunkPagerState
 
ChunkRepository - Interface in com.rvandoosselaer.blocks
The contract of a ChunkRepository implementation.
clean() - Method in class com.rvandoosselaer.blocks.Chunk
 
cleanup() - Method in class com.rvandoosselaer.blocks.BlocksManager
 
cleanup() - Method in class com.rvandoosselaer.blocks.Pager
 
cleanup(Application) - Method in class com.rvandoosselaer.blocks.BlocksManagerState
 
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
 
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.Shape
 

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 class com.rvandoosselaer.blocks.Block
 
DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.Shape
 

E

EMPTY - Static variable in class com.rvandoosselaer.blocks.Block
 
equals(Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
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
 
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(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.
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.BlocksManager
Retrieves the chunk at the location from the cache.
getChunkFilename(Chunk) - Static method in class com.rvandoosselaer.blocks.FileRepository
 
getChunkLocation(Vector3f) - Static method in class com.rvandoosselaer.blocks.BlocksManager
Calculate the location of the chunk that contains the passed world location.
getChunkPath(Chunk) - Method in class com.rvandoosselaer.blocks.FileRepository
 
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.
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
 
getPickedBlockLocation(Vector3f, Vector3f, boolean) - Static method in class com.rvandoosselaer.blocks.BlocksManager
Calculate the picked block location based on the contact point and contact normals of a contact collision.
getSerializedSize() - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
 
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 class com.rvandoosselaer.blocks.Block
 
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

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

I

initialize() - Method in class com.rvandoosselaer.blocks.BlocksManager
 
initialize() - Method in class com.rvandoosselaer.blocks.Pager
 
initialize(Application) - Method in class com.rvandoosselaer.blocks.BlocksManagerState
 
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
 
invalidateChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksManager
Discards the chunk associated with the location from the cache.
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

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
 

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
 

O

OAK - Static variable in class com.rvandoosselaer.blocks.Block
 
onChunkAvailable(Chunk) - Method in interface com.rvandoosselaer.blocks.BlocksManagerListener
Called when the chunk is available and the node and collision mesh are created.
onChunkAvailable(Chunk) - Method in class com.rvandoosselaer.blocks.Pager
 
onDisable() - Method in class com.rvandoosselaer.blocks.BlocksManagerState
 
onDisable() - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
onDisable() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.BlocksManagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.ChunkPagerState
 
onEnable() - Method in class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 

P

Pager<T> - Class in com.rvandoosselaer.blocks
An abstract implementation of a 3D pager.
Pager() - Constructor for class com.rvandoosselaer.blocks.Pager
 
pagesToAttach - Variable in class com.rvandoosselaer.blocks.Pager
 
pagesToDetach - Variable in class com.rvandoosselaer.blocks.Pager
 
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(BlocksManager) - Constructor for class com.rvandoosselaer.blocks.PhysicsChunkPager
 
PhysicsChunkPager(PhysicsSpace, BlocksManager) - 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, BlocksManager) - Constructor for class com.rvandoosselaer.blocks.PhysicsChunkPagerState
 
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.Shape
 

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
 
registerListener(BlocksManagerListener) - Method in class com.rvandoosselaer.blocks.BlocksManager
Add a listener to the list of listeners that gets notified.
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.BlocksManager
Removes and returns the block at the given world location.
removeBlock(Vec3i) - Method in class com.rvandoosselaer.blocks.Chunk
Removes and returns the block at the given coordinate in this chunk.
removeListener(BlocksManagerListener) - Method in class com.rvandoosselaer.blocks.BlocksManager
Remove a listener from the list of listeners that gets notified.
requestChunk(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksManager
Request the chunk to be loaded into the cache.
requestedPages - Variable in class com.rvandoosselaer.blocks.Pager
 
RIGHT - com.rvandoosselaer.blocks.Direction
 

S

SAND - Static variable in class com.rvandoosselaer.blocks.Block
 
save(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkRepository
Saves the chunk
save(Chunk) - Method in class com.rvandoosselaer.blocks.FileRepository
 
saveChunks() - Method in class com.rvandoosselaer.blocks.BlocksManager
Store all chunks that have changed data using the ChunkRepository
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
 
setGridSize(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
 
setPhysicsGridSize(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.
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.Shape
 
Stair - Class in com.rvandoosselaer.blocks
A shape implementation for a stair.
Stair() - Constructor for class com.rvandoosselaer.blocks.Stair
 
STAIR_BACK - Static variable in interface com.rvandoosselaer.blocks.Shape
 
STAIR_FRONT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
STAIR_LEFT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
STAIR_RIGHT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
STONE - Static variable in class com.rvandoosselaer.blocks.Block
 
STONEBRICK - Static variable in class com.rvandoosselaer.blocks.Block
 

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
 
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.BlocksManager
 
update() - Method in class com.rvandoosselaer.blocks.Chunk
Updates the #isEmpty() and #isFull() values.
update() - Method in class com.rvandoosselaer.blocks.Pager
 
update(float) - Method in class com.rvandoosselaer.blocks.BlocksManagerState
 
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 class com.rvandoosselaer.blocks.Block
 
WATER_MATERIAL - Static variable in class com.rvandoosselaer.blocks.TypeRegistry
 
WATER_STILL - Static variable in class com.rvandoosselaer.blocks.Block
 
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.Shape
 
WEDGE_FRONT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
WEDGE_LEFT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
WEDGE_RIGHT - Static variable in interface com.rvandoosselaer.blocks.Shape
 
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