PistonMoveType
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.neoforge.api.event.block.piston.PistonMoveType;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
PistonMoveType is an enum with 2 constants. They are accessible like so:
// PistonMoveType.EXTEND<constant:neoforge:event/piston/move_type:extend>// PistonMoveType.RETRACT<constant:neoforge:event/piston/move_type:retract>
Members
Getter
// PistonMoveType.extend as bool<constant:neoforge:event/piston/move_type:extend>.extend
Return Type:
bool