Interface Block.Getter
- All Known Subinterfaces:
ChunkSnapshot
,InstanceSnapshot
- All Known Implementing Classes:
Chunk
,ChunkCache
,DynamicChunk
,Instance
,InstanceContainer
,LightingChunk
,SharedInstance
,SnapshotImpl.Chunk
,SnapshotImpl.Instance
- Enclosing interface:
Block
public static interface Block.Getter
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Represents a hint to retrieve blocks more efficiently. -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull Block
getBlock
(int x, int y, int z) @UnknownNullability Block
getBlock
(int x, int y, int z, @NotNull Block.Getter.Condition condition) default @NotNull Block
default @UnknownNullability Block
getBlock
(@NotNull Point point, @NotNull Block.Getter.Condition condition)
-
Method Details
-
getBlock
@UnknownNullability Block getBlock(int x, int y, int z, @NotNull @NotNull Block.Getter.Condition condition) -
getBlock
default @UnknownNullability Block getBlock(@NotNull @NotNull Point point, @NotNull @NotNull Block.Getter.Condition condition) -
getBlock
-
getBlock
-