public class PreFillProfileEvent extends Event
Event.Result
Constructor | Description |
---|---|
PreFillProfileEvent(@NotNull PlayerProfile profile) |
Modifier and Type | Method | 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, isAsynchronous
public 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 © 2020. All rights reserved.