public class BungeePartiesPartyGetExperienceEvent extends BungeePartiesEvent implements IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource
Constructor and Description |
---|
BungeePartiesPartyGetExperienceEvent(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, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public BungeePartiesPartyGetExperienceEvent(Party party, double experience, PartyPlayer killer)
@NotNull public @NotNull Party getParty()
IPartyGetExperienceEvent
getParty
in interface IPartyGetExperienceEvent
Party
public double getExperience()
IPartyGetExperienceEvent
getExperience
in interface IPartyGetExperienceEvent
@NotNull public @NotNull IPartyGetExperienceEvent.ExpSource getSource()
IPartyGetExperienceEvent
getSource
in interface IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource
@Nullable public @Nullable PartyPlayer getKiller()
IPartyGetExperienceEvent
getKiller
in interface IPartyGetExperienceEvent
PartyPlayer
Copyright © 2023. All rights reserved.