Class ModelElementTexture
java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/ModelElementTexture
intermediary net/minecraft/class_787
official geq
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelElementTexture
(@org.jetbrains.annotations.Nullable float[] uvs, int rotation) -
Method Summary
Modifier and TypeMethodDescriptionint
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 named uvs
Lnet/minecraft/client/render/model/json/ModelElementTexture;uvs:[F
intermediary field_4235
Lnet/minecraft/class_787;field_4235:[F
official a
Lgeq;a:[F
-
rotation
public final int rotation- Mappings:
Namespace Name Mixin selector named rotation
Lnet/minecraft/client/render/model/json/ModelElementTexture;rotation:I
intermediary field_4234
Lnet/minecraft/class_787;field_4234:I
official b
Lgeq;b:I
-
-
Constructor Details
-
ModelElementTexture
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/model/json/ModelElementTexture;<init>([FI)V
intermediary <init>
Lnet/minecraft/class_787;<init>([FI)V
official <init>
Lgeq;<init>([FI)V
-
-
Method Details
-
getU
public float getU(int rotation) - Mappings:
Namespace Name Mixin selector named getU
Lnet/minecraft/client/render/model/json/ModelElementTexture;getU(I)F
intermediary method_3415
Lnet/minecraft/class_787;method_3415(I)F
official a
Lgeq;a(I)F
-
getV
public float getV(int rotation) - Mappings:
Namespace Name Mixin selector named getV
Lnet/minecraft/client/render/model/json/ModelElementTexture;getV(I)F
intermediary method_3416
Lnet/minecraft/class_787;method_3416(I)F
official b
Lgeq;b(I)F
-
getRotatedUVIndex
private int getRotatedUVIndex(int rotation) - Mappings:
Namespace Name Mixin selector named getRotatedUVIndex
Lnet/minecraft/client/render/model/json/ModelElementTexture;getRotatedUVIndex(I)I
intermediary method_3413
Lnet/minecraft/class_787;method_3413(I)I
official d
Lgeq;d(I)I
-
getDirectionIndex
public int getDirectionIndex(int offset) - Mappings:
Namespace Name Mixin selector named getDirectionIndex
Lnet/minecraft/client/render/model/json/ModelElementTexture;getDirectionIndex(I)I
intermediary method_3414
Lnet/minecraft/class_787;method_3414(I)I
official c
Lgeq;c(I)I
-
setUvs
public void setUvs(float[] uvs) - Mappings:
Namespace Name Mixin selector named setUvs
Lnet/minecraft/client/render/model/json/ModelElementTexture;setUvs([F)V
intermediary method_3417
Lnet/minecraft/class_787;method_3417([F)V
official a
Lgeq;a([F)V
-