Class ModelElementTexture

java.lang.Object
net.minecraft.client.render.model.json.ModelElementTexture

@Environment(CLIENT)
public class ModelElementTexture
extends Object
  • Field Details

    • uvs

      public float[] uvs
    • rotation

      public final int rotation
  • Constructor Details

    • ModelElementTexture

      public ModelElementTexture​(@Nullable float[] uvs, int rotation)
  • Method Details

    • getU

      public float getU​(int rotation)
    • getV

      public float getV​(int rotation)
    • getRotatedUVIndex

      private int getRotatedUVIndex​(int rotation)
    • getDirectionIndex

      public int getDirectionIndex​(int offset)
    • setUvs

      public void setUvs​(float[] uvs)