Package me.c7dev.dexterity.api.events
Class DisplayRotationEvent
java.lang.Object
org.bukkit.event.Event
me.c7dev.dexterity.api.events.DisplayRotationEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class DisplayRotationEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionDisplayRotationEvent
(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 org.bukkit.event.HandlerList
org.bukkit.event.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 interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-