Snapshot Chunk Data
A read-only view of the chunk being sent to a player, passed to biome conditionals so they can inspect the real biome and block data before a phony biome is applied. Values are computed lazily and cached, so a conditional only pays for what it reads.
location(): The chunk this data belongs to.centerBiome(): The source biome at the chunk’s center sample.biomeAt(int, int, int): The source biome at chunk-relative block coordinates.yis relative to the bottom of the chunk column, not world Y.bukkitSnapshot(): The full BukkitChunkSnapshot, if one is available — empty for the packet-backed implementation. PrefercenterBiome()orbiomeAt(...)instead.