public class FireworkExplodeEvent extends EntityEvent implements Cancellable
Event.Resultentity| Constructor and Description | 
|---|
FireworkExplodeEvent(Firework what)  | 
| Modifier and Type | Method and 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. 
 | 
getEntityTypegetEventName, 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 © 2021. All rights reserved.