Class ModelElementTexture
java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture
- Mappings:
Namespace Name official fkkintermediary net/minecraft/class_787named net/minecraft/client/render/model/json/ModelElementTexture
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModelElementTexture(@org.jetbrains.annotations.Nullable float[] uvs, int rotation) -
Method Summary
Modifier and TypeMethodDescriptionintgetDirectionIndex(int offset) private intgetRotatedUVIndex(int rotation) floatgetU(int rotation) floatgetV(int rotation) voidsetUvs(float[] uvs)
-
Field Details
-
uvs
public float[] uvs- Mappings:
Namespace Name Mixin selector official aLfkk;a:[Fintermediary field_4235Lnet/minecraft/class_787;field_4235:[Fnamed uvsLnet/minecraft/client/render/model/json/ModelElementTexture;uvs:[F
-
rotation
public final int rotation- Mappings:
Namespace Name Mixin selector official bLfkk;b:Iintermediary field_4234Lnet/minecraft/class_787;field_4234:Inamed rotationLnet/minecraft/client/render/model/json/ModelElementTexture;rotation:I
-
-
Constructor Details
-
ModelElementTexture
- Mappings:
Namespace Name Mixin selector official <init>Lfkk;<init>([FI)Vintermediary <init>Lnet/minecraft/class_787;<init>([FI)Vnamed <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 aLfkk;a(I)Fintermediary method_3415Lnet/minecraft/class_787;method_3415(I)Fnamed getULnet/minecraft/client/render/model/json/ModelElementTexture;getU(I)F
-
getV
public float getV(int rotation) - Mappings:
Namespace Name Mixin selector official bLfkk;b(I)Fintermediary method_3416Lnet/minecraft/class_787;method_3416(I)Fnamed getVLnet/minecraft/client/render/model/json/ModelElementTexture;getV(I)F
-
getRotatedUVIndex
private int getRotatedUVIndex(int rotation) - Mappings:
Namespace Name Mixin selector official dLfkk;d(I)Iintermediary method_3413Lnet/minecraft/class_787;method_3413(I)Inamed getRotatedUVIndexLnet/minecraft/client/render/model/json/ModelElementTexture;getRotatedUVIndex(I)I
-
getDirectionIndex
public int getDirectionIndex(int offset) - Mappings:
Namespace Name Mixin selector official cLfkk;c(I)Iintermediary method_3414Lnet/minecraft/class_787;method_3414(I)Inamed getDirectionIndexLnet/minecraft/client/render/model/json/ModelElementTexture;getDirectionIndex(I)I
-
setUvs
public void setUvs(float[] uvs) - Mappings:
Namespace Name Mixin selector official aLfkk;a([F)Vintermediary method_3417Lnet/minecraft/class_787;method_3417([F)Vnamed setUvsLnet/minecraft/client/render/model/json/ModelElementTexture;setUvs([F)V
-