Class BakedQuadFactory

java.lang.Object
net.minecraft.client.render.model.BakedQuadFactory

@Environment(CLIENT) public class BakedQuadFactory extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/model/BakedQuadFactory
intermediary net/minecraft/class_796
official ggd
  • Field Details

    • field_32796

      public static final int field_32796
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32796 Lnet/minecraft/client/render/model/BakedQuadFactory;field_32796:I
      intermediary field_32796 Lnet/minecraft/class_796;field_32796:I
      official a Lggd;a:I
    • MIN_SCALE

      private static final float MIN_SCALE
      Mappings:
      Namespace Name Mixin selector
      named MIN_SCALE Lnet/minecraft/client/render/model/BakedQuadFactory;MIN_SCALE:F
      intermediary field_4260 Lnet/minecraft/class_796;field_4260:F
      official d Lggd;d:F
    • MAX_SCALE

      private static final float MAX_SCALE
      Mappings:
      Namespace Name Mixin selector
      named MAX_SCALE Lnet/minecraft/client/render/model/BakedQuadFactory;MAX_SCALE:F
      intermediary field_4259 Lnet/minecraft/class_796;field_4259:F
      official e Lggd;e:F
    • field_32797

      public static final int field_32797
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32797 Lnet/minecraft/client/render/model/BakedQuadFactory;field_32797:I
      intermediary field_32797 Lnet/minecraft/class_796;field_32797:I
      official b Lggd;b:I
    • field_32799

      private static final int field_32799
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32799 Lnet/minecraft/client/render/model/BakedQuadFactory;field_32799:I
      intermediary field_32799 Lnet/minecraft/class_796;field_32799:I
      official f Lggd;f:I
    • field_32798

      public static final int field_32798
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32798 Lnet/minecraft/client/render/model/BakedQuadFactory;field_32798:I
      intermediary field_32798 Lnet/minecraft/class_796;field_32798:I
      official c Lggd;c:I
  • Constructor Details

    • BakedQuadFactory

      public BakedQuadFactory()
  • Method Details

    • bake

      public BakedQuad bake(Vector3f from, Vector3f to, ModelElementFace face, Sprite texture, Direction side, ModelBakeSettings settings, @Nullable @Nullable ModelRotation rotation, boolean shade)
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/model/BakedQuadFactory;bake(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lnet/minecraft/client/render/model/json/ModelElementFace;Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/model/ModelBakeSettings;Lnet/minecraft/client/render/model/json/ModelRotation;Z)Lnet/minecraft/client/render/model/BakedQuad;
      intermediary method_3468 Lnet/minecraft/class_796;method_3468(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lnet/minecraft/class_783;Lnet/minecraft/class_1058;Lnet/minecraft/class_2350;Lnet/minecraft/class_3665;Lnet/minecraft/class_789;Z)Lnet/minecraft/class_777;
      official a Lggd;a(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lgfy;Lgql;Lji;Lgsv;Lgfz;Z)Lgfw;
    • uvLock

      public static ModelElementTexture uvLock(ModelElementTexture texture, Direction orientation, AffineTransformation rotation)
      Mappings:
      Namespace Name Mixin selector
      named uvLock Lnet/minecraft/client/render/model/BakedQuadFactory;uvLock(Lnet/minecraft/client/render/model/json/ModelElementTexture;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/AffineTransformation;)Lnet/minecraft/client/render/model/json/ModelElementTexture;
      intermediary method_3454 Lnet/minecraft/class_796;method_3454(Lnet/minecraft/class_787;Lnet/minecraft/class_2350;Lnet/minecraft/class_4590;)Lnet/minecraft/class_787;
      official a Lggd;a(Lgga;Lji;Lj;)Lgga;
    • packVertexData

      private int[] packVertexData(ModelElementTexture texture, Sprite sprite, Direction direction, float[] positionMatrix, AffineTransformation orientation, @Nullable @Nullable ModelRotation rotation, boolean shaded)
      Mappings:
      Namespace Name Mixin selector
      named packVertexData Lnet/minecraft/client/render/model/BakedQuadFactory;packVertexData(Lnet/minecraft/client/render/model/json/ModelElementTexture;Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/util/math/Direction;[FLnet/minecraft/util/math/AffineTransformation;Lnet/minecraft/client/render/model/json/ModelRotation;Z)[I
      intermediary method_3458 Lnet/minecraft/class_796;method_3458(Lnet/minecraft/class_787;Lnet/minecraft/class_1058;Lnet/minecraft/class_2350;[FLnet/minecraft/class_4590;Lnet/minecraft/class_789;Z)[I
      official a Lggd;a(Lgga;Lgql;Lji;[FLj;Lgfz;Z)[I
    • getPositionMatrix

      private float[] getPositionMatrix(Vector3f from, Vector3f to)
      Mappings:
      Namespace Name Mixin selector
      named getPositionMatrix Lnet/minecraft/client/render/model/BakedQuadFactory;getPositionMatrix(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)[F
      intermediary method_3459 Lnet/minecraft/class_796;method_3459(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)[F
      official a Lggd;a(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)[F
    • packVertexData

      private void packVertexData(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable @Nullable ModelRotation rotation, boolean shaded)
      Mappings:
      Namespace Name Mixin selector
      named packVertexData Lnet/minecraft/client/render/model/BakedQuadFactory;packVertexData([IILnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/model/json/ModelElementTexture;[FLnet/minecraft/client/texture/Sprite;Lnet/minecraft/util/math/AffineTransformation;Lnet/minecraft/client/render/model/json/ModelRotation;Z)V
      intermediary method_3461 Lnet/minecraft/class_796;method_3461([IILnet/minecraft/class_2350;Lnet/minecraft/class_787;[FLnet/minecraft/class_1058;Lnet/minecraft/class_4590;Lnet/minecraft/class_789;Z)V
      official a Lggd;a([IILji;Lgga;[FLgql;Lj;Lgfz;Z)V
    • packVertexData

      private void packVertexData(int[] vertices, int cornerIndex, Vector3f position, Sprite sprite, ModelElementTexture modelElementTexture)
      Mappings:
      Namespace Name Mixin selector
      named packVertexData Lnet/minecraft/client/render/model/BakedQuadFactory;packVertexData([IILorg/joml/Vector3f;Lnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/render/model/json/ModelElementTexture;)V
      intermediary method_3460 Lnet/minecraft/class_796;method_3460([IILorg/joml/Vector3f;Lnet/minecraft/class_1058;Lnet/minecraft/class_787;)V
      official a Lggd;a([IILorg/joml/Vector3f;Lgql;Lgga;)V
    • rotateVertex

      private void rotateVertex(Vector3f vector, @Nullable @Nullable ModelRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      named rotateVertex Lnet/minecraft/client/render/model/BakedQuadFactory;rotateVertex(Lorg/joml/Vector3f;Lnet/minecraft/client/render/model/json/ModelRotation;)V
      intermediary method_3463 Lnet/minecraft/class_796;method_3463(Lorg/joml/Vector3f;Lnet/minecraft/class_789;)V
      official a Lggd;a(Lorg/joml/Vector3f;Lgfz;)V
    • transformVertex

      public void transformVertex(Vector3f vertex, AffineTransformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named transformVertex Lnet/minecraft/client/render/model/BakedQuadFactory;transformVertex(Lorg/joml/Vector3f;Lnet/minecraft/util/math/AffineTransformation;)V
      intermediary method_3455 Lnet/minecraft/class_796;method_3455(Lorg/joml/Vector3f;Lnet/minecraft/class_4590;)V
      official a Lggd;a(Lorg/joml/Vector3f;Lj;)V
    • transformVertex

      private void transformVertex(Vector3f vertex, Vector3f origin, Matrix4f transformationMatrix, Vector3f scale)
      Mappings:
      Namespace Name Mixin selector
      named transformVertex Lnet/minecraft/client/render/model/BakedQuadFactory;transformVertex(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lorg/joml/Matrix4f;Lorg/joml/Vector3f;)V
      intermediary method_3464 Lnet/minecraft/class_796;method_3464(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lorg/joml/Matrix4f;Lorg/joml/Vector3f;)V
      official a Lggd;a(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lorg/joml/Matrix4f;Lorg/joml/Vector3f;)V
    • decodeDirection

      public static Direction decodeDirection(int[] rotationMatrix)
      Mappings:
      Namespace Name Mixin selector
      named decodeDirection Lnet/minecraft/client/render/model/BakedQuadFactory;decodeDirection([I)Lnet/minecraft/util/math/Direction;
      intermediary method_3467 Lnet/minecraft/class_796;method_3467([I)Lnet/minecraft/class_2350;
      official a Lggd;a([I)Lji;
    • encodeDirection

      private void encodeDirection(int[] rotationMatrix, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named encodeDirection Lnet/minecraft/client/render/model/BakedQuadFactory;encodeDirection([ILnet/minecraft/util/math/Direction;)V
      intermediary method_3462 Lnet/minecraft/class_796;method_3462([ILnet/minecraft/class_2350;)V
      official a Lggd;a([ILji;)V