Interface IPartyGetExperienceEvent
-
- All Superinterfaces:
PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPartyGetExperienceEvent,BungeePartiesPartyGetExperienceEvent,VelocityPartiesPartyGetExperienceEvent
public interface IPartyGetExperienceEvent extends PartiesEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIPartyGetExperienceEvent.ExpSource
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetExperience()Get the experience@Nullable PartyPlayergetKiller()Get the player who killed the mob@NotNull PartygetParty()Get the party@NotNull IPartyGetExperienceEvent.ExpSourcegetSource()Get experience source-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getExperience
double getExperience()
Get the experience- Returns:
- the experience
-
getSource
@NotNull @NotNull IPartyGetExperienceEvent.ExpSource getSource()
Get experience source- Returns:
- the
IPartyGetExperienceEvent.ExpSource
-
getKiller
@Nullable @Nullable PartyPlayer getKiller()
Get the player who killed the mob- Returns:
- the
PartyPlayer
-
-