Package net.minecraft.block
Enum PistonHeadBlock.PistonHeadType
- All Implemented Interfaces:
Serializable,Comparable<PistonHeadBlock.PistonHeadType>,java.lang.constant.Constable,StringIdentifiable
- Enclosing class:
- PistonHeadBlock
public static enum PistonHeadBlock.PistonHeadType extends Enum<PistonHeadBlock.PistonHeadType> implements StringIdentifiable
- Mappings:
Namespace Name official alt$aintermediary net/minecraft/class_370$class_371named net/minecraft/block/PistonHeadBlock$PistonHeadType
-
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 privatePistonHeadType(String name) -
Method Summary
Modifier and Type Method Description StringasString()StringtoString()static PistonHeadBlock.PistonHeadTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PistonHeadBlock.PistonHeadType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLalt$a;a:Lalt$a;intermediary field_1479Lnet/minecraft/class_370$class_371;field_1479:Lnet/minecraft/class_370$class_371;named DEFAULTLnet/minecraft/block/PistonHeadBlock$PistonHeadType;DEFAULT:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
-
STICKY
- Mappings:
Namespace Name Mixin selector official bLalt$a;b:Lalt$a;intermediary field_1480Lnet/minecraft/class_370$class_371;field_1480:Lnet/minecraft/class_370$class_371;named STICKYLnet/minecraft/block/PistonHeadBlock$PistonHeadType;STICKY:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLalt$a;c:Ljava/lang/String;intermediary field_1481Lnet/minecraft/class_370$class_371;field_1481:Ljava/lang/String;named nameLnet/minecraft/block/PistonHeadBlock$PistonHeadType;name:Ljava/lang/String;
-
-
Constructor Details
-
PistonHeadType
- Mappings:
Namespace Name Mixin selector official <init>Lalt$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_370$class_371;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;<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<PistonHeadBlock.PistonHeadType>- Mappings:
Namespace Name Mixin selector official toStringLalt$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_370$class_371;toString()Ljava/lang/String;named toStringLnet/minecraft/block/PistonHeadBlock$PistonHeadType;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;
-