Class VelocityPartiesEvent
- java.lang.Object
-
- com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
-
- All Implemented Interfaces:
PartiesEvent
- Direct Known Subclasses:
VelocityPartiesPartyFollowEvent,VelocityPartiesPartyGetExperienceEvent,VelocityPartiesPartyLevelUpEvent,VelocityPartiesPartyPostBroadcastEvent,VelocityPartiesPartyPostCreateEvent,VelocityPartiesPartyPostDeleteEvent,VelocityPartiesPartyPostRenameEvent,VelocityPartiesPartyPreBroadcastEvent,VelocityPartiesPartyPreCreateEvent,VelocityPartiesPartyPreDeleteEvent,VelocityPartiesPartyPreExperienceDropEvent,VelocityPartiesPartyPreRenameEvent,VelocityPartiesPlayerPostChatEvent,VelocityPartiesPlayerPostHomeEvent,VelocityPartiesPlayerPostInviteEvent,VelocityPartiesPlayerPostJoinEvent,VelocityPartiesPlayerPostLeaveEvent,VelocityPartiesPlayerPostTeleportEvent,VelocityPartiesPlayerPreChatEvent,VelocityPartiesPlayerPreHomeEvent,VelocityPartiesPlayerPreInviteEvent,VelocityPartiesPlayerPreJoinEvent,VelocityPartiesPlayerPreLeaveEvent,VelocityPartiesPlayerPreTeleportEvent
public abstract class VelocityPartiesEvent extends Object implements PartiesEvent
-
-
Constructor Summary
Constructors Constructor Description VelocityPartiesEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PartiesAPIgetApi()Get the Parties API instancevoidsetApi(PartiesAPI instance)Set the Parties API instance.
-
-
-
Method Detail
-
getApi
@NotNull public @NotNull PartiesAPI getApi()
Description copied from interface:PartiesEventGet the Parties API instance- Specified by:
getApiin interfacePartiesEvent- Returns:
- the
PartiesAPI
-
setApi
public void setApi(PartiesAPI instance)
Description copied from interface:PartiesEventSet the Parties API instance. Used by Parties instance to let you hook directly to the main API.- Specified by:
setApiin interfacePartiesEvent- Parameters:
instance-PartiesAPIinstance to set
-
-