Class When.LogicalCondition

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

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

    • operator

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

      private final List<When> components
      Mappings:
      Namespace Name Mixin selector
      official b Ljl$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/When$LogicalCondition;components:Ljava/util/List;
  • Constructor Details

    • LogicalCondition

      LogicalCondition(When.LogicalOperator operator, List<When> components)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljl$a;<init>(Ljl$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/When$LogicalCondition;<init>(Lnet/minecraft/data/client/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 Ljl;a(Lcow;)V
      intermediary method_25745 Lnet/minecraft/class_4918;method_25745(Lnet/minecraft/class_2689;)V
      named validate Lnet/minecraft/data/client/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 Ljl$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/When$LogicalCondition;get()Lcom/google/gson/JsonElement;