Class AsyncPlayerScreenEvent
java.lang.Object
org.bukkit.event.Event
xyz.gmitch215.socketmc.events.SocketEvent
xyz.gmitch215.socketmc.events.screen.AsyncPlayerScreenEvent
- Direct Known Subclasses:
 AsyncPlayerChangeScreenEvent,AsyncPlayerElementEvent
Represents an event that is called when a player interacts with a screen.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Constructor Summary
ConstructorsConstructorDescriptionAsyncPlayerScreenEvent(@NotNull AbstractScreen screen, @NotNull SocketPlayer player) Creates a new AsyncPlayerScreenEvent instance. - 
Method Summary
Modifier and TypeMethodDescriptionGets the screen associated with this event.Methods inherited from class xyz.gmitch215.socketmc.events.SocketEvent
getHandlerList, getHandlers, getPlayer, getSocketPlayer, toStringMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous 
- 
Constructor Details
- 
AsyncPlayerScreenEvent
public AsyncPlayerScreenEvent(@NotNull @NotNull AbstractScreen screen, @NotNull @NotNull SocketPlayer player) Creates a new AsyncPlayerScreenEvent instance.- Parameters:
 screen- The screen associated with this eventplayer- The player associated with this event
 
 - 
 - 
Method Details
- 
getScreen
Gets the screen associated with this event.- Returns:
 - The screen
 
 
 -