Class TeamUpdateEvent
java.lang.Object
org.bukkit.event.Event
com.fren_gor.ultimateAdvancementAPI.events.team.TeamUpdateEvent
Deprecated, for removal: This API element is subject to removal in a future version.
Called when a team member joins or leaves a team.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Deprecated, for removal: This API element is subject to removal in a future version.The action that occurred.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionTeamUpdateEvent
(@NotNull TeamProgression team, @NotNull UUID playerUUID, @NotNull TeamUpdateEvent.Action action) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newTeamUpdateEvent
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets theTeamUpdateEvent.Action
of the update.static HandlerList
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets theUUID
of the player.Deprecated, for removal: This API element is subject to removal in a future version.Gets theTeamProgression
of the player's team.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.toString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TeamUpdateEvent
public TeamUpdateEvent(@NotNull @NotNull TeamProgression team, @NotNull @NotNull UUID playerUUID, @NotNull @NotNull TeamUpdateEvent.Action action) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newTeamUpdateEvent
.- Parameters:
team
- TheTeamProgression
of the player's team.playerUUID
- TheUUID
of the player.action
- TheTeamUpdateEvent.Action
of the update.
-
-
Method Details
-
getTeamProgression
Deprecated, for removal: This API element is subject to removal in a future version.Gets theTeamProgression
of the player's team.- Returns:
- The
TeamProgression
of the player's team.
-
getPlayerUUID
Deprecated, for removal: This API element is subject to removal in a future version.Gets theUUID
of the player.- Returns:
- The
UUID
of the player.
-
getAction
Deprecated, for removal: This API element is subject to removal in a future version.Gets theTeamUpdateEvent.Action
of the update.- Returns:
- The
TeamUpdateEvent.Action
of the update.
-
getHandlerList
Deprecated, for removal: This API element is subject to removal in a future version. -
getHandlers
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHandlers
in classEvent
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-
AsyncTeamUpdateEvent
instead.