<divclass="type-signature"><spanclass="annotations"><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)
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span>
<divclass="deprecation-comment">use <ahref="../../../io/papermc/paper/advancement/AdvancementDisplay.html"title="interface in io.papermc.paper.advancement"><code>AdvancementDisplay</code></a></div>
</div>
<divclass="block">Holds information about how the advancement is displayed by the game.</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="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Gets the visible description of the advancement.</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/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></code></div>
<divclass="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">The icon that is used for this advancement.</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="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Gets the title of the advancement.</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/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="AdvancementDisplayType.html"title="enum class in org.bukkit.advancement">AdvancementDisplayType</a></code></div>
<divclass="block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Whether to show a toast to the player when this advancement has been
completed.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getTitle()">
<h3>getTitle</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getTitle</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">Gets the title of the advancement.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The advancement title without colour codes.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getDescription()">
<h3>getDescription</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/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getDescription</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">Gets the visible description of the advancement.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The advancement description without colour codes.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getIcon()">
<h3>getIcon</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="../inventory/ItemStack.html"title="class in org.bukkit.inventory">ItemStack</a></span> <spanclass="element-name">getIcon</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">The icon that is used for this advancement.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>an ItemStack that represents the advancement.</dd>
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Whether to show a toast to the player when this advancement has been
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">Whether to announce in the chat when this advancement has been completed.</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">Whether to hide this advancement and all its children from the
advancement screen until this advancement have been completed.
Has no effect on root advancements themselves, but still affects all
<divclass="deprecation-block"><spanclass="deprecated-label">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>
<divclass="block">The X position of the advancement in the advancement screen.</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">The Y position of the advancement in the advancement screen.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the Y coordinate as float</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getType()">
<h3>getType</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="AdvancementDisplayType.html"title="enum class in org.bukkit.advancement">AdvancementDisplayType</a></span> <spanclass="element-name">getType</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">The display type of this advancement.</div>