Package net.minestom.server.utils.chunk
Class ChunkCache
java.lang.Object
net.minestom.server.utils.chunk.ChunkCache
- All Implemented Interfaces:
Block.Getter
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.instance.block.Block.Getter
Block.Getter.Condition -
Constructor Summary
ConstructorsConstructorDescriptionChunkCache(Instance instance, Chunk chunk) ChunkCache(Instance instance, Chunk chunk, Block defaultBlock) -
Method Summary
Modifier and TypeMethodDescription@UnknownNullability BlockgetBlock(int x, int y, int z, @NotNull Block.Getter.Condition condition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minestom.server.instance.block.Block.Getter
getBlock, getBlock, getBlock
-
Constructor Details
-
ChunkCache
-
ChunkCache
-
-
Method Details
-
getBlock
public @UnknownNullability Block getBlock(int x, int y, int z, @NotNull @NotNull Block.Getter.Condition condition) - Specified by:
getBlockin interfaceBlock.Getter
-