@Environment(value=CLIENT) public class ModelElementTexture extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelElementTexture.Deserializer |
Constructor and Description |
---|
ModelElementTexture(float[] uvs,
int rotation) |
Modifier and Type | Method and Description |
---|---|
int |
getDirectionIndex(int offset) |
private int |
getRotatedUVIndex(int rotation) |
float |
getU(int rotation) |
float |
getV(int rotation) |
void |
setUvs(float[] uvs) |
public ModelElementTexture(@Nullable float[] uvs, int rotation)