public class PreFillProfileEvent extends Event
Event.Result| Constructor | Description |
|---|---|
PreFillProfileEvent(PlayerProfile profile) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
PlayerProfile |
getPlayerProfile() |
|
void |
setProperties(java.util.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
java.util.Collection<ProfileProperty> properties)
properties - The properties to set/appendPlayerProfile.setProperties(Collection)public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.