Class BungeePartiesPartyGetExperienceEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
com.alessiodp.parties.api.events.bungee.party.BungeePartiesPartyGetExperienceEvent
- All Implemented Interfaces:
IPartyGetExperienceEvent,PartiesEvent
public class BungeePartiesPartyGetExperienceEvent
extends BungeePartiesEvent
implements IPartyGetExperienceEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alessiodp.parties.api.events.common.party.IPartyGetExperienceEvent
IPartyGetExperienceEvent.ExpSource -
Constructor Summary
ConstructorsConstructorDescriptionBungeePartiesPartyGetExperienceEvent(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.bungee.BungeePartiesEvent
getApi, setApiMethods inherited from class net.md_5.bungee.api.plugin.Event
postCallMethods 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
-
BungeePartiesPartyGetExperienceEvent
-
-
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
-