Class BakedQuadBuilder

java.lang.Object
net.minecraftforge.client.model.pipeline.BakedQuadBuilder
All Implemented Interfaces:
IVertexConsumer

public class BakedQuadBuilder extends Object implements IVertexConsumer
Allows easier building of BakedQuad objects. During building, data is stored unpacked as floats, but is packed into the typical int array format on build.
  • Field Details

    • SIZE

      private static final int SIZE
    • unpackedData

      private final float[][][] unpackedData
    • tint

      private int tint
    • orientation

      private Direction orientation
    • texture

      private TextureAtlasSprite texture
    • applyDiffuseLighting

      private boolean applyDiffuseLighting
    • vertices

      private int vertices
    • elements

      private int elements
    • full

      private boolean full
    • contractUVs

      private boolean contractUVs
    • eps

      private final float eps
      See Also:
      Constant Field Values
  • Constructor Details

    • BakedQuadBuilder

      public BakedQuadBuilder()
    • BakedQuadBuilder

      public BakedQuadBuilder(TextureAtlasSprite texture)
  • Method Details