Package net.minecraft.block
Enum Class ComparatorBlock.ComparatorType
- All Implemented Interfaces:
Serializable,Comparable<ComparatorBlock.ComparatorType>,Constable,StringIdentifiable
- Enclosing class:
- ComparatorBlock
public static enum ComparatorBlock.ComparatorType
extends Enum<ComparatorBlock.ComparatorType>
implements StringIdentifiable
- Mappings:
Namespace Name official afx$aintermediary net/minecraft/class_1447$class_2178named net/minecraft/block/ComparatorBlock$ComparatorType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()toString()Returns the enum constant of this class with the specified name.static ComparatorBlock.ComparatorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPARE
- Mappings:
Namespace Name Mixin selector official aLafx$a;a:Lafx$a;intermediary field_9343Lnet/minecraft/class_1447$class_2178;field_9343:Lnet/minecraft/class_1447$class_2178;named COMPARELnet/minecraft/block/ComparatorBlock$ComparatorType;COMPARE:Lnet/minecraft/block/ComparatorBlock$ComparatorType;
-
SUBTRACT
- Mappings:
Namespace Name Mixin selector official bLafx$a;b:Lafx$a;intermediary field_9344Lnet/minecraft/class_1447$class_2178;field_9344:Lnet/minecraft/class_1447$class_2178;named SUBTRACTLnet/minecraft/block/ComparatorBlock$ComparatorType;SUBTRACT:Lnet/minecraft/block/ComparatorBlock$ComparatorType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLafx$a;c:Ljava/lang/String;intermediary field_9345Lnet/minecraft/class_1447$class_2178;field_9345:Ljava/lang/String;named nameLnet/minecraft/block/ComparatorBlock$ComparatorType;name:Ljava/lang/String;
-
-
Constructor Details
-
ComparatorType
- Mappings:
Namespace Name Mixin selector official <init>Lafx$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1447$class_2178;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/ComparatorBlock$ComparatorType;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ComparatorBlock.ComparatorType>- Mappings:
Namespace Name Mixin selector official toStringLafx$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_1447$class_2178;toString()Ljava/lang/String;named toStringLnet/minecraft/block/ComparatorBlock$ComparatorType;toString()Ljava/lang/String;
-
asString
- Specified by:
asStringin interfaceStringIdentifiable- Mappings:
Namespace Name Mixin selector official lLnw;l()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-