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
Constructors Constructor Description BungeePartiesPartyGetExperienceEvent(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.bungee.BungeePartiesEvent
getApi, 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
-
BungeePartiesPartyGetExperienceEvent
public BungeePartiesPartyGetExperienceEvent(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
-
-