类 ModelVariant

    • 字段详细资料

      • location

        private final Identifier location
        Mappings:
        Namespace Name Mixin selector
        official a Leni;a:Lwp;
        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 Leni;b:Li;
        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/util/math/AffineTransformation;
      • uvLock

        private final boolean uvLock
        Mappings:
        Namespace Name Mixin selector
        official c Leni;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 Leni;d:I
        intermediary field_4325 Lnet/minecraft/class_813;field_4325:I
        named weight Lnet/minecraft/client/render/model/json/ModelVariant;weight:I
    • 构造器详细资料

      • ModelVariant

        public ModelVariant​(Identifier location,
                            AffineTransformation rotation,
                            boolean uvLock,
                            int weight)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leni;<init>(Lwp;Li;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/util/math/AffineTransformation;ZI)V
    • 方法详细资料

      • getLocation

        public Identifier getLocation()
        Mappings:
        Namespace Name Mixin selector
        official a Leni;a()Lwp;
        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()
        指定者:
        getRotation 在接口中 ModelBakeSettings
        Mappings:
        Namespace Name Mixin selector
        official b Lexw;b()Li;
        intermediary method_3509 Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;
        named getRotation Lnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;
      • isUvLocked

        public boolean isUvLocked()
        指定者:
        isUvLocked 在接口中 ModelBakeSettings
        Mappings:
        Namespace Name Mixin selector
        official c Lexw;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 Leni;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()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Leni;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)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Leni;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()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Leni;hashCode()I
        intermediary hashCode Lnet/minecraft/class_813;hashCode()I
        named hashCode Lnet/minecraft/client/render/model/json/ModelVariant;hashCode()I