public class ResearchUnlockEvent extends Event implements Cancellable
Event.Result
Constructor and Description |
---|
ResearchUnlockEvent(Player p,
Research research) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Player |
getPlayer() |
Research |
getResearch() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getEventName, isAsynchronous
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
public Player getPlayer()
public Research getResearch()
public boolean isCancelled()
isCancelled
in interface Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface Cancellable