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 SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
PreFillProfileEvent
 
- 
- 
Method Details- 
getPlayerProfile- Returns:
- The profile that needs its properties filled
 
- 
setPropertiesSets 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 class- Event
 
- 
getHandlerList
 
-