<divclass="block">Provides access to the textures stored inside a <ahref="PlayerProfile.html"title="interface in org.bukkit.profile"><code>PlayerProfile</code></a>.
<p>
Modifying the textures immediately invalidates and clears any previously
present attributes that are specific to official player profiles, such as the
<ahref="#getTimestamp()"><code>timestamp</code></a> and <ahref="#isSigned()"><code>signature</code></a>.</div>
<divclass="col-second even-row-color"><code><ahref="PlayerTextures.SkinModel.html"class="type-name-link"title="enum class in org.bukkit.profile">PlayerTextures.SkinModel</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The different Minecraft skin models.</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a></code></div>
<divclass="block">Gets the URL that points to the player's cape.</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/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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a></code></div>
<divclass="block">Gets the URL that points to the player's skin.</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/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile">PlayerTextures.SkinModel</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setCape(java.net.URL)"class="member-name-link">setCape</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> capeUrl)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setSkin(java.net.URL)"class="member-name-link">setSkin</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> skinUrl)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setSkin(java.net.URL,org.bukkit.profile.PlayerTextures.SkinModel)"class="member-name-link">setSkin</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> skinUrl,
<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="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile">PlayerTextures.SkinModel</a> skinModel)</code></div>
<divclass="block">Sets the player's skin and <ahref="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile"><code>PlayerTextures.SkinModel</code></a>.</div>
<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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a></span> <spanclass="element-name">getSkin</span>()</div>
<divclass="block">Gets the URL that points to the player's skin.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the URL of the player's skin, or <code>null</code> if not set</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="setSkin(java.net.URL)">
<h3>setSkin</h3>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setSkin</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> skinUrl)</span></div>
<divclass="block">Sets the player's skin to the specified URL, and the skin model to
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setSkin</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> skinUrl,
<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="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile">PlayerTextures.SkinModel</a> skinModel)</span></div>
<divclass="block">Sets the player's skin and <ahref="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile"><code>PlayerTextures.SkinModel</code></a>.
<p>
The URL <b>must</b> point to the Minecraft texture server. Example URL:
A skin model of <code>null</code> results in <ahref="PlayerTextures.SkinModel.html#CLASSIC"><code>PlayerTextures.SkinModel.CLASSIC</code></a> to
be used.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>skinUrl</code> - the URL of the player's skin, or <code>null</code> to
unset it</dd>
<dd><code>skinModel</code> - the skin model, ignored if the skin URL is
<code>null</code></dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getSkinModel()">
<h3>getSkinModel</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="PlayerTextures.SkinModel.html"title="enum class in org.bukkit.profile">PlayerTextures.SkinModel</a></span> <spanclass="element-name">getSkinModel</span>()</div>
<divclass="block">Gets the model of the player's skin.
<p>
This returns <ahref="PlayerTextures.SkinModel.html#CLASSIC"><code>PlayerTextures.SkinModel.CLASSIC</code></a> if no skin is set.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the model of the player's skin</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getCape()">
<h3>getCape</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a></span> <spanclass="element-name">getCape</span>()</div>
<divclass="block">Gets the URL that points to the player's cape.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the URL of the player's cape, or <code>null</code> if not set</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="setCape(java.net.URL)">
<h3>setCape</h3>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setCape</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/net/URL.html"title="class or interface in java.net"class="external-link">URL</a> capeUrl)</span></div>
<divclass="block">Sets the URL that points to the player's cape.
<p>
The URL <b>must</b> point to the Minecraft texture server. Example URL: