Class ModelElement

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

@Environment(CLIENT) public class ModelElement extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelElement
intermediary net/minecraft/class_785
official gms
  • Field Details

    • field_32785

      private static final boolean field_32785
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32785 Lnet/minecraft/client/render/model/json/ModelElement;field_32785:Z
      intermediary field_32785 Lnet/minecraft/class_785;field_32785:Z
      official g Lgms;g:Z
    • field_32786

      private static final float field_32786
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32786 Lnet/minecraft/client/render/model/json/ModelElement;field_32786:F
      intermediary field_32786 Lnet/minecraft/class_785;field_32786:F
      official h Lgms;h:F
    • field_32787

      private static final float field_32787
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32787 Lnet/minecraft/client/render/model/json/ModelElement;field_32787:F
      intermediary field_32787 Lnet/minecraft/class_785;field_32787:F
      official i Lgms;i:F
    • from

      public final Vector3f from
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/client/render/model/json/ModelElement;from:Lorg/joml/Vector3f;
      intermediary field_4228 Lnet/minecraft/class_785;field_4228:Lorg/joml/Vector3f;
      official a Lgms;a:Lorg/joml/Vector3f;
    • to

      public final Vector3f to
      Mappings:
      Namespace Name Mixin selector
      named to Lnet/minecraft/client/render/model/json/ModelElement;to:Lorg/joml/Vector3f;
      intermediary field_4231 Lnet/minecraft/class_785;field_4231:Lorg/joml/Vector3f;
      official b Lgms;b:Lorg/joml/Vector3f;
    • faces

      public final Map<Direction,ModelElementFace> faces
      Mappings:
      Namespace Name Mixin selector
      named faces Lnet/minecraft/client/render/model/json/ModelElement;faces:Ljava/util/Map;
      intermediary field_4230 Lnet/minecraft/class_785;field_4230:Ljava/util/Map;
      official c Lgms;c:Ljava/util/Map;
    • rotation

      public final ModelRotation rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/client/render/model/json/ModelElement;rotation:Lnet/minecraft/client/render/model/json/ModelRotation;
      intermediary field_4232 Lnet/minecraft/class_785;field_4232:Lnet/minecraft/class_789;
      official d Lgms;d:Lgmu;
    • shade

      public final boolean shade
      Mappings:
      Namespace Name Mixin selector
      named shade Lnet/minecraft/client/render/model/json/ModelElement;shade:Z
      intermediary field_4229 Lnet/minecraft/class_785;field_4229:Z
      official e Lgms;e:Z
    • lightEmission

      public final int lightEmission
      Mappings:
      Namespace Name Mixin selector
      named lightEmission Lnet/minecraft/client/render/model/json/ModelElement;lightEmission:I
      intermediary field_53159 Lnet/minecraft/class_785;field_53159:I
      official f Lgms;f:I
  • Constructor Details

    • ModelElement

      public ModelElement(Vector3f from, Vector3f to, Map<Direction,ModelElementFace> faces)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelElement;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_785;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;)V
      official <init> Lgms;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;)V
    • ModelElement

      public ModelElement(Vector3f from, Vector3f to, Map<Direction,ModelElementFace> faces, @Nullable @Nullable ModelRotation rotation, boolean shade, int lightEmission)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelElement;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;Lnet/minecraft/client/render/model/json/ModelRotation;ZI)V
      intermediary <init> Lnet/minecraft/class_785;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;Lnet/minecraft/class_789;ZI)V
      official <init> Lgms;<init>(Lorg/joml/Vector3f;Lorg/joml/Vector3f;Ljava/util/Map;Lgmu;ZI)V
  • Method Details

    • initTextures

      private void initTextures()
      Mappings:
      Namespace Name Mixin selector
      named initTextures Lnet/minecraft/client/render/model/json/ModelElement;initTextures()V
      intermediary method_3402 Lnet/minecraft/class_785;method_3402()V
      official a Lgms;a()V
    • getRotatedMatrix

      private float[] getRotatedMatrix(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named getRotatedMatrix Lnet/minecraft/client/render/model/json/ModelElement;getRotatedMatrix(Lnet/minecraft/util/math/Direction;)[F
      intermediary method_3401 Lnet/minecraft/class_785;method_3401(Lnet/minecraft/class_2350;)[F
      official a Lgms;a(Ljm;)[F