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, isAsynchronous
public 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 Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.