net.minestom.server.snapshot.ChunkSnapshot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minestom-snapshots Show documentation
Show all versions of minestom-snapshots Show documentation
1.20.4 Lightweight Minecraft server
package net.minestom.server.snapshot;
import net.minestom.server.instance.block.Block;
import net.minestom.server.tag.TagReadable;
import net.minestom.server.world.biome.Biome;
import org.jetbrains.annotations.NotNull;
import java.util.Collection;
public sealed interface ChunkSnapshot extends Snapshot, Block.Getter, Biome.Getter, TagReadable
permits SnapshotImpl.Chunk {
int chunkX();
int chunkZ();
@NotNull InstanceSnapshot instance();
@NotNull Collection<@NotNull EntitySnapshot> entities();
}