Class Heightmap

java.lang.Object
net.pl3x.map.core.Keyed
net.pl3x.map.core.renderer.heightmap.Heightmap
Direct Known Subclasses:
EvenOddHeightmap, EvenOddHighContrastHeightmap, EvenOddLowContrastHeightmap, EvenOddModernHeightmap, EvenOddOldSchoolHeightmap, EvenOddVanillaHeightmap, HighContrastHeightmap, LowContrastHeightmap, ModernHeightmap, NoneHeightmap, OldSchoolHeightmap, VanillaHeightmap

public abstract class Heightmap extends Keyed
  • Field Details

    • x

      public final int[] x
    • z

      public final int[] z
  • Constructor Details

    • Heightmap

      public Heightmap(@NotNull @NotNull String name)
  • Method Details

    • getColor

      public abstract int getColor(@NotNull @NotNull Region region, int blockX, int blockZ)
    • getMin

      public int getMin()
    • getMax

      public int getMax()
    • getColor

      public int getColor(int y1, int y2, int heightColor, int step)
    • equals

      public boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Keyed
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Keyed
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Keyed