<dd><code><ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></code>, <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code>, <code><ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></code>, <code><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code>, <code><ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code>, <code><ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></code>, <code><ahref="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</a></code>, <code><ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/sound/Sound.Emitter.html"title="class or interface in net.kyori.adventure.sound"class="external-link">Sound.Emitter</a></code></dd>
</dl>
<dlclass="notes">
<dt>All Known Subinterfaces:</dt>
<dd><code><ahref="AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="Cow.html"title="interface in org.bukkit.entity">Cow</a></code>, <code><ahref="Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="Creeper.html"title="interface in org.bukkit.entity">Creeper</a></code>, <code><ahref="Dolphin.html"title="interface in org.bukkit.entity">Dolphin</a></code>, <code><ahref="Donkey.html"title="interface in org.bukkit.entity">Donkey</a></code>, <code><ahref="Drowned.html"title="interface in org.bukkit.entity">Drowned</a></code>, <code><ahref="ElderGuardian.html"title="interface in org.bukkit.entity">ElderGuardian</a></code>, <code><ahref="EnderDragon.html"title="interface in org.bukkit.entity">EnderDragon</a></code>, <code><ahref="Enderman.html"title="interface in org.bukkit.entity">Enderman</a></code>, <code><ahref="Endermite.html"title="interface in org.bukkit.entity">Endermite</a></code>, <code><ahref="Evoker.html"title="interface in org.bukkit.entity">Evoker</a></code>, <code><ahref="Fish.html"title="interface in org.bukkit.entity">Fish</a></code>, <code><ahref="Flying.html"title="interface in org.bukkit.entity">Flying</a></code>, <code><ahref="Fox.html"title="interface in org.bukkit.entity">Fox</a></code>, <code><ahref="Frog.html"title="interface in org.bukkit.entity">Frog</a></code>, <code><ahref="Ghast.html"title="interface in org.bukkit.entity">Ghast</a></code>, <code><ahref="Giant.html"title="interface in org.bukkit.entity">Giant</a></code>, <code><ahref="GlowSquid.html"title="interface in org.bukkit.entity">GlowSquid</a></code>, <code><ahref="Goat.html"title="interface in org.bukkit.entity">Goat</a></code>, <code><ahref="Golem.html"title="interface in org.bukkit.entity">Golem</a></code>, <code><ahref="Guardian.html"title="interface in org.bukkit.entity">Guardian</a></code>, <code><ahref="Hoglin.html"title="interface in org.bukkit.entity">Hoglin</a></code>, <code><ahref="Horse.html"title="interface in org.bukkit.entity">Horse</a></code>, <code><ahref="Husk.html"title="interface in org.bukkit.entity">Husk</a></code>, <code><ahref="Illager.html"title="interface in org.bukkit.entity">Illager</a></code>, <code><ahref="Illusioner.html"title="interface in org.bukkit.entity">Illusioner</a></code>, <code><ahref="IronGolem.html"title="interface in org.bukkit.entity">IronGolem</a></code>, <code><ahref="Llama.html"title="interface in org.bukkit.entity">Llama</a></code>, <code><ahref="MagmaCube.html"title="interface in org.bukkit.entity">MagmaCube</a></code>, <code><ahref="Monster.html"title=
extends <ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a>, <ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></span></div>
<divclass="block">Represents a Mob. Mobs are living entities with simple AI.</div>
<h2id="nested-classes-inherited-from-class-org.bukkit.entity.Entity">Nested classes/interfaces inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h2>
<code><ahref="Entity.Spigot.html"title="class in org.bukkit.entity">Entity.Spigot</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="../inventory/EntityEquipment.html"title="interface in org.bukkit.inventory">EntityEquipment</a></code></div>
<divclass="block">Enables access to control the pathing of an Entity</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="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#lookAt(org.bukkit.entity.Entity)"class="member-name-link">lookAt</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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#lookAt(org.bukkit.entity.Entity,float,float)"class="member-name-link">lookAt</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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setTarget(org.bukkit.entity.LivingEntity)"class="member-name-link">setTarget</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="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</code></div>
<divclass="block">Instructs this Mob to set the specified LivingEntity as its target.</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.attribute.Attributable">Methods inherited from interface org.bukkit.attribute.<ahref="../attribute/Attributable.html"title="interface in org.bukkit.attribute">Attributable</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface net.kyori.adventure.audience.<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#clearTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">clearTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#filterAudience(java.util.function.Predicate)"title="class or interface in net.kyori.adventure.audience"class="external-link">filterAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#forEachAudience(java.util.function.Consumer)"title="class or interface in net.kyori.adventure.audience"class="external-link">forEachAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#hideBossBar(net.kyori.adventure.bossbar.BossBar)"title="class or interface in net.kyori.adventure.audience"class="external-link">hideBossBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book.Builder)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,double,double,double)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,net.kyori.adventure.sound.Sound.Emitter)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#resetTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">resetTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.ComponentLike)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.ComponentLike)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahr
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.command.CommandSender">Methods inherited from interface org.bukkit.command.<ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.entity.Damageable">Methods inherited from interface org.bukkit.entity.<ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.entity.Entity">Methods inherited from interface org.bukkit.entity.<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.text.event.HoverEventSource">Methods inherited from interface net.kyori.adventure.text.event.<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent()"title="class or interface in net.kyori.adventure.text.event"class="external-link">asHoverEvent</a></code></div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.entity.LivingEntity">Methods inherited from interface org.bukkit.entity.<ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.loot.Lootable">Methods inherited from interface org.bukkit.loot.<ahref="../loot/Lootable.html"title="interface in org.bukkit.loot">Lootable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.Permissible">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface org.bukkit.persistence.<ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface net.kyori.adventure.pointer.<ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#get(net.kyori.adventure.pointer.Pointer)"title="class or interface in net.kyori.adventure.pointer"class="external-link">get</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#getOrDefault(net.kyori.adventure.pointer.Pointer,T)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefault</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#getOrDefaultFrom(net.kyori.adventure.pointer.Pointer,java.util.function.Supplier)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefaultFrom</a>, <ahref="https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/pointer/Pointered.html#pointers()"title="class or interface in net.kyori.adventure.pointer"class="external-link">pointers</a></code></div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.projectiles.ProjectileSource">Methods inherited from interface org.bukkit.projectiles.<ahref="../projectiles/ProjectileSource.html"title="interface in org.bukkit.projectiles">ProjectileSource</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<divclass="member-signature"><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/EntityEquipment.html"title="interface in org.bukkit.inventory">EntityEquipment</a></span> <spanclass="element-name">getEquipment</span>()</div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="LivingEntity.html#getEquipment()">LivingEntity</a></code></span></div>
<divclass="block">Gets the inventory with the equipment worn by the living entity.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="LivingEntity.html#getEquipment()">getEquipment</a></code> in interface <code><ahref="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></code></dd>
<dt>Returns:</dt>
<dd>the living entity's inventory</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPathfinder()">
<h3>getPathfinder</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="../../../com/destroystokyo/paper/entity/Pathfinder.html"title="interface in com.destroystokyo.paper.entity">Pathfinder</a></span> <spanclass="element-name">getPathfinder</span>()</div>
<divclass="block">Enables access to control the pathing of an Entity</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">lookAt</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="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Instruct this Mob to look at a specific Location
<p>
Useful when implementing custom mob goals</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - location to look at</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">lookAt</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="../Location.html"title="class in org.bukkit">Location</a> location,
float headRotationSpeed,
float maxHeadPitch)</span></div>
<divclass="block">Instruct this Mob to look at a specific Location
<p>
Useful when implementing custom mob goals</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - location to look at</dd>
<dd><code>headRotationSpeed</code> - head rotation speed</dd>
<dd><code>maxHeadPitch</code> - max head pitch rotation</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">lookAt</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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity)</span></div>
<divclass="block">Instruct this Mob to look at a specific Entity
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">lookAt</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="Entity.html"title="interface in org.bukkit.entity">Entity</a> entity,
float headRotationSpeed,
float maxHeadPitch)</span></div>
<divclass="block">Instruct this Mob to look at a specific Entity
<p>
If a LivingEntity, look at eye location
<p>
Useful when implementing custom mob goals</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>entity</code> - entity to look at</dd>
<dd><code>headRotationSpeed</code> - head rotation speed</dd>
<dd><code>maxHeadPitch</code> - max head pitch rotation</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setTarget</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="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a> target)</span></div>
<divclass="block">Instructs this Mob to set the specified LivingEntity as its target.
<p>
Hostile creatures may attack their target, and friendly creatures may
follow their target.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>target</code> - New LivingEntity to target, or null to clear the target</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getTarget()">
<h3>getTarget</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="LivingEntity.html"title="interface in org.bukkit.entity">LivingEntity</a></span> <spanclass="element-name">getTarget</span>()</div>
<divclass="block">Gets the current target of this Mob</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Current target of this creature, or null if none exists</dd>