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
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 org.bukkit.event.HandlerListorg.bukkit.event.HandlerListdoubleorg.joml.QuaterniondbooleanvoidsetCancelled(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:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-