Class PixelProvider

java.lang.Object
com.hypixel.hytale.server.worldgen.zoom.PixelProvider

public class PixelProvider extends Object
  • Field Details

    • pixels

      @Nonnull protected final int[] pixels
    • width

      protected final int width
    • height

      protected final int height
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getPixels

      public int[] getPixels()
    • setPixel

      public void setPixel(int x, int y, int pixel)
    • getPixel

      public int getPixel(int x, int y)
    • arrIndex

      protected int arrIndex(int x, int y)
    • copy

      public PixelProvider copy()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object