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 pIndex) private int
getShiftedIndex
(int pIndex) float
getU
(int pIndex) float
getV
(int pIndex) void
setMissingUv
(float[] pUvs)
-
Field Details
-
uvs
public float[] uvs -
rotation
public final int rotation
-
-
Constructor Details
-
BlockFaceUV
public BlockFaceUV(@Nullable float[] pUvs, int pRotation)
-
-
Method Details
-
getU
public float getU(int pIndex) -
getV
public float getV(int pIndex) -
getShiftedIndex
private int getShiftedIndex(int pIndex) -
getReverseIndex
public int getReverseIndex(int pIndex) -
setMissingUv
public void setMissingUv(float[] pUvs)
-