public interface IPartyPreExperienceDropEvent extends PartiesEvent, Cancellable
Modifier and Type | Method and Description |
---|---|
double |
getExperience()
Get the dropped experience
|
@Nullable Object |
getKilledEntity()
Get the killed entity, null if doesn't exist.
|
@NotNull Party |
getParty()
Get the party
|
@Nullable PartyPlayer |
getPlayer()
Get the player who killed the entity, null if there isn't any
|
void |
setExperience(double experience)
Set the dropped experience
|
getApi, setApi
isCancelled, setCancelled
@Nullable @Nullable PartyPlayer getPlayer()
PartyPlayer
@Nullable @Nullable Object getKilledEntity()
double getExperience()
void setExperience(double experience)
experience
- the number of experience droppedCopyright © 2023. All rights reserved.