Package net.minestom.server.snapshot
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 net.minestom.server.instance.block.Block.Getter
Block.Getter.Condition -
Method Summary
Modifier and TypeMethodDescription@Nullable ChunkSnapshotchunk(int chunkX, int chunkZ) default @Nullable ChunkSnapshot@NotNull Collection<@NotNull ChunkSnapshot> chunks()@NotNull DimensionType@NotNull Collection<@NotNull EntitySnapshot> entities()default @NotNull BiomegetBiome(int x, int y, int z) default @UnknownNullability BlockgetBlock(int x, int y, int z, @NotNull Block.Getter.Condition condition) @NotNull ServerSnapshotserver()longtime()longworldAge()Methods inherited from interface net.minestom.server.world.biomes.Biome.Getter
getBiomeMethods inherited from interface net.minestom.server.instance.block.Block.Getter
getBlock, getBlock, getBlockMethods inherited from interface net.minestom.server.tag.TagReadable
getTag, hasTag
-
Method Details
-
dimensionType
-
worldAge
long worldAge() -
time
long time() -
getBlock
default @UnknownNullability Block getBlock(int x, int y, int z, @NotNull @NotNull Block.Getter.Condition condition) - Specified by:
getBlockin interfaceBlock.Getter
-
getBiome
- Specified by:
getBiomein interfaceBiome.Getter
-
chunk
-
chunkAt
-
chunks
-
entities
-
server
-