- 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 net.minestom.server.instance.block.Block.Getter
Block.Getter.Condition
-
Method Summary
Modifier and TypeMethodDescription@Nullable ChunkSnapshot
chunk
(int chunkX, int chunkZ) default @Nullable ChunkSnapshot
chunks()
entities()
default RegistryKey
<Biome> getBiome
(int x, int y, int z) default @UnknownNullability Block
getBlock
(int x, int y, int z, Block.Getter.Condition condition) server()
long
time()
long
worldAge()
Methods inherited from interface net.minestom.server.world.biome.Biome.Getter
getBiome
Methods inherited from interface net.minestom.server.instance.block.Block.Getter
getBlock, getBlock, getBlock
Methods inherited from interface net.minestom.server.tag.TagReadable
getTag, hasTag
-
Method Details
-
dimensionType
RegistryKey<DimensionType> dimensionType() -
worldAge
long worldAge() -
time
long time() -
getBlock
- Specified by:
getBlock
in interfaceBlock.Getter
-
getBiome
- Specified by:
getBiome
in interfaceBiome.Getter
-
chunk
-
chunkAt
-
chunks
Collection<ChunkSnapshot> chunks() -
entities
Collection<EntitySnapshot> entities() -
server
ServerSnapshot server()
-