Package net.minecraft.client.model
Class ModelPartBuilder
java.lang.Object
net.minecraft.client.model.ModelPartBuilder
@Environment(CLIENT) public class ModelPartBuilder extends Object
- Mappings:
Namespace Name official edm
intermediary net/minecraft/class_5606
named net/minecraft/client/model/ModelPartBuilder
-
Field Summary
Fields Modifier and Type Field Description private List<ModelCuboidData>
cuboidData
private boolean
mirror
private int
textureX
private int
textureY
-
Constructor Summary
Constructors Constructor Description ModelPartBuilder()
-
Method Summary
Modifier and Type Method Description List<ModelCuboidData>
build()
static ModelPartBuilder
create()
ModelPartBuilder
cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)
ModelPartBuilder
cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, boolean mirror)
ModelPartBuilder
cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)
ModelPartBuilder
cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, float textureScaleX, float textureScaleY)
ModelPartBuilder
cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)
ModelPartBuilder
cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)
ModelPartBuilder
cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, int textureX, int textureY)
ModelPartBuilder
cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, Dilation extra, int textureX, int textureY)
ModelPartBuilder
mirrored()
ModelPartBuilder
mirrored(boolean mirror)
ModelPartBuilder
uv(int textureX, int textureY)
-
Field Details
-
cuboidData
- Mappings:
Namespace Name Mixin selector official a
Ledm;a:Ljava/util/List;
intermediary field_27719
Lnet/minecraft/class_5606;field_27719:Ljava/util/List;
named cuboidData
Lnet/minecraft/client/model/ModelPartBuilder;cuboidData:Ljava/util/List;
-
textureX
private int textureX- Mappings:
Namespace Name Mixin selector official b
Ledm;b:I
intermediary field_27720
Lnet/minecraft/class_5606;field_27720:I
named textureX
Lnet/minecraft/client/model/ModelPartBuilder;textureX:I
-
textureY
private int textureY- Mappings:
Namespace Name Mixin selector official c
Ledm;c:I
intermediary field_27721
Lnet/minecraft/class_5606;field_27721:I
named textureY
Lnet/minecraft/client/model/ModelPartBuilder;textureY:I
-
mirror
private boolean mirror- Mappings:
Namespace Name Mixin selector official d
Ledm;d:Z
intermediary field_27722
Lnet/minecraft/class_5606;field_27722:Z
named mirror
Lnet/minecraft/client/model/ModelPartBuilder;mirror:Z
-
-
Constructor Details
-
ModelPartBuilder
public ModelPartBuilder()
-
-
Method Details
-
uv
- Mappings:
Namespace Name Mixin selector official a
Ledm;a(II)Ledm;
intermediary method_32101
Lnet/minecraft/class_5606;method_32101(II)Lnet/minecraft/class_5606;
named uv
Lnet/minecraft/client/model/ModelPartBuilder;uv(II)Lnet/minecraft/client/model/ModelPartBuilder;
-
mirrored
- Mappings:
Namespace Name Mixin selector official a
Ledm;a()Ledm;
intermediary method_32096
Lnet/minecraft/class_5606;method_32096()Lnet/minecraft/class_5606;
named mirrored
Lnet/minecraft/client/model/ModelPartBuilder;mirrored()Lnet/minecraft/client/model/ModelPartBuilder;
-
mirrored
- Mappings:
Namespace Name Mixin selector official a
Ledm;a(Z)Ledm;
intermediary method_32106
Lnet/minecraft/class_5606;method_32106(Z)Lnet/minecraft/class_5606;
named mirrored
Lnet/minecraft/client/model/ModelPartBuilder;mirrored(Z)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, Dilation extra, int textureX, int textureY)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(Ljava/lang/String;FFFIIILedl;II)Ledm;
intermediary method_32105
Lnet/minecraft/class_5606;method_32105(Ljava/lang/String;FFFIIILnet/minecraft/class_5605;II)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFIIILnet/minecraft/client/util/math/Dilation;II)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, int textureX, int textureY)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(Ljava/lang/String;FFFIIIII)Ledm;
intermediary method_32104
Lnet/minecraft/class_5606;method_32104(Ljava/lang/String;FFFIIIII)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFIIIII)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(FFFFFF)Ledm;
intermediary method_32097
Lnet/minecraft/class_5606;method_32097(FFFFFF)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFF)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(Ljava/lang/String;FFFFFF)Ledm;
intermediary method_32102
Lnet/minecraft/class_5606;method_32102(Ljava/lang/String;FFFFFF)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFFFF)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(Ljava/lang/String;FFFFFFLedl;)Ledm;
intermediary method_32103
Lnet/minecraft/class_5606;method_32103(Ljava/lang/String;FFFFFFLnet/minecraft/class_5605;)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(Ljava/lang/String;FFFFFFLnet/minecraft/client/util/math/Dilation;)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, boolean mirror)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(FFFFFFZ)Ledm;
intermediary method_32100
Lnet/minecraft/class_5606;method_32100(FFFFFFZ)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFZ)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, float textureScaleX, float textureScaleY)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(FFFFFFLedl;FF)Ledm;
intermediary method_32099
Lnet/minecraft/class_5606;method_32099(FFFFFFLnet/minecraft/class_5605;FF)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFLnet/minecraft/client/util/math/Dilation;FF)Lnet/minecraft/client/model/ModelPartBuilder;
-
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra)- Mappings:
Namespace Name Mixin selector official a
Ledm;a(FFFFFFLedl;)Ledm;
intermediary method_32098
Lnet/minecraft/class_5606;method_32098(FFFFFFLnet/minecraft/class_5605;)Lnet/minecraft/class_5606;
named cuboid
Lnet/minecraft/client/model/ModelPartBuilder;cuboid(FFFFFFLnet/minecraft/client/util/math/Dilation;)Lnet/minecraft/client/model/ModelPartBuilder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Ledm;b()Ljava/util/List;
intermediary method_32107
Lnet/minecraft/class_5606;method_32107()Ljava/util/List;
named build
Lnet/minecraft/client/model/ModelPartBuilder;build()Ljava/util/List;
-
create
- Mappings:
Namespace Name Mixin selector official c
Ledm;c()Ledm;
intermediary method_32108
Lnet/minecraft/class_5606;method_32108()Lnet/minecraft/class_5606;
named create
Lnet/minecraft/client/model/ModelPartBuilder;create()Lnet/minecraft/client/model/ModelPartBuilder;
-