Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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.shapes.Cube
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Cylinder
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Pole
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Pyramid
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.RoundedCube
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Square
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.SquareCuboid
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.Stairs
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.StairsInnerCorner
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.StairsOuterCorner
- add(Vec3i, Chunk, ChunkMesh) - Method in class com.rvandoosselaer.blocks.shapes.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
- addFluidGeometry(Geometry) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- addShape(String) - Method in class com.rvandoosselaer.blocks.serialize.BlockDefinition
- addShapes(String...) - Method in class com.rvandoosselaer.blocks.serialize.BlockDefinition
- addSize(int) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
-
the size of the chunk, represented as an array of 3 integers.
- ALL_CUBES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_CYLINDERS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_DOUBLE_SLABS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_PLATES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_POLES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_PYRAMIDS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_ROUNDED_CUBES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_SLABS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_SQUARES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_STAIRS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ALL_WEDGES - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- 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
- BIRCH_LEAVES - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- BIRCH_LEAVES - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- BIRCH_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- BIRCH_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- BIRCH_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- BIRCH_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- Block - Class in com.rvandoosselaer.blocks
-
The basic building block of the Blocks framework.
- Block() - Constructor for class com.rvandoosselaer.blocks.Block
- BlockDefinition - Class in com.rvandoosselaer.blocks.serialize
-
A POJO describing the parameters for creating a collection of blocks.
- BlockDefinition() - Constructor for class com.rvandoosselaer.blocks.serialize.BlockDefinition
- BlockDTO - Class in com.rvandoosselaer.blocks.serialize
-
A POJO for deserializing a block from file.
- BlockDTO() - Constructor for class com.rvandoosselaer.blocks.serialize.BlockDTO
- BlockFactory - Class in com.rvandoosselaer.blocks.serialize
-
A factory class that produces blocks from a BlockDefinition.
- BlockFactory() - Constructor for class com.rvandoosselaer.blocks.serialize.BlockFactory
- BlockIds - Interface in com.rvandoosselaer.blocks
-
Contains all the keys of the default cube shape 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
-
Will register default blocks
- BlockRegistry(boolean) - 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
- BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- 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. - Chunk(Vec3i) - Constructor for class com.rvandoosselaer.blocks.Chunk
- 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.
- 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
- cleanUpFilter(Renderer) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- clearFluidGeometries() - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- com.rvandoosselaer.blocks - package com.rvandoosselaer.blocks
- com.rvandoosselaer.blocks.filters - package com.rvandoosselaer.blocks.filters
- com.rvandoosselaer.blocks.protobuf - package com.rvandoosselaer.blocks.protobuf
- com.rvandoosselaer.blocks.serialize - package com.rvandoosselaer.blocks.serialize
- com.rvandoosselaer.blocks.shapes - package com.rvandoosselaer.blocks.shapes
- combineTextures(Texture, Texture, Texture) - Static method in class com.rvandoosselaer.blocks.TypeRegistry
- containsLocation(Vec3i) - Method in class com.rvandoosselaer.blocks.Chunk
-
checks if the block location in the world is part of this chunk.
- create(BlockDefinition) - Static method in class com.rvandoosselaer.blocks.serialize.BlockFactory
- create(Collection<BlockDefinition>) - Static method in class com.rvandoosselaer.blocks.serialize.BlockFactory
- create(InputStream) - Static method in class com.rvandoosselaer.blocks.serialize.BlockFactory
- 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
. - createDown(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- createEast(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- createFrom(BlockDTO) - Static method in class com.rvandoosselaer.blocks.Block
- 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
. - createNorth(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- 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
- createSouth(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- createUp(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- 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.
- createWest(Vec3i, Quaternion, ChunkMesh, float, boolean) - Method in class com.rvandoosselaer.blocks.shapes.Slab
- Cube - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a cube.
- Cube() - Constructor for class com.rvandoosselaer.blocks.shapes.Cube
- CUBE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CUBE_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CUBE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CUBE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CUBE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CUBE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- Cylinder - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a cylinder.
- Cylinder() - Constructor for class com.rvandoosselaer.blocks.shapes.Cylinder
- Cylinder(float) - Constructor for class com.rvandoosselaer.blocks.shapes.Cylinder
- Cylinder(Direction, float) - Constructor for class com.rvandoosselaer.blocks.shapes.Cylinder
- Cylinder(Direction, float, float, int) - Constructor for class com.rvandoosselaer.blocks.shapes.Cylinder
- CYLINDER_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CYLINDER_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CYLINDER_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CYLINDER_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CYLINDER_UP - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- CYLINDER_WEST - 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 - Variable in class com.rvandoosselaer.blocks.shapes.Slab
- Direction - Enum Class in com.rvandoosselaer.blocks
-
An enum holding direction information in a right-handed coordinate system, just as OpenGL.
- DIRECTIONS_SIZE - Static variable in interface com.rvandoosselaer.blocks.Shape
- DIRT - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- DIRT - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- DOUBLE_SLAB - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOUBLE_SLAB_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOUBLE_SLAB_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOUBLE_SLAB_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOUBLE_SLAB_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOUBLE_SLAB_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- DOWN - Enum constant in enum class com.rvandoosselaer.blocks.Direction
E
- EAST - Enum constant in enum class com.rvandoosselaer.blocks.Direction
- endY - Variable in class com.rvandoosselaer.blocks.shapes.Slab
- 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
- FACES_DIR - Static variable in interface com.rvandoosselaer.blocks.Shape
- 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
- FluidFilter - Class in com.rvandoosselaer.blocks.filters
- FluidFilter() - Constructor for class com.rvandoosselaer.blocks.filters.FluidFilter
- fromVector(Vector3f) - Static method in enum class 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
- getBlockCenterLocation(Vec3i) - Static method in class com.rvandoosselaer.blocks.ChunkManager
-
Calculate the center location of a block.
- 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.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
- getFaceDirection(Direction, Direction) - Static method in interface com.rvandoosselaer.blocks.Shape
-
Calculates the new direction of a face, based on the rotation of the shape.
- 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.
- getMaterial() - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- getName() - Method in class com.rvandoosselaer.blocks.serialize.BlockDTO
- getName(String, String) - Static method in interface com.rvandoosselaer.blocks.BlockIds
- 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
- getRotationFromDirection(Direction) - Static method in interface com.rvandoosselaer.blocks.Shape
-
A helper method to calculate the rotation of the shape from the given direction.
- 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.
- getYawFaceDirection(Direction, Direction) - Static method in interface com.rvandoosselaer.blocks.Shape
-
Calculates the new yaw direction (rotation around the y-axis) of a face, based on the yaw rotation of the shape.
- getYawFromDirection(Direction) - Static method in interface com.rvandoosselaer.blocks.Shape
-
A helper method to calculate the yaw rotation (rotation around the y-axis) of the shape for the given direction.
- GRASS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- GRASS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- GRASS_SNOW - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- GRASS_SNOW - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- GRAVEL - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- GRAVEL - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- 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
- initFilter(AssetManager, RenderManager, ViewPort, int, int) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- initialize(AssetManager, boolean) - 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
- isRequiresBilinear() - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- isRequiresDepthTexture() - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- isRequiresSceneTexture() - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
L
- 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
- load(InputStream) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- load(String) - 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.
- map(float, float, float, float, float) - Static method in class com.rvandoosselaer.blocks.shapes.Pole
-
Function that scales an input value in a given range to a given output range.
- 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_STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- MOSSY_STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
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
- NORTH - Enum constant in enum class com.rvandoosselaer.blocks.Direction
O
- OAK_LEAVES - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- OAK_LEAVES - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- OAK_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- OAK_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- OAK_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- OAK_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- 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 class 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_LEAVES - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- PALM_TREE_LEAVES - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- PALM_TREE_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- PALM_TREE_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- PALM_TREE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- PALM_TREE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- 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
- PLATE_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PLATE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PLATE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PLATE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PLATE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- Pole - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a pole.
- Pole() - Constructor for class com.rvandoosselaer.blocks.shapes.Pole
- Pole(Direction, float) - Constructor for class com.rvandoosselaer.blocks.shapes.Pole
- POLE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- POLE_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- POLE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- POLE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- POLE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- POLE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- postQueue(RenderQueue) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- preFrame(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- put(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkCache
- Pyramid - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a pyramid.
- Pyramid() - Constructor for class com.rvandoosselaer.blocks.shapes.Pyramid
- PYRAMID - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PYRAMID_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PYRAMID_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PYRAMID_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PYRAMID_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- PYRAMID_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
R
- register(Block) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- register(Block...) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- register(String) - Method in class com.rvandoosselaer.blocks.TypeRegistry
- register(String, Material) - 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
- register(Collection<Block>) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- 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
- remove(Block) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- remove(String) - Method in class com.rvandoosselaer.blocks.BlockRegistry
- remove(String) - Method in class com.rvandoosselaer.blocks.ShapeRegistry
- remove(String) - Method in class com.rvandoosselaer.blocks.TypeRegistry
- 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
- ROCK - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- ROCK - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- ROTATION_DOWN - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROTATION_EAST - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROTATION_NORTH - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROTATION_SOUTH - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROTATION_UP - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROTATION_WEST - Static variable in interface com.rvandoosselaer.blocks.Shape
- ROUNDED_CUBE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ROUNDED_CUBE_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ROUNDED_CUBE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ROUNDED_CUBE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ROUNDED_CUBE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- ROUNDED_CUBE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- RoundedCube - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a rounded cube.
- RoundedCube() - Constructor for class com.rvandoosselaer.blocks.shapes.RoundedCube
S
- SAND - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- SAND - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- save(Chunk) - Method in interface com.rvandoosselaer.blocks.ChunkRepository
-
Saves the chunk
- save(Chunk) - Method in class com.rvandoosselaer.blocks.FileRepository
- save(Chunk, String) - 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
- setChunk(Chunk) - Method in class com.rvandoosselaer.blocks.ChunkManager
- setChunkSize(Vec3i) - Method in class com.rvandoosselaer.blocks.BlocksConfig
- setDefaultTheme(BlocksTheme) - Method in class com.rvandoosselaer.blocks.TypeRegistry
- setDistortion(boolean) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setDistortionAmplitudeX(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setDistortionAmplitudeY(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setDistortionSpeed(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setDistortionStrengthX(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setDistortionStrengthY(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setEnableFading(boolean) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setFadeColor(ColorRGBA) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setFadeDepth(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- setReflectionMapSize(int) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setReflectionScene(Spatial) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setReflectionStrength(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto.Builder
- setShorelineColor(ColorRGBA) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setShorelineSize(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
- setUseBlendOverlay(boolean) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- setWaterHeight(float) - Method in class com.rvandoosselaer.blocks.filters.FluidFilter
- 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
-
Will register default shapes
- ShapeRegistry(boolean) - 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.shapes
-
A shape implementation for a slab.
- Slab(float, float) - Constructor for class com.rvandoosselaer.blocks.shapes.Slab
- Slab(float, float, Direction) - Constructor for class com.rvandoosselaer.blocks.shapes.Slab
- SLAB - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SLAB_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SLAB_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SLAB_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SLAB_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SLAB_WEST - 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
- SOUTH - Enum constant in enum class com.rvandoosselaer.blocks.Direction
- SPRUCE_LEAVES - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- SPRUCE_LEAVES - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- SPRUCE_LOG - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- SPRUCE_LOG - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- SPRUCE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- SPRUCE_PLANKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- Square - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a square plane in a given direction.
- Square() - Constructor for class com.rvandoosselaer.blocks.shapes.Square
- SQUARE - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SQUARE_CUBOID_NINE_TENTHS - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
-
This is a special shape.
- SQUARE_DOWN - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SQUARE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SQUARE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SQUARE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SQUARE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- SquareCuboid - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a square cuboid.
- SquareCuboid(float, float) - Constructor for class com.rvandoosselaer.blocks.shapes.SquareCuboid
- Stairs - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a stair.
- Stairs() - Constructor for class com.rvandoosselaer.blocks.shapes.Stairs
- STAIRS_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INNER_CORNER_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INNER_CORNER_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INNER_CORNER_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INNER_CORNER_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_INNER_CORNER_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_INNER_CORNER_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_INNER_CORNER_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_INNER_CORNER_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_OUTER_CORNER_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_OUTER_CORNER_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_OUTER_CORNER_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_OUTER_CORNER_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_INVERTED_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_OUTER_CORNER_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_OUTER_CORNER_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_OUTER_CORNER_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_OUTER_CORNER_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- STAIRS_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- StairsInnerCorner - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for an inner corner stair.
- StairsInnerCorner() - Constructor for class com.rvandoosselaer.blocks.shapes.StairsInnerCorner
- StairsOuterCorner - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for an inner corner stair.
- StairsOuterCorner() - Constructor for class com.rvandoosselaer.blocks.shapes.StairsOuterCorner
- startY - Variable in class com.rvandoosselaer.blocks.shapes.Slab
- STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- STONE_BRICKS - Static variable in interface com.rvandoosselaer.blocks.TypeIds
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.
- 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
-
Will register default materials
- TypeRegistry(AssetManager, BlocksTheme) - Constructor for class com.rvandoosselaer.blocks.TypeRegistry
-
Will register default materials
- TypeRegistry(AssetManager, BlocksTheme, boolean) - Constructor for class com.rvandoosselaer.blocks.TypeRegistry
U
- UP - Enum constant in enum class com.rvandoosselaer.blocks.Direction
- 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 class com.rvandoosselaer.blocks.Direction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.rvandoosselaer.blocks.Direction
-
Returns an array containing the constants of this enum class, 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_STILL - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- WATER_STILL - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- Wedge - Class in com.rvandoosselaer.blocks.shapes
-
A shape implementation for a wedge.
- Wedge() - Constructor for class com.rvandoosselaer.blocks.shapes.Wedge
- WEDGE_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_INVERTED_EAST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_INVERTED_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_INVERTED_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_INVERTED_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_NORTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_SOUTH - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEDGE_WEST - Static variable in interface com.rvandoosselaer.blocks.ShapeIds
- WEST - Enum constant in enum class com.rvandoosselaer.blocks.Direction
- WINDOW - Static variable in interface com.rvandoosselaer.blocks.BlockIds
- WINDOW - Static variable in interface com.rvandoosselaer.blocks.TypeIds
- writeTo(CodedOutputStream) - Method in class com.rvandoosselaer.blocks.protobuf.BlocksProtos.ChunkProto
Y
- YAW_EAST - Static variable in interface com.rvandoosselaer.blocks.Shape
- YAW_NORTH - Static variable in interface com.rvandoosselaer.blocks.Shape
- YAW_UP - Static variable in interface com.rvandoosselaer.blocks.Shape
- YAW_WEST - Static variable in interface com.rvandoosselaer.blocks.Shape
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form