Class ImageCarta<R>
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.framework.interfaces.functions.TriCarta<R>
com.hypixel.hytale.builtin.hytalegenerator.framework.cartas.ImageCarta<R>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TriDoubleFunction<Double> private TriDoubleFunction<Double> private intprivate int[]private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(int x, int y, int z, WorkerIndexer.Id tHreadId) static intblueFromRgb(int rgb) static intcoloursToRgb(int red, int green, int blue) static intgreenFromRgb(int rgb) static intredFromRgb(int rgb) toString()
-
Field Details
-
rgbArray
private int[] rgbArray -
width
private int width -
height
private int height -
functionX
-
functionY
-
rgbToTerrainMap
-
allPossibleValues
-
-
Constructor Details
-
ImageCarta
private ImageCarta()
-
-
Method Details
-
apply
-
allPossibleValues
- Specified by:
allPossibleValuesin classTriCarta<R>
-
greenFromRgb
public static int greenFromRgb(int rgb) -
redFromRgb
public static int redFromRgb(int rgb) -
blueFromRgb
public static int blueFromRgb(int rgb) -
coloursToRgb
public static int coloursToRgb(int red, int green, int blue) -
toString
-