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 class org.bukkit.event.Event
org.bukkit.event.Event.ResultNested classes/interfaces inherited from interface com.alessiodp.parties.api.events.common.party.IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource -
Constructor Summary
ConstructorsConstructorDescriptionBukkitPartiesPartyGetExperienceEvent(Party party, double experience, PartyPlayer killer) -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the experience@Nullable PartyPlayerGet the player who killed the mob@NotNull PartygetParty()Get the party@NotNull IPartyGetExperienceEvent.ExpSourceGet experience sourceMethods inherited from class com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApiMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
BukkitPartiesPartyGetExperienceEvent
-
-
Method Details
-
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
Description copied from interface:IPartyGetExperienceEventGet experience source- Specified by:
getSourcein interfaceIPartyGetExperienceEvent- Returns:
- the
IPartyGetExperienceEvent.ExpSource
-
getKiller
Description copied from interface:IPartyGetExperienceEventGet the player who killed the mob- Specified by:
getKillerin interfaceIPartyGetExperienceEvent- Returns:
- the
PartyPlayer
-