Cancellablepublic class FireworkExplodeEvent extends EntityEvent implements Cancellable
Event.Resultentity| Constructor | Description | 
|---|---|
| FireworkExplodeEvent(Firework what) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Firework | getEntity() | Returns the Entity involved in this event | 
| static HandlerList | getHandlerList() | |
| HandlerList | getHandlers() | |
| boolean | isCancelled() | Gets the cancellation state of this event. | 
| void | setCancelled(boolean cancel) | Set the cancelled state of this event. | 
getEntityTypecallEvent, getEventName, isAsynchronouspublic FireworkExplodeEvent(Firework what)
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface Cancellablecancel - whether to cancel or not.public Firework getEntity()
EntityEventgetEntity in class EntityEventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.