Class ModelOverride.Condition

java.lang.Object
net.minecraft.client.render.model.json.ModelOverride.Condition
Enclosing class:
ModelOverride

@Environment(CLIENT) public static class ModelOverride.Condition extends Object
Mappings:
Namespace Name
official eqo$b
intermediary net/minecraft/class_799$class_5826
named net/minecraft/client/render/model/json/ModelOverride$Condition
  • Field Details

    • type

      private final Identifier type
      Mappings:
      Namespace Name Mixin selector
      official a Leqo$b;a:Lyh;
      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 Leqo$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
  • Constructor Details

    • Condition

      public Condition(Identifier type, float threshold)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqo$b;<init>(Lyh;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
  • Method Details

    • getType

      public Identifier getType()
      Mappings:
      Namespace Name Mixin selector
      official a Leqo$b;a()Lyh;
      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 Leqo$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