Class QuadTransformers

java.lang.Object
net.minecraftforge.client.model.QuadTransformers

public final class QuadTransformers extends Object
A collection of IQuadTransformer implementations.
See Also:
  • Field Details

  • Constructor Details

    • QuadTransformers

      private QuadTransformers()
  • Method Details

    • empty

      public static IQuadTransformer empty()
      Returns a BakedQuad transformer that does nothing.
      Returns:
      a BakedQuad transformer that does nothing
    • applying

      public static IQuadTransformer applying(Transformation transform)
      Returns a new BakedQuad transformer that applies the specified Transformation.
      Returns:
      a new BakedQuad transformer that applies the specified Transformation
    • applyingLightmap

      public static IQuadTransformer applyingLightmap(int lightmap)
      Returns a new BakedQuad transformer that applies the specified lightmap.
      Returns:
      a new BakedQuad transformer that applies the specified lightmap
    • settingEmissivity

      public static IQuadTransformer settingEmissivity(int emissivity)
      Returns a BakedQuad transformer that sets the lightmap to the given emissivity (0-15).
      Returns:
      a BakedQuad transformer that sets the lightmap to the given emissivity (0-15)
    • settingMaxEmissivity

      public static IQuadTransformer settingMaxEmissivity()
      Returns a BakedQuad transformer that sets the lightmap to its max value.
      Returns:
      a BakedQuad transformer that sets the lightmap to its max value