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
named net/minecraft/client/render/model/json/ModelOverride$Condition
intermediary net/minecraft/class_799$class_5826
official gew$b
  • Field Details

    • type

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

      private final float threshold
      Mappings:
      Namespace Name Mixin selector
      named threshold Lnet/minecraft/client/render/model/json/ModelOverride$Condition;threshold:F
      intermediary field_28791 Lnet/minecraft/class_799$class_5826;field_28791:F
      official b Lgew$b;b:F
  • Constructor Details

    • Condition

      public Condition(Identifier type, float threshold)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelOverride$Condition;<init>(Lnet/minecraft/util/Identifier;F)V
      intermediary <init> Lnet/minecraft/class_799$class_5826;<init>(Lnet/minecraft/class_2960;F)V
      official <init> Lgew$b;<init>(Lalf;F)V
  • Method Details

    • getType

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

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