Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method and Description |
---|---|
@NotNull Rotation |
Rotation.rotateClockwise()
Rotate clockwise by 90 degrees.
|
@NotNull Rotation |
Rotation.rotateCounterClockwise()
Rotate counter-clockwise by 90 degrees.
|
static Rotation |
Rotation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
Rotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Rotation |
ItemFrame.getRotation()
Get the rotation of the frame's item
|
Modifier and Type | Method and Description |
---|---|
void |
ItemFrame.setRotation(@NotNull Rotation rotation)
Set the rotation of the frame's item
|
Copyright © 2021. All rights reserved.