Package net.minecraft.block.piston
Enum Class PistonBehavior
- All Implemented Interfaces:
Serializable,Comparable<PistonBehavior>,Constable
- Mappings:
Namespace Name named net/minecraft/block/piston/PistonBehaviorintermediary net/minecraft/class_3619official eyf
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PistonBehaviorReturns the enum constant of this class with the specified name.static PistonBehavior[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMALLnet/minecraft/block/piston/PistonBehavior;NORMAL:Lnet/minecraft/block/piston/PistonBehavior;intermediary field_15974Lnet/minecraft/class_3619;field_15974:Lnet/minecraft/class_3619;official aLeyf;a:Leyf;
-
DESTROY
- Mappings:
Namespace Name Mixin selector named DESTROYLnet/minecraft/block/piston/PistonBehavior;DESTROY:Lnet/minecraft/block/piston/PistonBehavior;intermediary field_15971Lnet/minecraft/class_3619;field_15971:Lnet/minecraft/class_3619;official bLeyf;b:Leyf;
-
BLOCK
- Mappings:
Namespace Name Mixin selector named BLOCKLnet/minecraft/block/piston/PistonBehavior;BLOCK:Lnet/minecraft/block/piston/PistonBehavior;intermediary field_15972Lnet/minecraft/class_3619;field_15972:Lnet/minecraft/class_3619;official cLeyf;c:Leyf;
-
IGNORE
- Mappings:
Namespace Name Mixin selector named IGNORELnet/minecraft/block/piston/PistonBehavior;IGNORE:Lnet/minecraft/block/piston/PistonBehavior;intermediary field_15975Lnet/minecraft/class_3619;field_15975:Lnet/minecraft/class_3619;official dLeyf;d:Leyf;
-
PUSH_ONLY
- Mappings:
Namespace Name Mixin selector named PUSH_ONLYLnet/minecraft/block/piston/PistonBehavior;PUSH_ONLY:Lnet/minecraft/block/piston/PistonBehavior;intermediary field_15970Lnet/minecraft/class_3619;field_15970:Lnet/minecraft/class_3619;official eLeyf;e:Leyf;
-
-
Constructor Details
-
PistonBehavior
private PistonBehavior()
-
-
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
-