public class CustomGradient
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[] |
gradient |
| Constructor and Description |
|---|
CustomGradient(ResourceLocation textureFile) |
| Modifier and Type | Method and Description |
|---|---|
ColourRGBA |
getColour(double position) |
int |
getColourI(double position) |
public ColourRGBA getColour(double position)
public int getColourI(double position)