public class AdvancementGrantEvent
extends org.bukkit.event.Event
Modifier and Type | Field | Description |
---|---|---|
static org.bukkit.event.HandlerList |
handlers |
Constructor | Description |
---|---|
AdvancementGrantEvent(AdvancementManager manager,
Advancement advancement,
org.bukkit.entity.Player player,
boolean displayMessage) |
Modifier and Type | Method | Description |
---|---|---|
Advancement |
getAdvancement() |
|
static org.bukkit.event.HandlerList |
getHandlerList() |
|
org.bukkit.event.HandlerList |
getHandlers() |
|
AdvancementManager |
getManager() |
|
org.bukkit.entity.Player |
getPlayer() |
|
boolean |
isDisplayMessage() |
|
void |
setDisplayMessage(boolean displayMessage) |
Sets if a message will be displayed
|
public AdvancementGrantEvent(AdvancementManager manager, Advancement advancement, org.bukkit.entity.Player player, boolean displayMessage)
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
public AdvancementManager getManager()
public Advancement getAdvancement()
public org.bukkit.entity.Player getPlayer()
public boolean isDisplayMessage()
public void setDisplayMessage(boolean displayMessage)
displayMessage
-