public class ExperienceOrbMergeEvent extends EntityEvent implements Cancellable
Event.Result
entity
Constructor and Description |
---|
ExperienceOrbMergeEvent(ExperienceOrb mergeTarget,
ExperienceOrb mergeSource) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
ExperienceOrb |
getMergeSource() |
ExperienceOrb |
getMergeTarget() |
boolean |
isCancelled()
Gets the cancellation state of this event.
|
void |
setCancelled(boolean cancel)
Sets the cancellation state of this event.
|
getEntity, getEntityType
callEvent, getEventName, isAsynchronous
public ExperienceOrbMergeEvent(ExperienceOrb mergeTarget, ExperienceOrb mergeSource)
public ExperienceOrb getMergeTarget()
public ExperienceOrb getMergeSource()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
public boolean isCancelled()
Cancellable
isCancelled
in interface Cancellable
public void setCancelled(boolean cancel)
Cancellable
setCancelled
in interface Cancellable
cancel
- true if you wish to cancel this event, and prevent the orbs from mergingCopyright © 2021. All rights reserved.