Heightmap class
public sealed class Heightmap
In Obsidian.API.
Constructors
public Heightmap(HeightmapType type, IChunk chunk);Properties
public HeightmapType HeightmapType { get; }Methods
public Heightmap Clone();public Heightmap Clone(IChunk chunk);GetDataArray()
public long[] GetDataArray();A copy of the packed heights, as chunk packets send them. Change heights with Heightmap.Set.
public int GetHeight(int x, int z);public void Set(int x, int z, int value);public bool Update(int x, int y, int z, IBlock blockState);Fields
public Predicate<IBlock> Predicate;