Package net.minecraft.block.piston
Enum Class PistonBehavior
- All Implemented Interfaces:
Serializable,Comparable<PistonBehavior>,Constable
- Mappings:
Namespace Name official bdcintermediary net/minecraft/class_2768named net/minecraft/block/piston/PistonBehavior
-
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 official aLbdc;a:Lbdc;intermediary field_13045Lnet/minecraft/class_2768;field_13045:Lnet/minecraft/class_2768;named NORMALLnet/minecraft/block/piston/PistonBehavior;NORMAL:Lnet/minecraft/block/piston/PistonBehavior;
-
DESTROY
- Mappings:
Namespace Name Mixin selector official bLbdc;b:Lbdc;intermediary field_13046Lnet/minecraft/class_2768;field_13046:Lnet/minecraft/class_2768;named DESTROYLnet/minecraft/block/piston/PistonBehavior;DESTROY:Lnet/minecraft/block/piston/PistonBehavior;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official cLbdc;c:Lbdc;intermediary field_13047Lnet/minecraft/class_2768;field_13047:Lnet/minecraft/class_2768;named BLOCKLnet/minecraft/block/piston/PistonBehavior;BLOCK:Lnet/minecraft/block/piston/PistonBehavior;
-
IGNORE
- Mappings:
Namespace Name Mixin selector official dLbdc;d:Lbdc;intermediary field_13048Lnet/minecraft/class_2768;field_13048:Lnet/minecraft/class_2768;named IGNORELnet/minecraft/block/piston/PistonBehavior;IGNORE:Lnet/minecraft/block/piston/PistonBehavior;
-
PUSH_ONLY
- Mappings:
Namespace Name Mixin selector official eLbdc;e:Lbdc;intermediary field_15855Lnet/minecraft/class_2768;field_15855:Lnet/minecraft/class_2768;named PUSH_ONLYLnet/minecraft/block/piston/PistonBehavior;PUSH_ONLY:Lnet/minecraft/block/piston/PistonBehavior;
-
-
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
-