Package net.minecraft.block
Enum Class PistonHeadBlock.PistonHeadType
- All Implemented Interfaces:
Serializable,Comparable<PistonHeadBlock.PistonHeadType>,Constable,StringIdentifiable
- Enclosing class:
- PistonHeadBlock
public static enum PistonHeadBlock.PistonHeadType
extends Enum<PistonHeadBlock.PistonHeadType>
implements StringIdentifiable
- Mappings:
Namespace Name official atd$aintermediary net/minecraft/class_228$class_2229named 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
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 PistonHeadBlock.PistonHeadType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLatd$a;a:Latd$a;intermediary field_9868Lnet/minecraft/class_228$class_2229;field_9868:Lnet/minecraft/class_228$class_2229;named DEFAULTLnet/minecraft/block/PistonHeadBlock$PistonHeadType;DEFAULT:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
-
STICKY
- Mappings:
Namespace Name Mixin selector official bLatd$a;b:Latd$a;intermediary field_9869Lnet/minecraft/class_228$class_2229;field_9869:Lnet/minecraft/class_228$class_2229;named STICKYLnet/minecraft/block/PistonHeadBlock$PistonHeadType;STICKY:Lnet/minecraft/block/PistonHeadBlock$PistonHeadType;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLatd$a;c:Ljava/lang/String;intermediary field_9870Lnet/minecraft/class_228$class_2229;field_9870:Ljava/lang/String;named nameLnet/minecraft/block/PistonHeadBlock$PistonHeadType;name:Ljava/lang/String;
-
-
Constructor Details
-
PistonHeadType
- Mappings:
Namespace Name Mixin selector official <init>Latd$a;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_228$class_2229;<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 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<PistonHeadBlock.PistonHeadType>- Mappings:
Namespace Name Mixin selector official toStringLatd$a;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_228$class_2229;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 mLox;m()Ljava/lang/String;intermediary method_10853Lnet/minecraft/class_2604;method_10853()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-