Class BukkitPartiesPartyGetExperienceEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
-
- com.alessiodp.parties.api.events.bukkit.party.BukkitPartiesPartyGetExperienceEvent
-
- All Implemented Interfaces:
IPartyGetExperienceEvent,PartiesEvent
public class BukkitPartiesPartyGetExperienceEvent extends BukkitPartiesEvent implements IPartyGetExperienceEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alessiodp.parties.api.events.common.party.IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource
-
-
Constructor Summary
Constructors Constructor Description BukkitPartiesPartyGetExperienceEvent(Party party, double experience, PartyPlayer killer)
-
Method Summary
All Methods Instance Methods Concrete 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 class com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BukkitPartiesPartyGetExperienceEvent
public BukkitPartiesPartyGetExperienceEvent(Party party, double experience, PartyPlayer killer)
-
-
Method Detail
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPartyGetExperienceEventGet the party- Specified by:
getPartyin interfaceIPartyGetExperienceEvent- Returns:
- the
Party
-
getExperience
public double getExperience()
Description copied from interface:IPartyGetExperienceEventGet the experience- Specified by:
getExperiencein interfaceIPartyGetExperienceEvent- Returns:
- the experience
-
getSource
@NotNull public @NotNull IPartyGetExperienceEvent.ExpSource getSource()
Description copied from interface:IPartyGetExperienceEventGet experience source- Specified by:
getSourcein interfaceIPartyGetExperienceEvent- Returns:
- the
IPartyGetExperienceEvent.ExpSource
-
getKiller
@Nullable public @Nullable PartyPlayer getKiller()
Description copied from interface:IPartyGetExperienceEventGet the player who killed the mob- Specified by:
getKillerin interfaceIPartyGetExperienceEvent- Returns:
- the
PartyPlayer
-
-