Class LookupProfileEvent

java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.profile.LookupProfileEvent

@NullMarked public class LookupProfileEvent extends Event
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.isAsynchronous()

  • Constructor Details

  • Method Details

    • getPlayerProfile

      public PlayerProfile getPlayerProfile()
      Returns:
      The profile that was recently looked up. This profile can be mutated
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()