| Package | Description |
|---|---|
| com.destroystokyo.paper.event.profile | |
| com.destroystokyo.paper.profile |
| Modifier and Type | Method | Description |
|---|---|---|
Set<ProfileProperty> |
PreLookupProfileEvent.getProfileProperties() |
|
Set<ProfileProperty> |
FillProfileEvent.getProperties() |
Same as .getPlayerProfile().getProperties()
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
PreLookupProfileEvent.addProfileProperties(Set<ProfileProperty> properties) |
Adds any properties currently missing to the prepopulated properties set, replacing any that already were set.
|
void |
PreLookupProfileEvent.setProfileProperties(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(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 |
|---|---|---|
Set<ProfileProperty> |
PlayerProfile.getProperties() |
| Modifier and Type | Method | Description |
|---|---|---|
default boolean |
PlayerProfile.removeProperty(ProfileProperty property) |
Removes a specific property from this profile
|
void |
PlayerProfile.setProperty(ProfileProperty property) |
Sets a property.
|
| Modifier and Type | Method | Description |
|---|---|---|
default boolean |
PlayerProfile.removeProperties(Collection<ProfileProperty> properties) |
Removes all properties in the collection
|
void |
PlayerProfile.setProperties(Collection<ProfileProperty> properties) |
Sets multiple properties.
|
Copyright © 2020. All rights reserved.