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 Details

    • VelocityPartiesEvent

      public VelocityPartiesEvent()
  • Method Details

    • getApi

      @NotNull public @NotNull PartiesAPI getApi()
      Description copied from interface: PartiesEvent
      Get the Parties API instance
      Specified by:
      getApi in interface PartiesEvent
      Returns:
      the PartiesAPI
    • setApi

      public void setApi(PartiesAPI instance)
      Description copied from interface: PartiesEvent
      Set the Parties API instance. Used by Parties instance to let you hook directly to the main API.
      Specified by:
      setApi in interface PartiesEvent
      Parameters:
      instance - PartiesAPI instance to set