<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html"title="class or interface in java.lang"class="external-link">Cloneable</a></code>, <code><ahref="../../../../org/bukkit/configuration/serialization/ConfigurationSerializable.html"title="interface in org.bukkit.configuration.serialization">ConfigurationSerializable</a></code>, <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<divclass="block">Like <ahref="#complete(boolean)"><code>complete(boolean)</code></a> but will try only from cache, and not make network calls
Does not account for textures.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile">PlayerTextures</a></code></div>
<divclass="block">Gets the <ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile"><code>PlayerTextures</code></a> of this profile.</div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasProperty(java.lang.String)"class="member-name-link">hasProperty</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> property)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#removeProperties(java.util.Collection)"class="member-name-link">removeProperties</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>> properties)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#removeProperty(com.destroystokyo.paper.profile.ProfileProperty)"class="member-name-link">removeProperty</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a> property)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removeProperty(java.lang.String)"class="member-name-link">removeProperty</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> property)</code></div>
<divclass="block">Removes a specific property from this profile</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#setId(java.util.UUID)"class="member-name-link">setId</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uuid)</code></div>
<divclass="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#setName(java.lang.String)"class="member-name-link">setName</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setProperties(java.util.Collection)"class="member-name-link">setProperties</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>> properties)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setProperty(com.destroystokyo.paper.profile.ProfileProperty)"class="member-name-link">setProperty</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a> property)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setTextures(org.bukkit.profile.PlayerTextures)"class="member-name-link">setTextures</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile">PlayerTextures</a> textures)</code></div>
<divclass="block">Copies the given textures.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="PlayerProfile.html"title="interface in com.destroystokyo.paper.profile">PlayerProfile</a>></code></div>
<divclass="block">Produces an updated player profile based on this profile.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.configuration.serialization.ConfigurationSerializable">Methods inherited from interface org.bukkit.configuration.serialization.<ahref="../../../../org/bukkit/configuration/serialization/ConfigurationSerializable.html"title="interface in org.bukkit.configuration.serialization">ConfigurationSerializable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.profile.PlayerProfile">Methods inherited from interface org.bukkit.profile.<ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getName</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#getName()">PlayerProfile</a></code></span></div>
<divclass="block">Gets the player name.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#getName()">getName</a></code> in interface <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">setName</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name)</span></div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Sets this profiles Name</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>name</code> - The new Name</dd>
<dt>Returns:</dt>
<dd>The previous Name</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getId()">
<h3>getId</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a></span> <spanclass="element-name">getId</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The players unique identifier, if set</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="setId(java.util.UUID)">
<h3>setId</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html#forRemoval()"title="class or interface in java.lang"class="external-link">forRemoval</a>=true)
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a></span> <spanclass="element-name">setId</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a> uuid)</span></div>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Sets this profiles UUID</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>uuid</code> - The new UUID</dd>
<dt>Returns:</dt>
<dd>The previous UUID</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getTextures()">
<h3>getTextures</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile">PlayerTextures</a></span> <spanclass="element-name">getTextures</span>()</div>
<divclass="block">Gets the <ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile"><code>PlayerTextures</code></a> of this profile.
This will build a snapshot of the current texture data once
requested inside PlayerTextures.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#getTextures()">getTextures</a></code> in interface <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setTextures</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../../org/bukkit/profile/PlayerTextures.html"title="interface in org.bukkit.profile">PlayerTextures</a> textures)</span></div>
<divclass="block">Copies the given textures.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#setTextures(org.bukkit.profile.PlayerTextures)">setTextures</a></code> in interface <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<dt>Parameters:</dt>
<dd><code>textures</code> - the textures to copy, or <code>null</code> to clear the
textures</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getProperties()">
<h3>getProperties</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>></span> <spanclass="element-name">getProperties</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>A Mutable set of this players properties, such as textures.
Values specified here are subject to implementation details.</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasProperty</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> property)</span></div>
<divclass="block">Check if the Profile has the specified property</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>property</code> - Property name to check</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setProperty</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a> property)</span></div>
<divclass="block">Sets a property. If the property already exists, the previous one will be replaced</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setProperties</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>> properties)</span></div>
<divclass="block">Sets multiple properties. If any of the set properties already exist, it will be replaced</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>properties</code> - The properties to set</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">removeProperty</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> property)</span></div>
<divclass="block">Removes a specific property from this profile</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>property</code> - The property to remove</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">removeProperty</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a> property)</span></div>
<divclass="block">Removes a specific property from this profile</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>property</code> - The property to remove</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">removeProperties</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="ProfileProperty.html"title="class in com.destroystokyo.paper.profile">ProfileProperty</a>> properties)</span></div>
<divclass="block">Removes all properties in the collection</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>properties</code> - The properties to remove</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#isComplete()">PlayerProfile</a></code></span></div>
<divclass="block">Checks whether this profile is complete.
<p>
A profile is currently considered complete if it has a name, a unique id,
and textures.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#isComplete()">isComplete</a></code> in interface <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<dt>Returns:</dt>
<dd>If the profile is now complete (has UUID and Name)</dd>
<divclass="block">If this profile is not complete, then make the API call to complete it.
This is a blocking operation and should be done asynchronously.
Optionally will also fill textures.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>textures</code> - controls if we should fill the profile with texture properties</dd>
<dd><code>onlineMode</code> - Treat this server as online mode or not</dd>
<dt>Returns:</dt>
<dd>If the profile is now complete (has UUID and Name) (if you get rate limited, this operation may fail)</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="update()">
<h3>update</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="PlayerProfile.html"title="interface in com.destroystokyo.paper.profile">PlayerProfile</a>></span> <spanclass="element-name">update</span>()</div>
<divclass="block">Produces an updated player profile based on this profile.
<p>
This tries to produce a completed profile by filling in missing
properties (name, unique id, textures, etc.), and updates existing
properties (e.g. name, textures, etc.) to their official and up-to-date
values. This operation does not alter the current profile, but produces a
new updated <ahref="PlayerProfile.html"title="interface in com.destroystokyo.paper.profile"><code>PlayerProfile</code></a>.
<p>
If no player exists for the unique id or name of this profile, this
operation yields a profile that is equal to the current profile, which
might not be complete.
<p>
This is an asynchronous operation: Updating the profile can result in an
outgoing connection in another thread in order to fetch the latest
profile properties. The returned <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link"><code>CompletableFuture</code></a> will be
completed once the updated profile is available. In order to not block
the server's main thread, you should not wait for the result of the
returned CompletableFuture on the server's main thread. Instead, if you
want to do something with the updated player profile on the server's main
thread once it is available, you could do something like this:
<dd><code><ahref="../../../../org/bukkit/profile/PlayerProfile.html#update()">update</a></code> in interface <code><ahref="../../../../org/bukkit/profile/PlayerProfile.html"title="interface in org.bukkit.profile">PlayerProfile</a></code></dd>
<dt>Returns:</dt>
<dd>a completable future that gets completed with the updated