Class BlockFaceUV
java.lang.Object
net.minecraft.client.renderer.block.model.BlockFaceUV
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getReverseIndex
(int index) private int
getShiftedIndex
(int index) float
getU
(int index) float
getV
(int index) void
setMissingUv
(float[] uvs)
-
Field Details
-
uvs
public float[] uvs -
rotation
public final int rotation
-
-
Constructor Details
-
BlockFaceUV
public BlockFaceUV(@Nullable float[] uvs, int rotation)
-
-
Method Details
-
getU
public float getU(int index) -
getV
public float getV(int index) -
getShiftedIndex
private int getShiftedIndex(int index) -
getReverseIndex
public int getReverseIndex(int index) -
setMissingUv
public void setMissingUv(float[] uvs)
-