public class BukkitPartiesPartyGetExperienceEvent extends BukkitPartiesEvent implements IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource| Constructor and Description |
|---|
BukkitPartiesPartyGetExperienceEvent(Party party,
double experience,
PartyPlayer killer) |
| Modifier and Type | Method and Description |
|---|---|
double |
getExperience()
Get the experience
|
@Nullable PartyPlayer |
getKiller()
Get the player who killed the mob
|
@NotNull Party |
getParty()
Get the party
|
@NotNull IPartyGetExperienceEvent.ExpSource |
getSource()
Get experience source
|
getApi, getHandlerList, getHandlers, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic BukkitPartiesPartyGetExperienceEvent(Party party, double experience, PartyPlayer killer)
@NotNull public @NotNull Party getParty()
IPartyGetExperienceEventgetParty in interface IPartyGetExperienceEventPartypublic double getExperience()
IPartyGetExperienceEventgetExperience in interface IPartyGetExperienceEvent@NotNull public @NotNull IPartyGetExperienceEvent.ExpSource getSource()
IPartyGetExperienceEventgetSource in interface IPartyGetExperienceEventIPartyGetExperienceEvent.ExpSource@Nullable public @Nullable PartyPlayer getKiller()
IPartyGetExperienceEventgetKiller in interface IPartyGetExperienceEventPartyPlayerCopyright © 2023. All rights reserved.