Class ModelVariant

java.lang.Object
net.minecraft.client.render.model.json.ModelVariant
All Implemented Interfaces:
ModelBakeSettings

@Environment(CLIENT)
public class ModelVariant
extends Object
implements ModelBakeSettings
Mappings:
Namespace Name
official eiy
intermediary net/minecraft/class_813
named net/minecraft/client/render/model/json/ModelVariant
  • Field Details

    • location

      private final Identifier location
      Mappings:
      Namespace Name Mixin selector
      official a Leiy;a:Lwb;
      intermediary field_4326 Lnet/minecraft/class_813;field_4326:Lnet/minecraft/class_2960;
      named location Lnet/minecraft/client/render/model/json/ModelVariant;location:Lnet/minecraft/util/Identifier;
    • rotation

      private final AffineTransformation rotation
      Mappings:
      Namespace Name Mixin selector
      official b Leiy;b:Lf;
      intermediary field_4328 Lnet/minecraft/class_813;field_4328:Lnet/minecraft/class_4590;
      named rotation Lnet/minecraft/client/render/model/json/ModelVariant;rotation:Lnet/minecraft/client/util/math/AffineTransformation;
    • uvLock

      private final boolean uvLock
      Mappings:
      Namespace Name Mixin selector
      official c Leiy;c:Z
      intermediary field_4327 Lnet/minecraft/class_813;field_4327:Z
      named uvLock Lnet/minecraft/client/render/model/json/ModelVariant;uvLock:Z
    • weight

      private final int weight
      Mappings:
      Namespace Name Mixin selector
      official d Leiy;d:I
      intermediary field_4325 Lnet/minecraft/class_813;field_4325:I
      named weight Lnet/minecraft/client/render/model/json/ModelVariant;weight:I
  • Constructor Details

    • ModelVariant

      public ModelVariant​(Identifier location, AffineTransformation rotation, boolean uvLock, int weight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leiy;<init>(Lwb;Lf;ZI)V
      intermediary <init> Lnet/minecraft/class_813;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_4590;ZI)V
      named <init> Lnet/minecraft/client/render/model/json/ModelVariant;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/util/math/AffineTransformation;ZI)V
  • Method Details

    • getLocation

      public Identifier getLocation()
      Mappings:
      Namespace Name Mixin selector
      official a Leiy;a()Lwb;
      intermediary method_3510 Lnet/minecraft/class_813;method_3510()Lnet/minecraft/class_2960;
      named getLocation Lnet/minecraft/client/render/model/json/ModelVariant;getLocation()Lnet/minecraft/util/Identifier;
    • getRotation

      public AffineTransformation getRotation()
      Specified by:
      getRotation in interface ModelBakeSettings
      Mappings:
      Namespace Name Mixin selector
      official b Letn;b()Lf;
      intermediary method_3509 Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;
      named getRotation Lnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/client/util/math/AffineTransformation;
    • isUvLocked

      public boolean isUvLocked()
      Specified by:
      isUvLocked in interface ModelBakeSettings
      Mappings:
      Namespace Name Mixin selector
      official c Letn;c()Z
      intermediary method_3512 Lnet/minecraft/class_3665;method_3512()Z
      named isUvLocked Lnet/minecraft/client/render/model/ModelBakeSettings;isUvLocked()Z
    • getWeight

      public int getWeight()
      Mappings:
      Namespace Name Mixin selector
      official d Leiy;d()I
      intermediary method_3511 Lnet/minecraft/class_813;method_3511()I
      named getWeight Lnet/minecraft/client/render/model/json/ModelVariant;getWeight()I
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Leiy;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_813;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/render/model/json/ModelVariant;toString()Ljava/lang/String;
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Leiy;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_813;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/render/model/json/ModelVariant;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Leiy;hashCode()I
      intermediary hashCode Lnet/minecraft/class_813;hashCode()I
      named hashCode Lnet/minecraft/client/render/model/json/ModelVariant;hashCode()I