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
ConstructorsConstructorDescriptionDocumentViewMoveEvent
(DocumentView view, org.bukkit.World world, org.joml.Vector3d position) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
@NotNull org.bukkit.Location
Get the location the view is being moved toorg.joml.Vector3d
Get the position the view is being moved to@NotNull DocumentView
getView()
Get the view being movedorg.bukkit.World
getWorld()
Get the world the view is being moved toMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
DocumentViewMoveEvent
-
-
Method Details
-
getView
-
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 classorg.bukkit.event.Event
-