Package org.bukkit.event.player
Class PlayerLinksSendEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerLinksSendEvent
This event is called when the list of links is sent to the player.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerLinksSendEvent
(@NotNull PlayerConfigurationConnection connection, @NotNull ServerLinks links) -
Method Summary
Modifier and TypeMethodDescriptionGets the connection that received the links.static @NotNull HandlerList
getLinks()
Gets the links to be sent, for modification.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerLinksSendEvent
@Internal public PlayerLinksSendEvent(@NotNull @NotNull PlayerConfigurationConnection connection, @NotNull @NotNull ServerLinks links)
-
-
Method Details
-
getConnection
Gets the connection that received the links.- Returns:
- connection
-
getLinks
Gets the links to be sent, for modification.- Returns:
- the links
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-