<dd><code><ahref="entity/AbstractArrow.html"title="interface in org.bukkit.entity">AbstractArrow</a></code>, <code><ahref="entity/AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="entity/AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="entity/AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="entity/Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="entity/Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="entity/Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="entity/Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="entity/AreaEffectCloud.html"title="interface in org.bukkit.entity">AreaEffectCloud</a></code>, <code><ahref="entity/ArmorStand.html"title="interface in org.bukkit.entity">ArmorStand</a></code>, <code><ahref="entity/Arrow.html"title="interface in org.bukkit.entity">Arrow</a></code>, <code><ahref="entity/Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="block/Banner.html"title="interface in org.bukkit.block">Banner</a></code>, <code><ahref="block/Barrel.html"title="interface in org.bukkit.block">Barrel</a></code>, <code><ahref="entity/Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="block/Beacon.html"title="interface in org.bukkit.block">Beacon</a></code>, <code><ahref="entity/Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="block/BlastFurnace.html"title="interface in org.bukkit.block">BlastFurnace</a></code>, <code><ahref="entity/Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="entity/Boat.html"title="interface in org.bukkit.entity">Boat</a></code>, <code><ahref="entity/Boss.html"title="interface in org.bukkit.entity">Boss</a></code>, <code><ahref="entity/Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="block/BrewingStand.html"title="interface in org.bukkit.block">BrewingStand</a></code>, <code><ahref="../../io/papermc/paper/entity/Bucketable.html"title="interface in io.papermc.paper.entity">Bucketable</a></code>, <code><ahref="entity/Camel.html"title="interface in org.bukkit.entity">Camel</a></code>, <code><ahref="entity/Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="entity/CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="block/Chest.html"title="interface in org.bukkit.block">Chest</a></code>, <code><ahref="entity/ChestBoat.html"title="interface in org.bukkit.entity">ChestBoat</a></code>, <code><ahref="entity/ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="entity/Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="entity/Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="../../io/papermc/paper/entity/CollarColorable.html"title="interface in io.papermc.paper.entity">CollarColorable</a></code>, <code><ahref="entity/minecart/CommandMinecart.html"title="interface in org.bukkit.entity.minecart">CommandMinecart</a></code>, <code><ahref="entity/ComplexEntityPart.html"title="interface in org.bukkit.entity">ComplexEntityPart</a></code>, <code><ahref="entity/ComplexLivingEntity.html"title="interface in org.bukkit.entity">ComplexLivingEntity</a></code>, <code><ahref="block/Container.html"title="interface in org.bukkit.block">Container</a></code>, <code><ahref="entity/Cow.html"title="interface in org.bukkit.entity">Cow</a></code>, <code><ahref="entity/Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="entity/Creeper.html"title="interface in org.bukkit.entity">Creeper</a></code>, <code><ahref="entity/Damageable.html"title="interface in org.bukkit.entity">Damageable</a><
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#customName(net.kyori.adventure.text.Component)"class="member-name-link">customName</a><wbr>(<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> customName)</code></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/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-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#setCustomName(java.lang.String)"class="member-name-link">setCustomName</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="deprecation-comment">in favour of <ahref="#customName(net.kyori.adventure.text.Component)"><code>customName(net.kyori.adventure.text.Component)</code></a></div>
</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="customName()">
<h3>customName</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://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">customName</span>()</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">customName</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://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a> customName)</span></div>
<p>This name will be used in death messages and can be sent to the client as a nameplate over the mob.</p>
<p>Setting the name to <code>null</code> will clear it.</p>
<p>This value has no effect on players, they will always use their real name.</p></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>customName</code> - the custom name to set</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getCustomName()">
<h3>getCustomName</h3>
<divclass="member-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://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">getCustomName</span>()</div>
<divclass="member-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>
</span><spanclass="return-type">void</span> <spanclass="element-name">setCustomName</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-comment">in favour of <ahref="#customName(net.kyori.adventure.text.Component)"><code>customName(net.kyori.adventure.text.Component)</code></a></div>
</div>
<divclass="block">Sets a custom name on a mob or block. This name will be used in death
messages and can be sent to the client as a nameplate over the mob.
<p>
Setting the name to null or an empty string will clear it.
<p>
This value has no effect on players, they will always use their real