类 ModelOverride.Condition

  • 封闭类:
    ModelOverride

    @Environment(CLIENT)
    public static class ModelOverride.Condition
    extends Object
    Mappings:
    Namespace Name
    official end$b
    intermediary net/minecraft/class_799$class_5826
    named net/minecraft/client/render/model/json/ModelOverride$Condition
    • 字段详细资料

      • type

        private final Identifier type
        Mappings:
        Namespace Name Mixin selector
        official a Lend$b;a:Lwp;
        intermediary field_28790 Lnet/minecraft/class_799$class_5826;field_28790:Lnet/minecraft/class_2960;
        named type Lnet/minecraft/client/render/model/json/ModelOverride$Condition;type:Lnet/minecraft/util/Identifier;
      • threshold

        private final float threshold
        Mappings:
        Namespace Name Mixin selector
        official b Lend$b;b:F
        intermediary field_28791 Lnet/minecraft/class_799$class_5826;field_28791:F
        named threshold Lnet/minecraft/client/render/model/json/ModelOverride$Condition;threshold:F
    • 构造器详细资料

      • Condition

        public Condition​(Identifier type,
                         float threshold)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lend$b;<init>(Lwp;F)V
        intermediary <init> Lnet/minecraft/class_799$class_5826;<init>(Lnet/minecraft/class_2960;F)V
        named <init> Lnet/minecraft/client/render/model/json/ModelOverride$Condition;<init>(Lnet/minecraft/util/Identifier;F)V
    • 方法详细资料

      • getType

        public Identifier getType()
        Mappings:
        Namespace Name Mixin selector
        official a Lend$b;a()Lwp;
        intermediary method_33692 Lnet/minecraft/class_799$class_5826;method_33692()Lnet/minecraft/class_2960;
        named getType Lnet/minecraft/client/render/model/json/ModelOverride$Condition;getType()Lnet/minecraft/util/Identifier;
      • getThreshold

        public float getThreshold()
        Mappings:
        Namespace Name Mixin selector
        official b Lend$b;b()F
        intermediary method_33693 Lnet/minecraft/class_799$class_5826;method_33693()F
        named getThreshold Lnet/minecraft/client/render/model/json/ModelOverride$Condition;getThreshold()F