Cancellable@Deprecated public class PlayerAchievementAwardedEvent extends PlayerEvent implements Cancellable
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerAchievementAwardedEvent(Player player,
Achievement achievement) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
Achievement |
getAchievement() |
Deprecated.
Gets the Achievement being awarded.
|
static HandlerList |
getHandlerList() |
Deprecated.
|
HandlerList |
getHandlers() |
Deprecated.
|
boolean |
isCancelled() |
Deprecated.
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel) |
Deprecated.
Sets the cancellation state of this event.
|
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayerpublic PlayerAchievementAwardedEvent(Player player, Achievement achievement)
public Achievement getAchievement()
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.