Package net.minecraft.client.model
Class ModelPartBuilder
java.lang.Object
net.minecraft.client.model.ModelPartBuilder
@Environment(CLIENT) public class ModelPartBuilder extends Object
-
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
-
textureX
private int textureX -
textureY
private int textureY -
mirror
private boolean mirror
-
-
Constructor Details
-
ModelPartBuilder
public ModelPartBuilder()
-
-
Method Details
-
uv
-
mirrored
-
mirrored
-
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, Dilation extra, int textureX, int textureY) -
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, int sizeX, int sizeY, int sizeZ, int textureX, int textureY) -
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ) -
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ) -
cuboid
public ModelPartBuilder cuboid(String name, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra) -
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, boolean mirror) -
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, float textureScaleX, float textureScaleY) -
cuboid
public ModelPartBuilder cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra) -
build
-
create
-