org.bukkit.event.Cancellable
public class AdvancementTabChangeEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Modifier and Type | Field | Description |
---|---|---|
static org.bukkit.event.HandlerList |
handlers |
Constructor | Description |
---|---|
AdvancementTabChangeEvent(org.bukkit.entity.Player player,
NameKey tabAdvancement) |
Modifier and Type | Method | Description |
---|---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
|
org.bukkit.event.HandlerList |
getHandlers() |
|
java.lang.String |
getInformationString() |
|
org.bukkit.entity.Player |
getPlayer() |
|
NameKey |
getTabAdvancement() |
|
boolean |
isCancelled() |
|
void |
setCancelled(boolean cancelled) |
|
void |
setTabAdvancement(NameKey tabAdvancement) |
Changes the tab the player is changing to
|
public AdvancementTabChangeEvent(org.bukkit.entity.Player player, NameKey tabAdvancement)
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public org.bukkit.entity.Player getPlayer()
public NameKey getTabAdvancement()
public void setTabAdvancement(NameKey tabAdvancement)
tabAdvancement
- The new tab the player will change topublic java.lang.String getInformationString()