Enum Class When.LogicalOperator

java.lang.Object
java.lang.Enum<When.LogicalOperator>
net.minecraft.data.client.When.LogicalOperator
All Implemented Interfaces:
Serializable, Comparable<When.LogicalOperator>, Constable
Enclosing interface:
When

public static enum When.LogicalOperator extends Enum<When.LogicalOperator>
Mappings:
Namespace Name
official ks$b
intermediary net/minecraft/class_4918$class_4920
named net/minecraft/data/client/When$LogicalOperator
  • Enum Constant Details

    • AND

      public static final When.LogicalOperator AND
      Mappings:
      Namespace Name Mixin selector
      official a Lks$b;a:Lks$b;
      intermediary field_22850 Lnet/minecraft/class_4918$class_4920;field_22850:Lnet/minecraft/class_4918$class_4920;
      named AND Lnet/minecraft/data/client/When$LogicalOperator;AND:Lnet/minecraft/data/client/When$LogicalOperator;
    • OR

      public static final When.LogicalOperator OR
      Mappings:
      Namespace Name Mixin selector
      official b Lks$b;b:Lks$b;
      intermediary field_22851 Lnet/minecraft/class_4918$class_4920;field_22851:Lnet/minecraft/class_4918$class_4920;
      named OR Lnet/minecraft/data/client/When$LogicalOperator;OR:Lnet/minecraft/data/client/When$LogicalOperator;
  • Field Details

    • name

      final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lks$b;c:Ljava/lang/String;
      intermediary field_22852 Lnet/minecraft/class_4918$class_4920;field_22852:Ljava/lang/String;
      named name Lnet/minecraft/data/client/When$LogicalOperator;name:Ljava/lang/String;
  • Constructor Details

    • LogicalOperator

      private LogicalOperator(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lks$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4918$class_4920;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/data/client/When$LogicalOperator;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static When.LogicalOperator[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static When.LogicalOperator valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null