Package net.minecraft.block.piston
Enum PistonBehavior
- All Implemented Interfaces:
Serializable,Comparable<PistonBehavior>,java.lang.constant.Constable
public enum PistonBehavior extends Enum<PistonBehavior>
- Mappings:
Namespace Name official darintermediary net/minecraft/class_3619named 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
-
Constructor Summary
Constructors Modifier Constructor Description privatePistonBehavior() -
Method Summary
Modifier and Type Method Description static PistonBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static PistonBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLdar;a:Ldar;intermediary field_15974Lnet/minecraft/class_3619;field_15974:Lnet/minecraft/class_3619;named NORMALLnet/minecraft/block/piston/PistonBehavior;NORMAL:Lnet/minecraft/block/piston/PistonBehavior;
-
DESTROY
- Mappings:
Namespace Name Mixin selector official bLdar;b:Ldar;intermediary field_15971Lnet/minecraft/class_3619;field_15971:Lnet/minecraft/class_3619;named DESTROYLnet/minecraft/block/piston/PistonBehavior;DESTROY:Lnet/minecraft/block/piston/PistonBehavior;
-
BLOCK
- Mappings:
Namespace Name Mixin selector official cLdar;c:Ldar;intermediary field_15972Lnet/minecraft/class_3619;field_15972:Lnet/minecraft/class_3619;named BLOCKLnet/minecraft/block/piston/PistonBehavior;BLOCK:Lnet/minecraft/block/piston/PistonBehavior;
-
IGNORE
- Mappings:
Namespace Name Mixin selector official dLdar;d:Ldar;intermediary field_15975Lnet/minecraft/class_3619;field_15975:Lnet/minecraft/class_3619;named IGNORELnet/minecraft/block/piston/PistonBehavior;IGNORE:Lnet/minecraft/block/piston/PistonBehavior;
-
PUSH_ONLY
- Mappings:
Namespace Name Mixin selector official eLdar;e:Ldar;intermediary field_15970Lnet/minecraft/class_3619;field_15970:Lnet/minecraft/class_3619;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 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
-