<dd><code><ahref="FixedMetadataValue.html"title="class in org.bukkit.metadata">FixedMetadataValue</a></code>, <code><ahref="LazyMetadataValue.html"title="class in org.bukkit.metadata">LazyMetadataValue</a></code>, <code><ahref="MetadataValueAdapter.html"title="class in org.bukkit.metadata">MetadataValueAdapter</a></code></dd>
<divclass="block">Attempts to convert the value of this metadata item into a short.</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="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">Attempts to convert the value of this metadata item into a string.</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="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a></code></div>
<divclass="block">Returns the <ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin"><code>Plugin</code></a> that created this metadata item.</div>
<divclass="block">Invalidates this metadata item, forcing it to recompute when next
accessed.</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/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></div>
<divclass="block">Fetches the value of this metadata item.</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="value()">
<h3>value</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/Object.html"title="class or interface in java.lang"class="external-link">Object</a></span> <spanclass="element-name">value</span>()</div>
<divclass="block">Fetches the value of this metadata item.</div>
<divclass="block">Attempts to convert the value of this metadata item into a boolean.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the value as a boolean.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="asString()">
<h3>asString</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">asString</span>()</div>
<divclass="block">Attempts to convert the value of this metadata item into a string.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the value as a string.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getOwningPlugin()">
<h3>getOwningPlugin</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="../plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a></span> <spanclass="element-name">getOwningPlugin</span>()</div>
<divclass="block">Returns the <ahref="../plugin/Plugin.html"title="interface in org.bukkit.plugin"><code>Plugin</code></a> that created this metadata item.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the plugin that owns this metadata value. Could be null if the plugin was already unloaded.</dd>