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 ChunkSnapshot
chunk
(int chunkX, int chunkZ) default @Nullable ChunkSnapshot
@NotNull Collection
<@NotNull ChunkSnapshot> chunks()
@NotNull Collection
<@NotNull EntitySnapshot> entities()
default DynamicRegistry.Key
<Biome> getBiome
(int x, int y, int z) default @UnknownNullability Block
getBlock
(int x, int y, int z, @NotNull Block.Getter.Condition condition) @NotNull ServerSnapshot
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
-
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:
getBlock
in interfaceBlock.Getter
-
getBiome
- Specified by:
getBiome
in interfaceBiome.Getter
-
chunk
-
chunkAt
-
chunks
-
entities
-
server
-