Class BukkitPartiesPartyLevelUpEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
-
- com.alessiodp.parties.api.events.bukkit.party.BukkitPartiesPartyLevelUpEvent
-
- All Implemented Interfaces:
IPartyLevelUpEvent,PartiesEvent
public class BukkitPartiesPartyLevelUpEvent extends BukkitPartiesEvent implements IPartyLevelUpEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitPartiesPartyLevelUpEvent(Party party, int newLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNewLevel()Get the new party level@NotNull PartygetParty()Get the party that leveled up-
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
-
BukkitPartiesPartyLevelUpEvent
public BukkitPartiesPartyLevelUpEvent(Party party, int newLevel)
-
-
Method Detail
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPartyLevelUpEventGet the party that leveled up- Specified by:
getPartyin interfaceIPartyLevelUpEvent- Returns:
- the
Party
-
getNewLevel
public int getNewLevel()
Description copied from interface:IPartyLevelUpEventGet the new party level- Specified by:
getNewLevelin interfaceIPartyLevelUpEvent- Returns:
- the new level of the party
-
-