API reference Obsidian.API.ChunkData
IChunkSection interface
public interface IChunkSection
In Obsidian.API.
Properties
DataContainer<BiomeCodec> BiomeContainer { get; }ReadOnlyMemory<byte> BlockLightArray { get; }DataContainer<IBlock> BlockStateContainer { get; }bool HasBlockLight { get; }bool HasSkyLight { get; }bool IsEmpty { get; }ReadOnlyMemory<byte> SkyLightArray { get; }int? YBase { get; }Methods
IChunkSection Clone();void FillSkyLight();BiomeCodec GetBiome(int x, int y, int z);BiomeCodec GetBiome(Vector position);IBlock GetBlock(int x, int y, int z);IBlock GetBlock(Vector position);int GetLightLevel(int x, int y, int z, LightType lt);int GetLightLevel(Vector position, LightType lt);void SetBiome(int x, int y, int z, BiomeCodec biome);void SetBiome(Vector position, BiomeCodec biome);void SetBlock(int x, int y, int z, IBlock block);void SetBlock(Vector position, IBlock block);void SetLight(byte[] data, LightType lt);void SetLightLevel(int x, int y, int z, LightType lt, int level);void SetLightLevel(Vector position, LightType lt, int level);