Package | Description |
---|---|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method | Description |
---|---|---|
static @Nullable PistonMoveReaction |
PistonMoveReaction.getById(int id) |
Deprecated.
Magic value
|
@NotNull PistonMoveReaction |
Block.getPistonMoveReaction() |
Returns the reaction of the block when moved by a piston
|
static PistonMoveReaction |
PistonMoveReaction.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static PistonMoveReaction[] |
PistonMoveReaction.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull PistonMoveReaction |
Entity.getPistonMoveReaction() |
Returns the reaction of the entity when moved by a piston.
|
Copyright © 2020. All rights reserved.