Class ModelElementTexture
java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture
@Environment(CLIENT) public class ModelElementTexture extends Object
- Mappings:
Namespace Name official eio
intermediary net/minecraft/class_787
named net/minecraft/client/render/model/json/ModelElementTexture
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelElementTexture.Deserializer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ModelElementTexture(float[] uvs, int rotation)
-
Method Summary
Modifier and Type Method Description int
getDirectionIndex(int offset)
private int
getRotatedUVIndex(int rotation)
float
getU(int rotation)
float
getV(int rotation)
void
setUvs(float[] uvs)
-
Field Details
-
uvs
public float[] uvs- Mappings:
Namespace Name Mixin selector official a
Leio;a:[F
intermediary field_4235
Lnet/minecraft/class_787;field_4235:[F
named uvs
Lnet/minecraft/client/render/model/json/ModelElementTexture;uvs:[F
-
rotation
public final int rotation- Mappings:
Namespace Name Mixin selector official b
Leio;b:I
intermediary field_4234
Lnet/minecraft/class_787;field_4234:I
named rotation
Lnet/minecraft/client/render/model/json/ModelElementTexture;rotation:I
-
-
Constructor Details
-
ModelElementTexture
- Mappings:
Namespace Name Mixin selector official <init>
Leio;<init>([FI)V
intermediary <init>
Lnet/minecraft/class_787;<init>([FI)V
named <init>
Lnet/minecraft/client/render/model/json/ModelElementTexture;<init>([FI)V
-
-
Method Details
-
getU
public float getU(int rotation)- Mappings:
Namespace Name Mixin selector official a
Leio;a(I)F
intermediary method_3415
Lnet/minecraft/class_787;method_3415(I)F
named getU
Lnet/minecraft/client/render/model/json/ModelElementTexture;getU(I)F
-
getV
public float getV(int rotation)- Mappings:
Namespace Name Mixin selector official b
Leio;b(I)F
intermediary method_3416
Lnet/minecraft/class_787;method_3416(I)F
named getV
Lnet/minecraft/client/render/model/json/ModelElementTexture;getV(I)F
-
getRotatedUVIndex
private int getRotatedUVIndex(int rotation)- Mappings:
Namespace Name Mixin selector official d
Leio;d(I)I
intermediary method_3413
Lnet/minecraft/class_787;method_3413(I)I
named getRotatedUVIndex
Lnet/minecraft/client/render/model/json/ModelElementTexture;getRotatedUVIndex(I)I
-
getDirectionIndex
public int getDirectionIndex(int offset)- Mappings:
Namespace Name Mixin selector official c
Leio;c(I)I
intermediary method_3414
Lnet/minecraft/class_787;method_3414(I)I
named getDirectionIndex
Lnet/minecraft/client/render/model/json/ModelElementTexture;getDirectionIndex(I)I
-
setUvs
public void setUvs(float[] uvs)- Mappings:
Namespace Name Mixin selector official a
Leio;a([F)V
intermediary method_3417
Lnet/minecraft/class_787;method_3417([F)V
named setUvs
Lnet/minecraft/client/render/model/json/ModelElementTexture;setUvs([F)V
-