public class PlayerFormResponseEvent extends PlayerEvent
| Constructor and Description |
|---|
PlayerFormResponseEvent(Player player,
int formID,
FormWindow window)
Constructs a new PlayerFormResponseEvent instance
|
| Modifier and Type | Method and Description |
|---|---|
FormResponse |
getResponse()
Returns the response of the window, can be null
if the player closed the window
|
boolean |
isClosed()
Returns if the window is closed
|
public PlayerFormResponseEvent(Player player, int formID, FormWindow window)
player - the player interacting with the formformID - the id of the formwindow - the windowpublic FormResponse getResponse()
public boolean isClosed()
Copyright © 2020 GeyserMC. All rights reserved.