Class PreFillProfileEvent
java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.profile.PreFillProfileEvent
Fired when the server is requesting to fill in properties of an incomplete profile, such as textures.
 Allows plugins to pre populate cached properties and avoid a call to the Mojang API
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerListvoidsetProperties(@NotNull Collection<ProfileProperty> properties) Sets the properties on the profile, avoiding the call to the Mojang API Same as .getPlayerProfile().setProperties(properties);Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous 
- 
Constructor Details
- 
PreFillProfileEvent
 
 - 
 - 
Method Details
- 
getPlayerProfile
- Returns:
 - The profile that needs its properties filled
 
 - 
setProperties
Sets the properties on the profile, avoiding the call to the Mojang API Same as .getPlayerProfile().setProperties(properties);- Parameters:
 properties- The properties to set/append- See Also:
 
 - 
getHandlers
- Specified by:
 getHandlersin classEvent
 - 
getHandlerList
 
 -