Class TeamUnloadEvent
java.lang.Object
org.bukkit.event.Event
com.fren_gor.ultimateAdvancementAPI.events.team.TeamUnloadEvent
Deprecated, for removal: This API element is subject to removal in a future version.
Called after a
TeamProgression
instance is removed from the caching system.
The TeamProgression
instance provided by this event is always invalid.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a newTeamUnloadEvent
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.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 theTeamProgression
of the unloaded 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
-
TeamUnloadEvent
Deprecated, for removal: This API element is subject to removal in a future version.Creates a newTeamUnloadEvent
.- Parameters:
team
- TheTeamProgression
of the unloaded team. It must be invalid (seeTeamProgression.isValid()
).
-
-
Method Details
-
getTeamProgression
Deprecated, for removal: This API element is subject to removal in a future version.Gets theTeamProgression
of the unloaded team.Note that the returned
TeamProgression
is always invalid (seeTeamProgression.isValid()
).- Returns:
- The
TeamProgression
of the unloaded team.
-
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.
-
AsyncTeamUnloadEvent
instead.