Class ModelElement

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

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

    • from

      public final Vec3f from
      Mappings:
      Namespace Name Mixin selector
      official a Leil;a:Lg;
      intermediary field_4228 Lnet/minecraft/class_785;field_4228:Lnet/minecraft/class_1160;
      named from Lnet/minecraft/client/render/model/json/ModelElement;from:Lnet/minecraft/util/math/Vec3f;
    • to

      public final Vec3f to
      Mappings:
      Namespace Name Mixin selector
      official b Leil;b:Lg;
      intermediary field_4231 Lnet/minecraft/class_785;field_4231:Lnet/minecraft/class_1160;
      named to Lnet/minecraft/client/render/model/json/ModelElement;to:Lnet/minecraft/util/math/Vec3f;
    • faces

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

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

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

    • ModelElement

      public ModelElement​(Vec3f from, Vec3f to, Map<Direction,​ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leil;<init>(Lg;Lg;Ljava/util/Map;Lein;Z)V
      intermediary <init> Lnet/minecraft/class_785;<init>(Lnet/minecraft/class_1160;Lnet/minecraft/class_1160;Ljava/util/Map;Lnet/minecraft/class_789;Z)V
      named <init> Lnet/minecraft/client/render/model/json/ModelElement;<init>(Lnet/minecraft/util/math/Vec3f;Lnet/minecraft/util/math/Vec3f;Ljava/util/Map;Lnet/minecraft/client/render/model/json/ModelRotation;Z)V
  • Method Details

    • initTextures

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

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