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