Class LookupProfileEvent
java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.profile.LookupProfileEvent
Allows a plugin to be notified anytime AFTER a Profile has been looked up from the Mojang API
This is an opportunity to view the response and potentially cache things.
No guarantees are made about thread execution context for this event. If you need to know, check
event.isAsync()
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
LookupProfileEvent
-
-
Method Details
-
getPlayerProfile
- Returns:
- The profile that was recently looked up. This profile can be mutated
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-