public class VelocityPartiesPartyLevelUpEvent extends VelocityPartiesEvent implements IPartyLevelUpEvent
Constructor and Description |
---|
VelocityPartiesPartyLevelUpEvent(Party party,
int newLevel) |
Modifier and Type | Method and Description |
---|---|
int |
getNewLevel()
Get the new party level
|
@NotNull Party |
getParty()
Get the party that leveled up
|
getApi, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public VelocityPartiesPartyLevelUpEvent(Party party, int newLevel)
@NotNull public @NotNull Party getParty()
IPartyLevelUpEvent
getParty
in interface IPartyLevelUpEvent
Party
public int getNewLevel()
IPartyLevelUpEvent
getNewLevel
in interface IPartyLevelUpEvent
Copyright © 2023. All rights reserved.