类 ModelElementTexture
- java.lang.Object
-
- net.minecraft.client.render.model.json.ModelElementTexture
-
@Environment(CLIENT) public class ModelElementTexture extends Object
- Mappings:
Namespace Name official emyintermediary net/minecraft/class_787named net/minecraft/client/render/model/json/ModelElementTexture
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classModelElementTexture.Deserializer
-
构造器概要
构造器 构造器 说明 ModelElementTexture(@org.jetbrains.annotations.Nullable float[] uvs, int rotation)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetDirectionIndex(int offset)private intgetRotatedUVIndex(int rotation)floatgetU(int rotation)floatgetV(int rotation)voidsetUvs(float[] uvs)
-
-
-
字段详细资料
-
uvs
public float[] uvs
- Mappings:
Namespace Name Mixin selector official aLemy;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 bLemy;b:Iintermediary field_4234Lnet/minecraft/class_787;field_4234:Inamed rotationLnet/minecraft/client/render/model/json/ModelElementTexture;rotation:I
-
-
构造器详细资料
-
ModelElementTexture
public ModelElementTexture(@Nullable @org.jetbrains.annotations.Nullable float[] uvs, int rotation)
- Mappings:
Namespace Name Mixin selector official <init>Lemy;<init>([FI)Vintermediary <init>Lnet/minecraft/class_787;<init>([FI)Vnamed <init>Lnet/minecraft/client/render/model/json/ModelElementTexture;<init>([FI)V
-
-
方法详细资料
-
getU
public float getU(int rotation)
- Mappings:
Namespace Name Mixin selector official aLemy;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 bLemy;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 dLemy;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 cLemy;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 aLemy;a([F)Vintermediary method_3417Lnet/minecraft/class_787;method_3417([F)Vnamed setUvsLnet/minecraft/client/render/model/json/ModelElementTexture;setUvs([F)V
-
-