Class ModelPart.Cube

java.lang.Object
net.minecraft.client.model.geom.ModelPart.Cube
Enclosing class:
ModelPart

public static class ModelPart.Cube extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final float
     
    final float
     
    final float
     
    final float
     
    final float
     
    final float
     
    private final ModelPart.Polygon[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cube(int texCoordU, int texCoordV, float originX, float originY, float originZ, float dimensionX, float dimensionY, float dimensionZ, float gtowX, float growY, float growZ, boolean mirror, float texScaleU, float texScaleV, Set<Direction> visibleFaces)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    compile(PoseStack.Pose pose, VertexConsumer buffer, int packedLight, int packedOverlay, int color)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • polygons

      private final ModelPart.Polygon[] polygons
    • minX

      public final float minX
    • minY

      public final float minY
    • minZ

      public final float minZ
    • maxX

      public final float maxX
    • maxY

      public final float maxY
    • maxZ

      public final float maxZ
  • Constructor Details

    • Cube

      public Cube(int texCoordU, int texCoordV, float originX, float originY, float originZ, float dimensionX, float dimensionY, float dimensionZ, float gtowX, float growY, float growZ, boolean mirror, float texScaleU, float texScaleV, Set<Direction> visibleFaces)
  • Method Details