Package | Description |
---|---|
com.destroystokyo.paper.event.profile | |
com.destroystokyo.paper.profile |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Set<ProfileProperty> |
PreLookupProfileEvent.getProfileProperties() |
|
@NotNull Set<ProfileProperty> |
FillProfileEvent.getProperties() |
Same as .getPlayerProfile().getProperties()
|
Modifier and Type | Method | Description |
---|---|---|
void |
PreLookupProfileEvent.addProfileProperties(@NotNull Set<ProfileProperty> properties) |
Adds any properties currently missing to the prepopulated properties set, replacing any that already were set.
|
void |
PreLookupProfileEvent.setProfileProperties(@NotNull Set<ProfileProperty> properties) |
Clears any existing prepopulated properties and uses the supplied properties
Any property in this Set will be automatically prefilled on this Profile
|
void |
PreFillProfileEvent.setProperties(@NotNull Collection<ProfileProperty> properties) |
Sets the properties on the profile, avoiding the call to the Mojang API
Same as .getPlayerProfile().setProperties(properties);
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Set<ProfileProperty> |
PlayerProfile.getProperties() |
Modifier and Type | Method | Description |
---|---|---|
default boolean |
PlayerProfile.removeProperty(@NotNull ProfileProperty property) |
Removes a specific property from this profile
|
void |
PlayerProfile.setProperty(@NotNull ProfileProperty property) |
Sets a property.
|
Modifier and Type | Method | Description |
---|---|---|
default boolean |
PlayerProfile.removeProperties(@NotNull Collection<ProfileProperty> properties) |
Removes all properties in the collection
|
void |
PlayerProfile.setProperties(@NotNull Collection<ProfileProperty> properties) |
Sets multiple properties.
|
Copyright © 2020. All rights reserved.