Enum ComparatorBlock.ComparatorType

java.lang.Object
java.lang.Enum<ComparatorBlock.ComparatorType>
net.minecraft.block.ComparatorBlock.ComparatorType
All Implemented Interfaces:
Serializable, Comparable<ComparatorBlock.ComparatorType>, java.lang.constant.Constable, StringIdentifiable
Enclosing class:
ComparatorBlock

public static enum ComparatorBlock.ComparatorType
extends Enum<ComparatorBlock.ComparatorType>
implements StringIdentifiable
Mappings:
Namespace Name
official afx$a
intermediary net/minecraft/class_178$class_179
named net/minecraft/block/ComparatorBlock$ComparatorType
  • Enum Constant Details

    • COMPARE

      public static final ComparatorBlock.ComparatorType COMPARE
      Mappings:
      Namespace Name Mixin selector
      official a Lafx$a;a:Lafx$a;
      intermediary field_840 Lnet/minecraft/class_178$class_179;field_840:Lnet/minecraft/class_178$class_179;
      named COMPARE Lnet/minecraft/block/ComparatorBlock$ComparatorType;COMPARE:Lnet/minecraft/block/ComparatorBlock$ComparatorType;
    • SUBTRACT

      public static final ComparatorBlock.ComparatorType SUBTRACT
      Mappings:
      Namespace Name Mixin selector
      official b Lafx$a;b:Lafx$a;
      intermediary field_841 Lnet/minecraft/class_178$class_179;field_841:Lnet/minecraft/class_178$class_179;
      named SUBTRACT Lnet/minecraft/block/ComparatorBlock$ComparatorType;SUBTRACT:Lnet/minecraft/block/ComparatorBlock$ComparatorType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lafx$a;c:Ljava/lang/String;
      intermediary field_842 Lnet/minecraft/class_178$class_179;field_842:Ljava/lang/String;
      named name Lnet/minecraft/block/ComparatorBlock$ComparatorType;name:Ljava/lang/String;
  • Constructor Details

    • ComparatorType

      private ComparatorType​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafx$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_178$class_179;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/ComparatorBlock$ComparatorType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

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

      public static ComparatorBlock.ComparatorType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ComparatorBlock.ComparatorType>
      Mappings:
      Namespace Name Mixin selector
      official toString Lafx$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_178$class_179;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/ComparatorBlock$ComparatorType;toString()Ljava/lang/String;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official l Lnw;l()Ljava/lang/String;
      intermediary method_6682 Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;