Class CubeListBuilder
java.lang.Object
net.minecraft.client.model.geom.builders.CubeListBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CubeDefinition> private booleanprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBox(float x0, float y0, float z0, float w, float h, float d) addBox(float x0, float y0, float z0, float w, float h, float d, boolean mirror) addBox(float x0, float y0, float z0, float w, float h, float d, CubeDeformation g) addBox(float x0, float y0, float z0, float w, float h, float d, CubeDeformation g, float xTexScale, float yTexScale) addBox(String id, float x0, float y0, float z0, float w, float h, float d, CubeDeformation g) addBox(String id, float x0, float y0, float z0, int w, int h, int d, CubeDeformation g, int xTexOffs, int yTexOffs) static CubeListBuildercreate()getCubes()mirror()mirror(boolean mirror) texOffs(int xTexOffs, int yTexOffs)
-
Field Details
-
ALL_VISIBLE
-
cubes
-
xTexOffs
private int xTexOffs -
yTexOffs
private int yTexOffs -
mirror
private boolean mirror
-
-
Constructor Details
-
CubeListBuilder
public CubeListBuilder()
-
-
Method Details
-
texOffs
-
mirror
-
mirror
-
addBox
public CubeListBuilder addBox(String id, float x0, float y0, float z0, int w, int h, int d, CubeDeformation g, int xTexOffs, int yTexOffs) -
addBox
public CubeListBuilder addBox(String id, float x0, float y0, float z0, int w, int h, int d, int xTexOffs, int yTexOffs) -
addBox
-
addBox
public CubeListBuilder addBox(float x0, float y0, float z0, float w, float h, float d, Set<Direction> visibleSides) -
addBox
-
addBox
public CubeListBuilder addBox(String id, float x0, float y0, float z0, float w, float h, float d, CubeDeformation g) -
addBox
public CubeListBuilder addBox(float x0, float y0, float z0, float w, float h, float d, boolean mirror) -
addBox
public CubeListBuilder addBox(float x0, float y0, float z0, float w, float h, float d, CubeDeformation g, float xTexScale, float yTexScale) -
addBox
public CubeListBuilder addBox(float x0, float y0, float z0, float w, float h, float d, CubeDeformation g) -
getCubes
-
create
-