Package net.minecraft.block
Enum 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$aintermediary net/minecraft/class_178$class_179named 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
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateComparatorType(String name) -
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static ComparatorBlock.ComparatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ComparatorBlock.ComparatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPARE
- Mappings:
Namespace Name Mixin selector official aLafx$a;a:Lafx$a;intermediary field_840Lnet/minecraft/class_178$class_179;field_840:Lnet/minecraft/class_178$class_179;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_841Lnet/minecraft/class_178$class_179;field_841:Lnet/minecraft/class_178$class_179;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_842Lnet/minecraft/class_178$class_179;field_842: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_178$class_179;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 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_178$class_179;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_6682Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-