public class PreFillProfileEvent extends Event
Event.Result| Constructor and Description |
|---|
PreFillProfileEvent(PlayerProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
PlayerProfile |
getPlayerProfile() |
void |
setProperties(Collection<ProfileProperty> properties)
Sets the properties on the profile, avoiding the call to the Mojang API
Same as .getPlayerProfile().setProperties(properties);
|
callEvent, getEventName, isAsynchronouspublic PreFillProfileEvent(PlayerProfile profile)
public PlayerProfile getPlayerProfile()
public void setProperties(@Nonnull Collection<ProfileProperty> properties)
properties - The properties to set/appendPlayerProfile.setProperties(Collection)public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.