typesforbukkit
Version:
Types For Bukkit
24 lines (22 loc) • 984 B
text/typescript
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/Rotation
namespace org.bukkit {
/** @description An enum to specify a rotation based orientation, like that on a clock. It represents how something is viewed, as opposed to cardinal directions */
export enum Rotation {
/** @description Rotated clockwise by 90 degrees */
CLOCKWISE,
/** @description Rotated clockwise by 135 degrees */
CLOCKWISE_135,
/** @description Rotated clockwise by 45 degrees */
CLOCKWISE_45,
/** @description Rotated counter-clockwise by 90 degrees */
COUNTER_CLOCKWISE,
/** @description Rotated counter-clockwise by 45 degrees */
COUNTER_CLOCKWISE_45,
/** @description Flipped upside-down, a 180 degree rotation */
FLIPPED,
/** @description Flipped upside-down + 45 degree rotation */
FLIPPED_45,
/** @description No rotation */
NONE
}
}