Class DocumentViewMoveEvent

java.lang.Object
org.bukkit.event.Event
com.juliewoolie.delphi.event.DocumentViewMoveEvent

public class DocumentViewMoveEvent extends org.bukkit.event.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    DocumentViewMoveEvent(DocumentView view, org.bukkit.World world, org.joml.Vector3d position)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.Location
    Get the location the view is being moved to
    org.joml.Vector3d
    Get the position the view is being moved to
    @NotNull DocumentView
    Get the view being moved
    org.bukkit.World
    Get the world the view is being moved to

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocumentViewMoveEvent

      public DocumentViewMoveEvent(DocumentView view, org.bukkit.World world, org.joml.Vector3d position)
  • Method Details

    • getView

      @NotNull public @NotNull DocumentView getView()
      Get the view being moved
      Returns:
      Moving view
    • getNewLocation

      @NotNull public @NotNull org.bukkit.Location getNewLocation()
      Get the location the view is being moved to
      Returns:
      New view location
    • getWorld

      public org.bukkit.World getWorld()
      Get the world the view is being moved to
      Returns:
      New view world
    • getPosition

      public org.joml.Vector3d getPosition()
      Get the position the view is being moved to
      Returns:
      New view position
    • getHandlerList

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

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event