Package net.minecraft.client.model
Class ModelCuboidData
java.lang.Object
net.minecraft.client.model.ModelCuboidData
@Environment(CLIENT) public final class ModelCuboidData extends Object
- Mappings:
Namespace Name official edkintermediary net/minecraft/class_5604named net/minecraft/client/model/ModelCuboidData
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedModelCuboidData(String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY) -
Method Summary
Modifier and Type Method Description ModelPart.CuboidcreateCuboid(int textureWidth, int textureHeight)
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official aLedk;a:Ljava/lang/String;intermediary field_27708Lnet/minecraft/class_5604;field_27708:Ljava/lang/String;named nameLnet/minecraft/client/model/ModelCuboidData;name:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector official bLedk;b:Lg;intermediary field_27709Lnet/minecraft/class_5604;field_27709:Lnet/minecraft/class_1160;named offsetLnet/minecraft/client/model/ModelCuboidData;offset:Lnet/minecraft/util/math/Vec3f;
-
dimensions
- Mappings:
Namespace Name Mixin selector official cLedk;c:Lg;intermediary field_27710Lnet/minecraft/class_5604;field_27710:Lnet/minecraft/class_1160;named dimensionsLnet/minecraft/client/model/ModelCuboidData;dimensions:Lnet/minecraft/util/math/Vec3f;
-
extraSize
- Mappings:
Namespace Name Mixin selector official dLedk;d:Ledl;intermediary field_27711Lnet/minecraft/class_5604;field_27711:Lnet/minecraft/class_5605;named extraSizeLnet/minecraft/client/model/ModelCuboidData;extraSize:Lnet/minecraft/client/util/math/Dilation;
-
mirror
private final boolean mirror- Mappings:
Namespace Name Mixin selector official eLedk;e:Zintermediary field_27712Lnet/minecraft/class_5604;field_27712:Znamed mirrorLnet/minecraft/client/model/ModelCuboidData;mirror:Z
-
textureUV
- Mappings:
Namespace Name Mixin selector official fLedk;f:Ledr;intermediary field_27713Lnet/minecraft/class_5604;field_27713:Lnet/minecraft/class_5611;named textureUVLnet/minecraft/client/model/ModelCuboidData;textureUV:Lnet/minecraft/client/util/math/Vector2f;
-
textureScale
- Mappings:
Namespace Name Mixin selector official gLedk;g:Ledr;intermediary field_27714Lnet/minecraft/class_5604;field_27714:Lnet/minecraft/class_5611;named textureScaleLnet/minecraft/client/model/ModelCuboidData;textureScale:Lnet/minecraft/client/util/math/Vector2f;
-
-
Constructor Details
-
ModelCuboidData
protected ModelCuboidData(@Nullable String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY)- Mappings:
Namespace Name Mixin selector official <init>Ledk;<init>(Ljava/lang/String;FFFFFFFFLedl;ZFF)Vintermediary <init>Lnet/minecraft/class_5604;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/class_5605;ZFF)Vnamed <init>Lnet/minecraft/client/model/ModelCuboidData;<init>(Ljava/lang/String;FFFFFFFFLnet/minecraft/client/util/math/Dilation;ZFF)V
-
-
Method Details
-
createCuboid
- Mappings:
Namespace Name Mixin selector official aLedk;a(II)Ledh$a;intermediary method_32093Lnet/minecraft/class_5604;method_32093(II)Lnet/minecraft/class_630$class_628;named createCuboidLnet/minecraft/client/model/ModelCuboidData;createCuboid(II)Lnet/minecraft/client/model/ModelPart$Cuboid;
-