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
  • Constructor Details

    • DisplayRotationEvent

      public DisplayRotationEvent(DexterityDisplay display, org.joml.Quaterniond rotation)
      Event called when a selection is rotated, such as with a command or the API
      Parameters:
      display -
      rotation -
  • Method Details

    • getDisplay

      public DexterityDisplay getDisplay()
    • getRotation

      public org.joml.Quaterniond getRotation()
    • getRotatedByDeg

      public double getRotatedByDeg()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()