Class DisplayRotationEvent
java.lang.Object
org.bukkit.event.Event
me.c7dev.dexterity.api.events.DisplayRotationEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionDisplayRotationEvent
(DexterityDisplay display, org.joml.Quaterniond rotation) Event called when a selection is rotated, such as with a command or the API -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
double
org.joml.Quaterniond
boolean
void
setCancelled
(boolean b) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
DisplayRotationEvent
Event called when a selection is rotated, such as with a command or the API- Parameters:
display
-rotation
-
-
-
Method Details
-
getDisplay
-
getRotation
public org.joml.Quaterniond getRotation() -
getRotatedByDeg
public double getRotatedByDeg() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-