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 it$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 Lit$a;a:Lit$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 Lit$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

      private LogicalCondition​(When.LogicalOperator operator, List<When> components)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lit$a;<init>(Lit$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 Lit;a(Lchu;)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 Lit$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;