Class AsyncTeamLoadEvent
java.lang.Object
org.bukkit.event.Event
com.fren_gor.ultimateAdvancementAPI.events.team.AsyncTeamLoadEvent
Called when a new
TeamProgression
instance is created and stored in the caching system.
The TeamProgression
instance provided by this event is always valid.
May be called asynchronously.
- Since:
- 2.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionCreates a newAsyncTeamLoadEvent
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static HandlerList
Gets the loadedTeamProgression
.int
hashCode()
toString()
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AsyncTeamLoadEvent
Creates a newAsyncTeamLoadEvent
.- Parameters:
team
- The loadedTeamProgression
. It must be valid (seeTeamProgression.isValid()
).
-
-
Method Details
-
getTeamProgression
Gets the loadedTeamProgression
.- Returns:
- The loaded
TeamProgression
.
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
toString
-
equals
-
hashCode
public int hashCode()
-