Class When.LogicalCondition

java.lang.Object
net.minecraft.data.client.model.When.LogicalCondition
All Implemented Interfaces:
Supplier<JsonElement>, When
Enclosing interface:
When

public static class When.LogicalCondition extends Object implements When
Mappings:
Namespace Name
official jg$a
intermediary net/minecraft/class_4918$class_4919
named net/minecraft/data/client/model/When$LogicalCondition
  • Field Details

    • operator

      private final When.LogicalOperator operator
      Mappings:
      Namespace Name Mixin selector
      official a Ljg$a;a:Ljg$b;
      intermediary field_22848 Lnet/minecraft/class_4918$class_4919;field_22848:Lnet/minecraft/class_4918$class_4920;
      named operator Lnet/minecraft/data/client/model/When$LogicalCondition;operator:Lnet/minecraft/data/client/model/When$LogicalOperator;
    • components

      private final List<When> components
      Mappings:
      Namespace Name Mixin selector
      official b Ljg$a;b:Ljava/util/List;
      intermediary field_22849 Lnet/minecraft/class_4918$class_4919;field_22849:Ljava/util/List;
      named components Lnet/minecraft/data/client/model/When$LogicalCondition;components:Ljava/util/List;
  • Constructor Details

    • LogicalCondition

      LogicalCondition(When.LogicalOperator operator, List<When> components)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljg$a;<init>(Ljg$b;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4918$class_4919;<init>(Lnet/minecraft/class_4918$class_4920;Ljava/util/List;)V
      named <init> Lnet/minecraft/data/client/model/When$LogicalCondition;<init>(Lnet/minecraft/data/client/model/When$LogicalOperator;Ljava/util/List;)V
  • Method Details

    • validate

      public void validate(StateManager<?,?> stateManager)
      Specified by:
      validate in interface When
      Mappings:
      Namespace Name Mixin selector
      official a Ljg;a(Lcnw;)V
      intermediary method_25745 Lnet/minecraft/class_4918;method_25745(Lnet/minecraft/class_2689;)V
      named validate Lnet/minecraft/data/client/model/When;validate(Lnet/minecraft/state/StateManager;)V
    • get

      public JsonElement get()
      Specified by:
      get in interface Supplier<JsonElement>
      Mappings:
      Namespace Name Mixin selector
      official b Ljg$a;b()Lcom/google/gson/JsonElement;
      intermediary method_25748 Lnet/minecraft/class_4918$class_4919;method_25748()Lcom/google/gson/JsonElement;
      named get Lnet/minecraft/data/client/model/When$LogicalCondition;get()Lcom/google/gson/JsonElement;