Interface InstanceSnapshot
- All Superinterfaces:
Biome.Getter, Block.Getter, Snapshot, TagReadable
- All Known Implementing Classes:
SnapshotImpl.Instance
public sealed interface InstanceSnapshot
extends Snapshot, Block.Getter, Biome.Getter, TagReadable
permits SnapshotImpl.Instance
-
Nested Class Summary
Nested classes/interfaces inherited from interface Block.Getter
Block.Getter.Condition -
Method Summary
Modifier and TypeMethodDescriptionchunk(int chunkX, int chunkZ) default @Nullable ChunkSnapshotchunks()entities()default RegistryKey<Biome> getBiome(int x, int y, int z) default @UnknownNullability BlockgetBlock(int x, int y, int z, Block.Getter.Condition condition) server()longtime()longworldAge()Methods inherited from interface Biome.Getter
getBiomeMethods inherited from interface Block.Getter
getBlock, getBlock, getBlockMethods inherited from interface TagReadable
getTag, hasTag
-
Method Details
-
dimensionType
RegistryKey<DimensionType> dimensionType() -
worldAge
long worldAge() -
time
long time() -
getBlock
- Specified by:
getBlockin interfaceBlock.Getter
-
getBiome
- Specified by:
getBiomein interfaceBiome.Getter
-
chunk
-
chunkAt
-
chunks
Collection<ChunkSnapshot> chunks() -
entities
Collection<EntitySnapshot> entities() -
server
ServerSnapshot server()
-