public class CriteriaProgressChangeEvent
extends org.bukkit.event.Event
Modifier and Type | Field | Description |
---|---|---|
static org.bukkit.event.HandlerList |
handlers |
Constructor | Description |
---|---|
CriteriaProgressChangeEvent(AdvancementManager manager,
Advancement advancement,
org.bukkit.entity.Player player,
int progressBefore,
int progress) |
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() |
|
int |
getProgress() |
|
int |
getProgressBefore() |
|
void |
setProgress(int progress) |
Sets the progress
|
public CriteriaProgressChangeEvent(AdvancementManager manager, Advancement advancement, org.bukkit.entity.Player player, int progressBefore, int progress)
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 int getProgressBefore()
public int getProgress()
public void setProgress(int progress)
progress
- The new progress