Class PartyCreateEvent
java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.party.PartyCreateEvent
Called when a new party is created.
- Since:
- 1.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListGets the handler list for this event.@NotNull UUIDGets the UUID of the player who created the party.@NotNull ZentrixPartygetParty()Gets the party that was created.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PartyCreateEvent
-
-
Method Details
-
getParty
Gets the party that was created.- Returns:
- The created party
-
getLeaderId
Gets the UUID of the player who created the party.- Returns:
- The leader's UUID
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()Description copied from class:ZentrixEventGets the handler list for this event.- Overrides:
getHandlersin classZentrixEvent- Returns:
- The handler list
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-