Class Heightmap

java.lang.Object
net.minecraft.world.Heightmap

public class Heightmap
extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • populateHeightmaps

      public static void populateHeightmaps​(Chunk chunk, Set<Heightmap.Type> types)
    • trackUpdate

      public boolean trackUpdate​(int x, int y, int z, BlockState state)
    • get

      public int get​(int x, int z)
    • get

      private int get​(int index)
    • set

      private void set​(int x, int z, int height)
    • setTo

      public void setTo​(long[] heightmap)
    • asLongArray

      public long[] asLongArray()
    • toIndex

      private static int toIndex​(int x, int z)