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(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(@NotNull
PlayerProfile profile)
@NotNull public PlayerProfile getPlayerProfile()
public void setProperties(@NotNull
Collection<ProfileProperty> properties)
properties - The properties to set/appendPlayerProfile.setProperties(Collection)@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.