Scissors-Website/public/javadoc/1.17.1/org/bukkit/entity/LivingEntity.html
2022-07-05 18:33:56 -05:00

1983 lines
185 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>LivingEntity (Scissors-API 1.17.1-R0.1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.bukkit.entity, interface: LivingEntity">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li><a href="#nested-class-summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.bukkit.entity</a></div>
<h1 title="Interface LivingEntity" class="title">Interface LivingEntity</h1>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Superinterfaces:</dt>
<dd><code><a href="../attribute/Attributable.html" title="interface in org.bukkit.attribute">Attributable</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a></code>, <code><a href="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a></code>, <code><a href="Damageable.html" title="interface in org.bukkit.entity">Damageable</a></code>, <code><a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/text/event/HoverEventSource.html" title="class or interface in net.kyori.adventure.text.event" class="external-link">HoverEventSource</a>&lt;<a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html" title="class or interface in net.kyori.adventure.text.event" class="external-link">HoverEvent.ShowEntity</a>&gt;</code>, <code><a href="../metadata/Metadatable.html" title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><a href="../Nameable.html" title="interface in org.bukkit">Nameable</a></code>, <code><a href="../permissions/Permissible.html" title="interface in org.bukkit.permissions">Permissible</a></code>, <code><a href="../persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/pointer/Pointered.html" title="class or interface in net.kyori.adventure.pointer" class="external-link">Pointered</a></code>, <code><a href="../projectiles/ProjectileSource.html" title="interface in org.bukkit.projectiles">ProjectileSource</a></code>, <code><a href="../permissions/ServerOperator.html" title="interface in org.bukkit.permissions">ServerOperator</a></code>, <code><a href="https://jd.adventure.kyori.net/api/4.9.3/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>
<dl class="notes">
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="AbstractHorse.html" title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><a href="AbstractSkeleton.html" title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><a href="AbstractVillager.html" title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><a href="Ageable.html" title="interface in org.bukkit.entity">Ageable</a></code>, <code><a href="Ambient.html" title="interface in org.bukkit.entity">Ambient</a></code>, <code><a href="Animals.html" title="interface in org.bukkit.entity">Animals</a></code>, <code><a href="ArmorStand.html" title="interface in org.bukkit.entity">ArmorStand</a></code>, <code><a href="Axolotl.html" title="interface in org.bukkit.entity">Axolotl</a></code>, <code><a href="Bat.html" title="interface in org.bukkit.entity">Bat</a></code>, <code><a href="Bee.html" title="interface in org.bukkit.entity">Bee</a></code>, <code><a href="Blaze.html" title="interface in org.bukkit.entity">Blaze</a></code>, <code><a href="Breedable.html" title="interface in org.bukkit.entity">Breedable</a></code>, <code><a href="Cat.html" title="interface in org.bukkit.entity">Cat</a></code>, <code><a href="CaveSpider.html" title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><a href="ChestedHorse.html" title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><a href="Chicken.html" title="interface in org.bukkit.entity">Chicken</a></code>, <code><a href="Cod.html" title="interface in org.bukkit.entity">Cod</a></code>, <code><a href="ComplexLivingEntity.html" title="interface in org.bukkit.entity">ComplexLivingEntity</a></code>, <code><a href="Cow.html" title="interface in org.bukkit.entity">Cow</a></code>, <code><a href="Creature.html" title="interface in org.bukkit.entity">Creature</a></code>, <code><a href="Creeper.html" title="interface in org.bukkit.entity">Creeper</a></code>, <code><a href="Dolphin.html" title="interface in org.bukkit.entity">Dolphin</a></code>, <code><a href="Donkey.html" title="interface in org.bukkit.entity">Donkey</a></code>, <code><a href="Drowned.html" title="interface in org.bukkit.entity">Drowned</a></code>, <code><a href="ElderGuardian.html" title="interface in org.bukkit.entity">ElderGuardian</a></code>, <code><a href="EnderDragon.html" title="interface in org.bukkit.entity">EnderDragon</a></code>, <code><a href="Enderman.html" title="interface in org.bukkit.entity">Enderman</a></code>, <code><a href="Endermite.html" title="interface in org.bukkit.entity">Endermite</a></code>, <code><a href="Evoker.html" title="interface in org.bukkit.entity">Evoker</a></code>, <code><a href="Fish.html" title="interface in org.bukkit.entity">Fish</a></code>, <code><a href="Flying.html" title="interface in org.bukkit.entity">Flying</a></code>, <code><a href="Fox.html" title="interface in org.bukkit.entity">Fox</a></code>, <code><a href="Ghast.html" title="interface in org.bukkit.entity">Ghast</a></code>, <code><a href="Giant.html" title="interface in org.bukkit.entity">Giant</a></code>, <code><a href="GlowSquid.html" title="interface in org.bukkit.entity">GlowSquid</a></code>, <code><a href="Goat.html" title="interface in org.bukkit.entity">Goat</a></code>, <code><a href="Golem.html" title="interface in org.bukkit.entity">Golem</a></code>, <code><a href="Guardian.html" title="interface in org.bukkit.entity">Guardian</a></code>, <code><a href="Hoglin.html" title="interface in org.bukkit.entity">Hoglin</a></code>, <code><a href="Horse.html" title="interface in org.bukkit.entity">Horse</a></code>, <code><a href="HumanEntity.html" title="interface in org.bukkit.entity">HumanEntity</a></code>, <code><a href="Husk.html" title="interface in org.bukkit.entity">Husk</a></code>, <code><a href="Illager.html" title="interface in org.bukkit.entity">Illager</a></code>, <code><a href="Illusioner.html" title="interface in org.bukkit.entity">Illusioner</a></code>, <code><a href="IronGolem.html" title="interface in org.bukkit.entity">IronGolem</a></code>, <code><a href="Llama.html" title="interface in org.bukkit.entity">Llama</a></code>, <code><a href="MagmaCube.html" title="interface in org.bukkit.entity">MagmaCube</a></code>, <code><a href="Mob.html" title="interface in org.bukkit.entity">Mob</a></code>, <code><a href="Monster.html" title="interface in org.bukkit.entity">Monster</a></code>, <code><a href="Mule.html" title="interface in org.bukkit.entity">Mule</a></code>, <code><a href="MushroomCow.html" title="interface in org.bukkit.entity">MushroomCow</a></code>, <code><a href="NPC.html" title="interface in org.bukkit.entity">NPC</a></code>, <code><a href="Ocelot.html" title="interface in org.bukkit.entity">Ocelot</a></code>, <code><a href="Panda.html" title="interface in org.bukkit.entity">Panda</a></code>, <code><a href="Parrot.html" title="interface in org.bukkit.entity">Parrot</a></code>, <code><a href="Phantom.html" title="interface in org.bukkit.entity">Phantom</a></code>, <code><a href="Pig.html" title="interface in org.bukkit.entity">Pig</a></code>, <code><a href="Piglin.html" title="interface in org.bukkit.entity">Piglin</a></code>, <code><a href="PiglinAbstract.html" title="interface in org.bukkit.entity">PiglinAbstract</a></code>, <code><a href="PiglinBrute.html" title="interface in org.bukkit.entity">PiglinBrute</a></code>, <code><a href="PigZombie.html" title="interface in org.bukkit.entity">PigZombie</a></code>, <code><a href="Pillager.html" title="interface in org.bukkit.entity">Pillager</a></code>, <code><a href="Player.html" title="interface in org.bukkit.entity">Player</a></code>, <code><a href="PolarBear.html" title="interface in org.bukkit.entity">PolarBear</a></code>, <code><a href="PufferFish.html" title="interface in org.bukkit.entity">PufferFish</a></code>, <code><a href="Rabbit.html" title="interface in org.bukkit.entity">Rabbit</a></code>, <code><a href="Raider.html" title="interface in org.bukkit.entity">Raider</a></code>, <code><a href="../../../com/destroystokyo/paper/entity/RangedEntity.html" title="interface in com.destroystokyo.paper.entity">RangedEntity</a></code>, <code><a href="Ravager.html" title="interface in org.bukkit.entity">Ravager</a></code>, <code><a href="Salmon.html" title="interface in org.bukkit.entity">Salmon</a></code>, <code><a href="Sheep.html" title="interface in org.bukkit.entity">Sheep</a></code>, <code><a href="Shulker.html" title="interface in org.bukkit.entity">Shulker</a></code>, <code><a href="Silverfish.html" title="interface in org.bukkit.entity">Silverfish</a></code>, <code><a href="Skeleton.html" title="interface in org.bukkit.entity">Skeleton</a></code>, <code><a href="SkeletonHorse.html" title="interface in org.bukkit.entity">SkeletonHorse</a></code>, <code><a href="Slime.html" title="interface in org.bukkit.entity">Slime</a></code>, <code><a href="Snowman.html" title="interface in org.bukkit.entity">Snowman</a></code>, <code><a href="Spellcaster.html" title="interface in org.bukkit.entity">Spellcaster</a></code>, <code><a href="Spider.html" title="interface in org.bukkit.entity">Spider</a></code>, <code><a href="Squid.html" title="interface in org.bukkit.entity">Squid</a></code>, <code><a href="Steerable.html" title="interface in org.bukkit.entity">Steerable</a></code>, <code><a href="Stray.html" title="interface in org.bukkit.entity">Stray</a></code>, <code><a href="Strider.html" title="interface in org.bukkit.entity">Strider</a></code>, <code><a href="Tameable.html" title="interface in org.bukkit.entity">Tameable</a></code>, <code><a href="TraderLlama.html" title="interface in org.bukkit.entity">TraderLlama</a></code>, <code><a href="TropicalFish.html" title="interface in org.bukkit.entity">TropicalFish</a></code>, <code><a href="Turtle.html" title="interface in org.bukkit.entity">Turtle</a></code>, <code><a href="Vex.html" title="interface in org.bukkit.entity">Vex</a></code>, <code><a href="Villager.html" title="interface in org.bukkit.entity">Villager</a></code>, <code><a href="Vindicator.html" title="interface in org.bukkit.entity">Vindicator</a></code>, <code><a href="WanderingTrader.html" title="interface in org.bukkit.entity">WanderingTrader</a></code>, <code><a href="WaterMob.html" title="interface in org.bukkit.entity">WaterMob</a></code>, <code><a href="Witch.html" title="interface in org.bukkit.entity">Witch</a></code>, <code><a href="Wither.html" title="interface in org.bukkit.entity">Wither</a></code>, <code><a href="WitherSkeleton.html" title="interface in org.bukkit.entity">WitherSkeleton</a></code>, <code><a href="Wolf.html" title="interface in org.bukkit.entity">Wolf</a></code>, <code><a href="Zoglin.html" title="interface in org.bukkit.entity">Zoglin</a></code>, <code><a href="Zombie.html" title="interface in org.bukkit.entity">Zombie</a></code>, <code><a href="ZombieHorse.html" title="interface in org.bukkit.entity">ZombieHorse</a></code>, <code><a href="ZombieVillager.html" title="interface in org.bukkit.entity">ZombieVillager</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">LivingEntity</span><span class="extends-implements">
extends <a href="../attribute/Attributable.html" title="interface in org.bukkit.attribute">Attributable</a>, <a href="Damageable.html" title="interface in org.bukkit.entity">Damageable</a>, <a href="../projectiles/ProjectileSource.html" title="interface in org.bukkit.projectiles">ProjectileSource</a></span></div>
<div class="block">Represents a living entity, such as a monster or player</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<li>
<section class="nested-class-summary" id="nested-class-summary">
<h2>Nested Class Summary</h2>
<div class="inherited-list">
<h2 id="nested-classes-inherited-from-class-org.bukkit.entity.Entity">Nested classes/interfaces inherited from interface&nbsp;org.bukkit.entity.<a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></h2>
<code><a href="Entity.Spigot.html" title="class in org.bukkit.entity">Entity.Spigot</a></code></div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab5" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab5', 3)" class="table-tab">Default Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#addPotionEffect(org.bukkit.potion.PotionEffect)" class="member-name-link">addPotionEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Adds the given <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><a href="#addPotionEffect(org.bukkit.potion.PotionEffect,boolean)" class="member-name-link">addPotionEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;force)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">no need to force since multiple effects of the same type are
now supported.</div>
</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#addPotionEffects(java.util.Collection)" class="member-name-link">addPotionEffects</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;&nbsp;effects)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Attempts to add all of the given <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living
entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#attack(org.bukkit.entity.Entity)" class="member-name-link">attack</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;target)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes this entity attack the given entity with a melee attack.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#clearActiveItem()" class="member-name-link">clearActiveItem</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Interrupts any ongoing active "usage" or consumption or an item.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getActiveItem()" class="member-name-link">getActiveItem</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get's the item being actively "used" or consumed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getActivePotionEffects()" class="member-name-link">getActivePotionEffects</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns all currently active <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a>s on the living
entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getArrowCooldown()" class="member-name-link">getArrowCooldown</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the time in ticks until the next arrow leaves the entity's body.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getArrowsInBody()" class="member-name-link">getArrowsInBody</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the amount of arrows in an entity's body.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getArrowsStuck()" class="member-name-link">getArrowsStuck</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get the number of arrows stuck in this entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBeeStingerCooldown()" class="member-name-link">getBeeStingerCooldown</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the time in ticks until the next bee stinger leaves the entity's body.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBeeStingersInBody()" class="member-name-link">getBeeStingersInBody</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the amount of bee stingers in an entity's body.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCanPickupItems()" class="member-name-link">getCanPickupItems</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets if the living entity can pick up items.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EntityCategory.html" title="enum class in org.bukkit.entity">EntityCategory</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCategory()" class="member-name-link">getCategory</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get the category to which this entity belongs.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCollidableExemptions()" class="member-name-link">getCollidableExemptions</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a mutable set of UUIDs of the entities which are exempt from the
entity's collidable rule and which's collision with this entity will
behave the opposite of it.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/EntityEquipment.html" title="interface in org.bukkit.inventory">EntityEquipment</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEquipment()" class="member-name-link">getEquipment</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the inventory with the equipment worn by the living entity.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEyeHeight()" class="member-name-link">getEyeHeight</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the height of the living entity's eyes above its Location.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEyeHeight(boolean)" class="member-name-link">getEyeHeight</a><wbr>(boolean&nbsp;ignorePose)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the height of the living entity's eyes above its Location.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEyeLocation()" class="member-name-link">getEyeLocation</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get a Location detailing the current eye position of the living entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../inventory/EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHandRaised()" class="member-name-link">getHandRaised</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the hand raised by this living entity.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHandRaisedTime()" class="member-name-link">getHandRaisedTime</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get how long the players hands have been raised (Charging Bow attack, using a potion, etc)</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>float</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHurtDirection()" class="member-name-link">getHurtDirection</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets player hurt direction</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getItemUseRemainingTime()" class="member-name-link">getItemUseRemainingTime</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get's remaining time a player needs to keep hands raised with an item to finish using it.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Player.html" title="interface in org.bukkit.entity">Player</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getKiller()" class="member-name-link">getKiller</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the player identified as the killer of the living entity.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLastDamage()" class="member-name-link">getLastDamage</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the living entity's last damage taken in the current no damage
ticks time.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLastTwoTargetBlocks(java.util.Set,int)" class="member-name-link">getLastTwoTargetBlocks</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the last two blocks along the living entity's line of sight.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeashHolder()" class="member-name-link">getLeashHolder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the entity that is currently leading this entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLineOfSight(java.util.Set,int)" class="member-name-link">getLineOfSight</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets all blocks along the living entity's line of sight.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getMaximumAir()" class="member-name-link">getMaximumAir</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the maximum amount of air the living entity can have, in ticks.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getMaximumNoDamageTicks()" class="member-name-link">getMaximumNoDamageTicks</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the living entity's current maximum no damage ticks.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>&lt;T&gt;&nbsp;T</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getMemory(org.bukkit.entity.memory.MemoryKey)" class="member-name-link">getMemory</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a>&lt;T&gt;&nbsp;memoryKey)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the value of the memory specified.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getNoDamageTicks()" class="member-name-link">getNoDamageTicks</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the living entity's current no damage ticks.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">getPotionEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the active <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> of the specified type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRemainingAir()" class="member-name-link">getRemainingAir</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the amount of air that the living entity has remaining, in
ticks.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRemoveWhenFarAway()" class="member-name-link">getRemoveWhenFarAway</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns if the living entity despawns when away from players or not.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getShieldBlockingDelay()" class="member-name-link">getShieldBlockingDelay</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get the delay (in ticks) before blocking is effective for this entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTargetBlock(int)" class="member-name-link">getTargetBlock</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Gets the block that the living entity has targeted, ignoring fluids</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlock(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)" class="member-name-link">getTargetBlock</a><wbr>(int&nbsp;maxDistance,
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the block that the living entity has targeted</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlock(java.util.Set,int)" class="member-name-link">getTargetBlock</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the block that the living entity has targeted.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlockExact(int)" class="member-name-link">getTargetBlockExact</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the block that the living entity has targeted.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlockExact(int,org.bukkit.FluidCollisionMode)" class="member-name-link">getTargetBlockExact</a><wbr>(int&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a>&nbsp;fluidCollisionMode)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the block that the living entity has targeted.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="../block/BlockFace.html" title="enum class in org.bukkit.block">BlockFace</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTargetBlockFace(int)" class="member-name-link">getTargetBlockFace</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Gets the blockface of that block that the living entity has targeted, ignoring fluids</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../block/BlockFace.html" title="enum class in org.bukkit.block">BlockFace</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlockFace(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)" class="member-name-link">getTargetBlockFace</a><wbr>(int&nbsp;maxDistance,
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the blockface of that block that the living entity has targeted</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.html" title="class in com.destroystokyo.paper.block">TargetBlockInfo</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTargetBlockInfo(int)" class="member-name-link">getTargetBlockInfo</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Gets information about the block the living entity has targeted, ignoring fluids</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.html" title="class in com.destroystokyo.paper.block">TargetBlockInfo</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetBlockInfo(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)" class="member-name-link">getTargetBlockInfo</a><wbr>(int&nbsp;maxDistance,
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets information about the block the living entity has targeted</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTargetEntity(int)" class="member-name-link">getTargetEntity</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Gets information about the entity being targeted</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetEntity(int,boolean)" class="member-name-link">getTargetEntity</a><wbr>(int&nbsp;maxDistance,
boolean&nbsp;ignoreBlocks)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets information about the entity being targeted</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="../../../com/destroystokyo/paper/entity/TargetEntityInfo.html" title="class in com.destroystokyo.paper.entity">TargetEntityInfo</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#getTargetEntityInfo(int)" class="member-name-link">getTargetEntityInfo</a><wbr>(int&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Gets information about the entity being targeted</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="../../../com/destroystokyo/paper/entity/TargetEntityInfo.html" title="class in com.destroystokyo.paper.entity">TargetEntityInfo</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTargetEntityInfo(int,boolean)" class="member-name-link">getTargetEntityInfo</a><wbr>(int&nbsp;maxDistance,
boolean&nbsp;ignoreBlocks)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets information about the entity being targeted</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasAI()" class="member-name-link">hasAI</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks whether an entity has AI.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasLineOfSight(org.bukkit.entity.Entity)" class="member-name-link">hasLineOfSight</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;other)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks whether the living entity has block line of sight to another.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasLineOfSight(org.bukkit.Location)" class="member-name-link">hasLineOfSight</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks whether the living entity has block line of sight to the given block.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#hasPotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">hasPotionEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns whether the living entity already has an existing effect of
the given <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a> applied to it.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isClimbing()" class="member-name-link">isClimbing</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets if the entity is climbing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isCollidable()" class="member-name-link">isCollidable</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets if this entity is subject to collisions with other entities.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isGliding()" class="member-name-link">isGliding</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks to see if an entity is gliding, such as using an Elytra.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isHandRaised()" class="member-name-link">isHandRaised</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Whether or not this entity is using or charging an attack (Bow pulled back, drinking potion, eating food)</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isInvisible()" class="member-name-link">isInvisible</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the entity is invisible or not.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isJumping()" class="member-name-link">isJumping</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Get entity jump state.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isLeashed()" class="member-name-link">isLeashed</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns whether the entity is currently leashed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isRiptiding()" class="member-name-link">isRiptiding</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks to see if an entity is currently using the Riptide enchantment.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isSleeping()" class="member-name-link">isSleeping</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns whether this entity is slumbering.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#isSwimming()" class="member-name-link">isSwimming</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Checks to see if an entity is swimming.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#playPickupItemAnimation(org.bukkit.entity.Item)" class="member-name-link">playPickupItemAnimation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Item.html" title="interface in org.bukkit.entity">Item</a>&nbsp;item)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Plays pickup item animation towards this entity.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#playPickupItemAnimation(org.bukkit.entity.Item,int)" class="member-name-link">playPickupItemAnimation</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Item.html" title="interface in org.bukkit.entity">Item</a>&nbsp;item,
int&nbsp;quantity)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Plays pickup item animation towards this entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceBlocks(double)" class="member-name-link">rayTraceBlocks</a><wbr>(double&nbsp;maxDistance)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Performs a ray trace that provides information on the targeted block.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#rayTraceBlocks(double,org.bukkit.FluidCollisionMode)" class="member-name-link">rayTraceBlocks</a><wbr>(double&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a>&nbsp;fluidCollisionMode)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Performs a ray trace that provides information on the targeted block.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#removePotionEffect(org.bukkit.potion.PotionEffectType)" class="member-name-link">removePotionEffect</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes any effects present of the given <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setAI(boolean)" class="member-name-link">setAI</a><wbr>(boolean&nbsp;ai)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether an entity will have AI.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setArrowCooldown(int)" class="member-name-link">setArrowCooldown</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the time in ticks until the next arrow leaves the entity's body.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setArrowsInBody(int)" class="member-name-link">setArrowsInBody</a><wbr>(int&nbsp;count)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set the amount of arrows in the entity's body.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setArrowsStuck(int)" class="member-name-link">setArrowsStuck</a><wbr>(int&nbsp;arrows)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set the number of arrows stuck in this entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBeeStingerCooldown(int)" class="member-name-link">setBeeStingerCooldown</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the time in ticks until the next stinger leaves the entity's body.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBeeStingersInBody(int)" class="member-name-link">setBeeStingersInBody</a><wbr>(int&nbsp;count)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set the amount of bee stingers in the entity's body.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCanPickupItems(boolean)" class="member-name-link">setCanPickupItems</a><wbr>(boolean&nbsp;pickup)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether or not the living entity can pick up items.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCollidable(boolean)" class="member-name-link">setCollidable</a><wbr>(boolean&nbsp;collidable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set if this entity will be subject to collisions with other entities.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setGliding(boolean)" class="member-name-link">setGliding</a><wbr>(boolean&nbsp;gliding)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes entity start or stop gliding.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHurtDirection(float)" class="member-name-link">setHurtDirection</a><wbr>(float&nbsp;hurtDirection)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets player hurt direction</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setInvisible(boolean)" class="member-name-link">setInvisible</a><wbr>(boolean&nbsp;invisible)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the entity is invisible or not.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setJumping(boolean)" class="member-name-link">setJumping</a><wbr>(boolean&nbsp;jumping)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set entity jump state</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setKiller(org.bukkit.entity.Player)" class="member-name-link">setKiller</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Player.html" title="interface in org.bukkit.entity">Player</a>&nbsp;killer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the player identified as the killer of the living entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLastDamage(double)" class="member-name-link">setLastDamage</a><wbr>(double&nbsp;damage)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the damage dealt within the current no damage ticks time period.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeashHolder(org.bukkit.entity.Entity)" class="member-name-link">setLeashHolder</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;holder)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the leash on this entity to be held by the supplied entity.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setMaximumAir(int)" class="member-name-link">setMaximumAir</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the maximum amount of air the living entity can have, in ticks.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setMaximumNoDamageTicks(int)" class="member-name-link">setMaximumNoDamageTicks</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the living entity's current maximum no damage ticks.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>&lt;T&gt;&nbsp;void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setMemory(org.bukkit.entity.memory.MemoryKey,T)" class="member-name-link">setMemory</a><wbr>(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a>&lt;T&gt;&nbsp;memoryKey,
T&nbsp;memoryValue)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the value of the memory specified.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setNoDamageTicks(int)" class="member-name-link">setNoDamageTicks</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the living entity's current no damage ticks.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRemainingAir(int)" class="member-name-link">setRemainingAir</a><wbr>(int&nbsp;ticks)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the amount of air that the living entity has remaining, in ticks.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRemoveWhenFarAway(boolean)" class="member-name-link">setRemoveWhenFarAway</a><wbr>(boolean&nbsp;remove)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether or not the living entity despawns when away from players
or not.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setShieldBlockingDelay(int)" class="member-name-link">setShieldBlockingDelay</a><wbr>(int&nbsp;delay)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Set the delay (in ticks) before blocking is effective for this entity</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setSwimming(boolean)" class="member-name-link">setSwimming</a><wbr>(boolean&nbsp;swimming)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes entity start or stop swimming.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#swingMainHand()" class="member-name-link">swingMainHand</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes this entity swing their main hand.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#swingOffHand()" class="member-name-link">swingOffHand</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes this entity swing their off hand.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.attribute.Attributable">Methods inherited from interface&nbsp;org.bukkit.attribute.<a href="../attribute/Attributable.html" title="interface in org.bukkit.attribute">Attributable</a></h3>
<code><a href="../attribute/Attributable.html#getAttribute(org.bukkit.attribute.Attribute)">getAttribute</a>, <a href="../attribute/Attributable.html#registerAttribute(org.bukkit.attribute.Attribute)">registerAttribute</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface&nbsp;net.kyori.adventure.audience.<a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html" title="class or interface in net.kyori.adventure.audience" class="external-link">Audience</a></h3>
<code><a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#clearTitle()" title="class or interface in net.kyori.adventure.audience" class="external-link">clearTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#resetTitle()" title="class or interface in net.kyori.adventure.audience" class="external-link">resetTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.ComponentLike,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendMessage</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListFooter(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListFooter(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListHeader(net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeader</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListHeader(net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeader</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListHeaderAndFooter(net.kyori.adventure.text.ComponentLike,net.kyori.adventure.text.ComponentLike)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeaderAndFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendPlayerListHeaderAndFooter(net.kyori.adventure.text.Component,net.kyori.adventure.text.Component)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendPlayerListHeaderAndFooter</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#sendTitlePart(net.kyori.adventure.title.TitlePart,T)" title="class or interface in net.kyori.adventure.audience" class="external-link">sendTitlePart</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#showBossBar(net.kyori.adventure.bossbar.BossBar)" title="class or interface in net.kyori.adventure.audience" class="external-link">showBossBar</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#showTitle(net.kyori.adventure.title.Title)" title="class or interface in net.kyori.adventure.audience" class="external-link">showTitle</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#stopSound(net.kyori.adventure.sound.Sound)" title="class or interface in net.kyori.adventure.audience" class="external-link">stopSound</a>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/audience/Audience.html#stopSound(net.kyori.adventure.sound.SoundStop)" title="class or interface in net.kyori.adventure.audience" class="external-link">stopSound</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.command.CommandSender">Methods inherited from interface&nbsp;org.bukkit.command.<a href="../command/CommandSender.html" title="interface in org.bukkit.command">CommandSender</a></h3>
<code><a href="../command/CommandSender.html#getName()">getName</a>, <a href="../command/CommandSender.html#name()">name</a>, <a href="../command/CommandSender.html#sendMessage(java.lang.String)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(java.lang.String...)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(net.md_5.bungee.api.chat.BaseComponent...)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(java.util.UUID,java.lang.String)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(java.util.UUID,java.lang.String...)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(net.kyori.adventure.identity.Identity,net.kyori.adventure.text.Component,net.kyori.adventure.audience.MessageType)">sendMessage</a>, <a href="../command/CommandSender.html#sendMessage(net.md_5.bungee.api.chat.BaseComponent)">sendMessage</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.entity.Damageable">Methods inherited from interface&nbsp;org.bukkit.entity.<a href="Damageable.html" title="interface in org.bukkit.entity">Damageable</a></h3>
<code><a href="Damageable.html#damage(double)">damage</a>, <a href="Damageable.html#damage(double,org.bukkit.entity.Entity)">damage</a>, <a href="Damageable.html#getAbsorptionAmount()">getAbsorptionAmount</a>, <a href="Damageable.html#getHealth()">getHealth</a>, <a href="Damageable.html#getMaxHealth()">getMaxHealth</a>, <a href="Damageable.html#resetMaxHealth()">resetMaxHealth</a>, <a href="Damageable.html#setAbsorptionAmount(double)">setAbsorptionAmount</a>, <a href="Damageable.html#setHealth(double)">setHealth</a>, <a href="Damageable.html#setMaxHealth(double)">setMaxHealth</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.entity.Entity">Methods inherited from interface&nbsp;org.bukkit.entity.<a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></h3>
<code><a href="Entity.html#addPassenger(org.bukkit.entity.Entity)">addPassenger</a>, <a href="Entity.html#addScoreboardTag(java.lang.String)">addScoreboardTag</a>, <a href="Entity.html#asHoverEvent(java.util.function.UnaryOperator)">asHoverEvent</a>, <a href="Entity.html#eject()">eject</a>, <a href="Entity.html#fromMobSpawner()">fromMobSpawner</a>, <a href="Entity.html#getBoundingBox()">getBoundingBox</a>, <a href="Entity.html#getChunk()">getChunk</a>, <a href="Entity.html#getEntityId()">getEntityId</a>, <a href="Entity.html#getEntitySpawnReason()">getEntitySpawnReason</a>, <a href="Entity.html#getFacing()">getFacing</a>, <a href="Entity.html#getFallDistance()">getFallDistance</a>, <a href="Entity.html#getFireTicks()">getFireTicks</a>, <a href="Entity.html#getFreezeTicks()">getFreezeTicks</a>, <a href="Entity.html#getHeight()">getHeight</a>, <a href="Entity.html#getLastDamageCause()">getLastDamageCause</a>, <a href="Entity.html#getLocation()">getLocation</a>, <a href="Entity.html#getLocation(org.bukkit.Location)">getLocation</a>, <a href="Entity.html#getMaxFireTicks()">getMaxFireTicks</a>, <a href="Entity.html#getMaxFreezeTicks()">getMaxFreezeTicks</a>, <a href="Entity.html#getNearbyEntities(double,double,double)">getNearbyEntities</a>, <a href="Entity.html#getOrigin()">getOrigin</a>, <a href="Entity.html#getPassenger()">getPassenger</a>, <a href="Entity.html#getPassengers()">getPassengers</a>, <a href="Entity.html#getPistonMoveReaction()">getPistonMoveReaction</a>, <a href="Entity.html#getPortalCooldown()">getPortalCooldown</a>, <a href="Entity.html#getPose()">getPose</a>, <a href="Entity.html#getScoreboardTags()">getScoreboardTags</a>, <a href="Entity.html#getServer()">getServer</a>, <a href="Entity.html#getTicksLived()">getTicksLived</a>, <a href="Entity.html#getTrackedPlayers()">getTrackedPlayers</a>, <a href="Entity.html#getType()">getType</a>, <a href="Entity.html#getUniqueId()">getUniqueId</a>, <a href="Entity.html#getVehicle()">getVehicle</a>, <a href="Entity.html#getVelocity()">getVelocity</a>, <a href="Entity.html#getWidth()">getWidth</a>, <a href="Entity.html#getWorld()">getWorld</a>, <a href="Entity.html#hasGravity()">hasGravity</a>, <a href="Entity.html#isCustomNameVisible()">isCustomNameVisible</a>, <a href="Entity.html#isDead()">isDead</a>, <a href="Entity.html#isEmpty()">isEmpty</a>, <a href="Entity.html#isFrozen()">isFrozen</a>, <a href="Entity.html#isGlowing()">isGlowing</a>, <a href="Entity.html#isInBubbleColumn()">isInBubbleColumn</a>, <a href="Entity.html#isInLava()">isInLava</a>, <a href="Entity.html#isInRain()">isInRain</a>, <a href="Entity.html#isInsideVehicle()">isInsideVehicle</a>, <a href="Entity.html#isInvulnerable()">isInvulnerable</a>, <a href="Entity.html#isInWater()">isInWater</a>, <a href="Entity.html#isInWaterOrBubbleColumn()">isInWaterOrBubbleColumn</a>, <a href="Entity.html#isInWaterOrRain()">isInWaterOrRain</a>, <a href="Entity.html#isInWaterOrRainOrBubbleColumn()">isInWaterOrRainOrBubbleColumn</a>, <a href="Entity.html#isOnGround()">isOnGround</a>, <a href="Entity.html#isPersistent()">isPersistent</a>, <a href="Entity.html#isSilent()">isSilent</a>, <a href="Entity.html#isTicking()">isTicking</a>, <a href="Entity.html#isValid()">isValid</a>, <a href="Entity.html#isVisualFire()">isVisualFire</a>, <a href="Entity.html#leaveVehicle()">leaveVehicle</a>, <a href="Entity.html#playEffect(org.bukkit.EntityEffect)">playEffect</a>, <a href="Entity.html#remove()">remove</a>, <a href="Entity.html#removePassenger(org.bukkit.entity.Entity)">removePassenger</a>, <a href="Entity.html#removeScoreboardTag(java.lang.String)">removeScoreboardTag</a>, <a href="Entity.html#setCustomNameVisible(boolean)">setCustomNameVisible</a>, <a href="Entity.html#setFallDistance(float)">setFallDistance</a>, <a href="Entity.html#setFireTicks(int)">setFireTicks</a>, <a href="Entity.html#setFreezeTicks(int)">setFreezeTicks</a>, <a href="Entity.html#setGlowing(boolean)">setGlowing</a>, <a href="Entity.html#setGravity(boolean)">setGravity</a>, <a href="Entity.html#setInvulnerable(boolean)">setInvulnerable</a>, <a href="Entity.html#setLastDamageCause(org.bukkit.event.entity.EntityDamageEvent)">setLastDamageCause</a>, <a href="Entity.html#setPassenger(org.bukkit.entity.Entity)">setPassenger</a>, <a href="Entity.html#setPersistent(boolean)">setPersistent</a>, <a href="Entity.html#setPortalCooldown(int)">setPortalCooldown</a>, <a href="Entity.html#setRotation(float,float)">setRotation</a>, <a href="Entity.html#setSilent(boolean)">setSilent</a>, <a href="Entity.html#setTicksLived(int)">setTicksLived</a>, <a href="Entity.html#setVelocity(org.bukkit.util.Vector)">setVelocity</a>, <a href="Entity.html#setVisualFire(boolean)">setVisualFire</a>, <a href="Entity.html#spawnAt(org.bukkit.Location)">spawnAt</a>, <a href="Entity.html#spawnAt(org.bukkit.Location,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)">spawnAt</a>, <a href="Entity.html#spigot()">spigot</a>, <a href="Entity.html#teamDisplayName()">teamDisplayName</a>, <a href="Entity.html#teleport(org.bukkit.entity.Entity)">teleport</a>, <a href="Entity.html#teleport(org.bukkit.entity.Entity,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)">teleport</a>, <a href="Entity.html#teleport(org.bukkit.Location)">teleport</a>, <a href="Entity.html#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)">teleport</a>, <a href="Entity.html#teleportAsync(org.bukkit.Location)">teleportAsync</a>, <a href="Entity.html#teleportAsync(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)">teleportAsync</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-net.kyori.adventure.text.event.HoverEventSource">Methods inherited from interface&nbsp;net.kyori.adventure.text.event.<a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/text/event/HoverEventSource.html" title="class or interface in net.kyori.adventure.text.event" class="external-link">HoverEventSource</a></h3>
<code><a href="https://jd.adventure.kyori.net/api/4.9.3/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>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface&nbsp;org.bukkit.metadata.<a href="../metadata/Metadatable.html" title="interface in org.bukkit.metadata">Metadatable</a></h3>
<code><a href="../metadata/Metadatable.html#getMetadata(java.lang.String)">getMetadata</a>, <a href="../metadata/Metadatable.html#hasMetadata(java.lang.String)">hasMetadata</a>, <a href="../metadata/Metadatable.html#removeMetadata(java.lang.String,org.bukkit.plugin.Plugin)">removeMetadata</a>, <a href="../metadata/Metadatable.html#setMetadata(java.lang.String,org.bukkit.metadata.MetadataValue)">setMetadata</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface&nbsp;org.bukkit.<a href="../Nameable.html" title="interface in org.bukkit">Nameable</a></h3>
<code><a href="../Nameable.html#customName()">customName</a>, <a href="../Nameable.html#customName(net.kyori.adventure.text.Component)">customName</a>, <a href="../Nameable.html#getCustomName()">getCustomName</a>, <a href="../Nameable.html#setCustomName(java.lang.String)">setCustomName</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.permissions.Permissible">Methods inherited from interface&nbsp;org.bukkit.permissions.<a href="../permissions/Permissible.html" title="interface in org.bukkit.permissions">Permissible</a></h3>
<code><a href="../permissions/Permissible.html#addAttachment(org.bukkit.plugin.Plugin)">addAttachment</a>, <a href="../permissions/Permissible.html#addAttachment(org.bukkit.plugin.Plugin,int)">addAttachment</a>, <a href="../permissions/Permissible.html#addAttachment(org.bukkit.plugin.Plugin,java.lang.String,boolean)">addAttachment</a>, <a href="../permissions/Permissible.html#addAttachment(org.bukkit.plugin.Plugin,java.lang.String,boolean,int)">addAttachment</a>, <a href="../permissions/Permissible.html#getEffectivePermissions()">getEffectivePermissions</a>, <a href="../permissions/Permissible.html#hasPermission(java.lang.String)">hasPermission</a>, <a href="../permissions/Permissible.html#hasPermission(org.bukkit.permissions.Permission)">hasPermission</a>, <a href="../permissions/Permissible.html#isPermissionSet(java.lang.String)">isPermissionSet</a>, <a href="../permissions/Permissible.html#isPermissionSet(org.bukkit.permissions.Permission)">isPermissionSet</a>, <a href="../permissions/Permissible.html#permissionValue(java.lang.String)">permissionValue</a>, <a href="../permissions/Permissible.html#permissionValue(org.bukkit.permissions.Permission)">permissionValue</a>, <a href="../permissions/Permissible.html#recalculatePermissions()">recalculatePermissions</a>, <a href="../permissions/Permissible.html#removeAttachment(org.bukkit.permissions.PermissionAttachment)">removeAttachment</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface&nbsp;org.bukkit.persistence.<a href="../persistence/PersistentDataHolder.html" title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
<code><a href="../persistence/PersistentDataHolder.html#getPersistentDataContainer()">getPersistentDataContainer</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface&nbsp;net.kyori.adventure.pointer.<a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/pointer/Pointered.html" title="class or interface in net.kyori.adventure.pointer" class="external-link">Pointered</a></h3>
<code><a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/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>, <a href="https://jd.adventure.kyori.net/api/4.9.3/net/kyori/adventure/pointer/Pointered.html#pointers()" title="class or interface in net.kyori.adventure.pointer" class="external-link">pointers</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.projectiles.ProjectileSource">Methods inherited from interface&nbsp;org.bukkit.projectiles.<a href="../projectiles/ProjectileSource.html" title="interface in org.bukkit.projectiles">ProjectileSource</a></h3>
<code><a href="../projectiles/ProjectileSource.html#launchProjectile(java.lang.Class)">launchProjectile</a>, <a href="../projectiles/ProjectileSource.html#launchProjectile(java.lang.Class,org.bukkit.util.Vector)">launchProjectile</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface&nbsp;org.bukkit.permissions.<a href="../permissions/ServerOperator.html" title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<code><a href="../permissions/ServerOperator.html#isOp()">isOp</a>, <a href="../permissions/ServerOperator.html#setOp(boolean)">setOp</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getEyeHeight()">
<h3>getEyeHeight</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getEyeHeight</span>()</div>
<div class="block">Gets the height of the living entity's eyes above its Location.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>height of the living entity's eyes above its location</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEyeHeight(boolean)">
<h3>getEyeHeight</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getEyeHeight</span><wbr><span class="parameters">(boolean&nbsp;ignorePose)</span></div>
<div class="block">Gets the height of the living entity's eyes above its Location.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ignorePose</code> - if set to true, the effects of pose changes, eg
sneaking and gliding will be ignored</dd>
<dt>Returns:</dt>
<dd>height of the living entity's eyes above its location</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEyeLocation()">
<h3>getEyeLocation</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a></span>&nbsp;<span class="element-name">getEyeLocation</span>()</div>
<div class="block">Get a Location detailing the current eye position of the living entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>a location at the eyes of the living entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLineOfSight(java.util.Set,int)">
<h3>getLineOfSight</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;</span>&nbsp;<span class="element-name">getLineOfSight</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</span></div>
<div class="block">Gets all blocks along the living entity's line of sight.
<p>
This list contains all blocks from the living entity's eye position to
target inclusive. This method considers all blocks as 1x1x1 in size.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>transparent</code> - Set containing all transparent block Materials (set to
null for only air)</dd>
<dd><code>maxDistance</code> - this is the maximum distance to scan (may be limited
by server by at least 100 blocks, no less)</dd>
<dt>Returns:</dt>
<dd>list containing all blocks along the living entity's line of
sight</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlock(java.util.Set,int)">
<h3>getTargetBlock</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></span>&nbsp;<span class="element-name">getTargetBlock</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</span></div>
<div class="block">Gets the block that the living entity has targeted.
<p>
This method considers all blocks as 1x1x1 in size. To take exact block
collision shapes into account, see <a href="#getTargetBlockExact(int,org.bukkit.FluidCollisionMode)"><code>getTargetBlockExact(int, FluidCollisionMode)</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>transparent</code> - Set containing all transparent block Materials (set to
null for only air)</dd>
<dd><code>maxDistance</code> - this is the maximum distance to scan (may be limited
by server by at least 100 blocks, no less)</dd>
<dt>Returns:</dt>
<dd>block that the living entity has targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlock(int)">
<h3>getTargetBlock</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></span>&nbsp;<span class="element-name">getTargetBlock</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets the block that the living entity has targeted, ignoring fluids</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>block that the living entity has targeted,
or null if no block is within maxDistance</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlock(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)">
<h3>getTargetBlock</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></span>&nbsp;<span class="element-name">getTargetBlock</span><wbr><span class="parameters">(int&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</span></div>
<div class="block">Gets the block that the living entity has targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dd><code>fluidMode</code> - whether to check fluids or not</dd>
<dt>Returns:</dt>
<dd>block that the living entity has targeted,
or null if no block is within maxDistance</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockFace(int)">
<h3>getTargetBlockFace</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="../block/BlockFace.html" title="enum class in org.bukkit.block">BlockFace</a></span>&nbsp;<span class="element-name">getTargetBlockFace</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets the blockface of that block that the living entity has targeted, ignoring fluids</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>blockface of the block that the living entity has targeted,
or null if no block is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockFace(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)">
<h3>getTargetBlockFace</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="../block/BlockFace.html" title="enum class in org.bukkit.block">BlockFace</a></span>&nbsp;<span class="element-name">getTargetBlockFace</span><wbr><span class="parameters">(int&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</span></div>
<div class="block">Gets the blockface of that block that the living entity has targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dd><code>fluidMode</code> - whether to check fluids or not</dd>
<dt>Returns:</dt>
<dd>blockface of the block that the living entity has targeted,
or null if no block is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockInfo(int)">
<h3>getTargetBlockInfo</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.html" title="class in com.destroystokyo.paper.block">TargetBlockInfo</a></span>&nbsp;<span class="element-name">getTargetBlockInfo</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets information about the block the living entity has targeted, ignoring fluids</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>TargetBlockInfo about the block the living entity has targeted,
or null if no block is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockInfo(int,com.destroystokyo.paper.block.TargetBlockInfo.FluidMode)">
<h3>getTargetBlockInfo</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.html" title="class in com.destroystokyo.paper.block">TargetBlockInfo</a></span>&nbsp;<span class="element-name">getTargetBlockInfo</span><wbr><span class="parameters">(int&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="../../../com/destroystokyo/paper/block/TargetBlockInfo.FluidMode.html" title="enum class in com.destroystokyo.paper.block">TargetBlockInfo.FluidMode</a>&nbsp;fluidMode)</span></div>
<div class="block">Gets information about the block the living entity has targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dd><code>fluidMode</code> - whether to check fluids or not</dd>
<dt>Returns:</dt>
<dd>TargetBlockInfo about the block the living entity has targeted,
or null if no block is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetEntity(int)">
<h3>getTargetEntity</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></span>&nbsp;<span class="element-name">getTargetEntity</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets information about the entity being targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>entity being targeted, or null if no entity is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetEntity(int,boolean)">
<h3>getTargetEntity</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></span>&nbsp;<span class="element-name">getTargetEntity</span><wbr><span class="parameters">(int&nbsp;maxDistance,
boolean&nbsp;ignoreBlocks)</span></div>
<div class="block">Gets information about the entity being targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dd><code>ignoreBlocks</code> - true to scan through blocks</dd>
<dt>Returns:</dt>
<dd>entity being targeted, or null if no entity is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetEntityInfo(int)">
<h3>getTargetEntityInfo</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="../../../com/destroystokyo/paper/entity/TargetEntityInfo.html" title="class in com.destroystokyo.paper.entity">TargetEntityInfo</a></span>&nbsp;<span class="element-name">getTargetEntityInfo</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets information about the entity being targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>TargetEntityInfo about the entity being targeted,
or null if no entity is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetEntityInfo(int,boolean)">
<h3>getTargetEntityInfo</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="../../../com/destroystokyo/paper/entity/TargetEntityInfo.html" title="class in com.destroystokyo.paper.entity">TargetEntityInfo</a></span>&nbsp;<span class="element-name">getTargetEntityInfo</span><wbr><span class="parameters">(int&nbsp;maxDistance,
boolean&nbsp;ignoreBlocks)</span></div>
<div class="block">Gets information about the entity being targeted</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - this is the maximum distance to scan</dd>
<dd><code>ignoreBlocks</code> - true to scan through blocks</dd>
<dt>Returns:</dt>
<dd>TargetEntityInfo about the entity being targeted,
or null if no entity is targeted</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLastTwoTargetBlocks(java.util.Set,int)">
<h3>getLastTwoTargetBlocks</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../block/Block.html" title="interface in org.bukkit.block">Block</a>&gt;</span>&nbsp;<span class="element-name">getLastTwoTargetBlocks</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="../Material.html" title="enum class in org.bukkit">Material</a>&gt;&nbsp;transparent,
int&nbsp;maxDistance)</span></div>
<div class="block">Gets the last two blocks along the living entity's line of sight.
<p>
The target block will be the last block in the list. This method
considers all blocks as 1x1x1 in size.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>transparent</code> - Set containing all transparent block Materials (set to
null for only air)</dd>
<dd><code>maxDistance</code> - this is the maximum distance to scan. This may be
further limited by the server, but never to less than 100 blocks</dd>
<dt>Returns:</dt>
<dd>list containing the last 2 blocks along the living entity's
line of sight</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockExact(int)">
<h3>getTargetBlockExact</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></span>&nbsp;<span class="element-name">getTargetBlockExact</span><wbr><span class="parameters">(int&nbsp;maxDistance)</span></div>
<div class="block">Gets the block that the living entity has targeted.
<p>
This takes the blocks' precise collision shapes into account. Fluids are
ignored.
<p>
This may cause loading of chunks! Some implementations may impose
artificial restrictions on the maximum distance.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>block that the living entity has targeted</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="#getTargetBlockExact(int,org.bukkit.FluidCollisionMode)"><code>getTargetBlockExact(int, org.bukkit.FluidCollisionMode)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTargetBlockExact(int,org.bukkit.FluidCollisionMode)">
<h3>getTargetBlockExact</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../block/Block.html" title="interface in org.bukkit.block">Block</a></span>&nbsp;<span class="element-name">getTargetBlockExact</span><wbr><span class="parameters">(int&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a>&nbsp;fluidCollisionMode)</span></div>
<div class="block">Gets the block that the living entity has targeted.
<p>
This takes the blocks' precise collision shapes into account.
<p>
This may cause loading of chunks! Some implementations may impose
artificial restrictions on the maximum distance.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - the maximum distance to scan</dd>
<dd><code>fluidCollisionMode</code> - the fluid collision mode</dd>
<dt>Returns:</dt>
<dd>block that the living entity has targeted</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="#rayTraceBlocks(double,org.bukkit.FluidCollisionMode)"><code>rayTraceBlocks(double, FluidCollisionMode)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="rayTraceBlocks(double)">
<h3>rayTraceBlocks</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span>&nbsp;<span class="element-name">rayTraceBlocks</span><wbr><span class="parameters">(double&nbsp;maxDistance)</span></div>
<div class="block">Performs a ray trace that provides information on the targeted block.
<p>
This takes the blocks' precise collision shapes into account. Fluids are
ignored.
<p>
This may cause loading of chunks! Some implementations may impose
artificial restrictions on the maximum distance.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - the maximum distance to scan</dd>
<dt>Returns:</dt>
<dd>information on the targeted block, or <code>null</code> if there
is no targeted block in range</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="#rayTraceBlocks(double,org.bukkit.FluidCollisionMode)"><code>rayTraceBlocks(double, FluidCollisionMode)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="rayTraceBlocks(double,org.bukkit.FluidCollisionMode)">
<h3>rayTraceBlocks</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../util/RayTraceResult.html" title="class in org.bukkit.util">RayTraceResult</a></span>&nbsp;<span class="element-name">rayTraceBlocks</span><wbr><span class="parameters">(double&nbsp;maxDistance,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../FluidCollisionMode.html" title="enum class in org.bukkit">FluidCollisionMode</a>&nbsp;fluidCollisionMode)</span></div>
<div class="block">Performs a ray trace that provides information on the targeted block.
<p>
This takes the blocks' precise collision shapes into account.
<p>
This may cause loading of chunks! Some implementations may impose
artificial restrictions on the maximum distance.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>maxDistance</code> - the maximum distance to scan</dd>
<dd><code>fluidCollisionMode</code> - the fluid collision mode</dd>
<dt>Returns:</dt>
<dd>information on the targeted block, or <code>null</code> if there
is no targeted block in range</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="../World.html#rayTraceBlocks(org.bukkit.Location,org.bukkit.util.Vector,double,org.bukkit.FluidCollisionMode)"><code>World.rayTraceBlocks(Location, Vector, double, FluidCollisionMode)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRemainingAir()">
<h3>getRemainingAir</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getRemainingAir</span>()</div>
<div class="block">Returns the amount of air that the living entity has remaining, in
ticks.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>amount of air remaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRemainingAir(int)">
<h3>setRemainingAir</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRemainingAir</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the amount of air that the living entity has remaining, in ticks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - amount of air remaining</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getMaximumAir()">
<h3>getMaximumAir</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getMaximumAir</span>()</div>
<div class="block">Returns the maximum amount of air the living entity can have, in ticks.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>maximum amount of air</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setMaximumAir(int)">
<h3>setMaximumAir</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setMaximumAir</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the maximum amount of air the living entity can have, in ticks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - maximum amount of air</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getArrowCooldown()">
<h3>getArrowCooldown</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getArrowCooldown</span>()</div>
<div class="block">Gets the time in ticks until the next arrow leaves the entity's body.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>ticks until arrow leaves</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setArrowCooldown(int)">
<h3>setArrowCooldown</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setArrowCooldown</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the time in ticks until the next arrow leaves the entity's body.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - time until arrow leaves</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getArrowsInBody()">
<h3>getArrowsInBody</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getArrowsInBody</span>()</div>
<div class="block">Gets the amount of arrows in an entity's body.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>amount of arrows in body</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setArrowsInBody(int)">
<h3>setArrowsInBody</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setArrowsInBody</span><wbr><span class="parameters">(int&nbsp;count)</span></div>
<div class="block">Set the amount of arrows in the entity's body.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>count</code> - amount of arrows in entity's body</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeeStingerCooldown()">
<h3>getBeeStingerCooldown</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getBeeStingerCooldown</span>()</div>
<div class="block">Gets the time in ticks until the next bee stinger leaves the entity's body.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>ticks until bee stinger leaves</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBeeStingerCooldown(int)">
<h3>setBeeStingerCooldown</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBeeStingerCooldown</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the time in ticks until the next stinger leaves the entity's body.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - time until bee stinger leaves</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeeStingersInBody()">
<h3>getBeeStingersInBody</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getBeeStingersInBody</span>()</div>
<div class="block">Gets the amount of bee stingers in an entity's body.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>amount of bee stingers in body</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBeeStingersInBody(int)">
<h3>setBeeStingersInBody</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBeeStingersInBody</span><wbr><span class="parameters">(int&nbsp;count)</span></div>
<div class="block">Set the amount of bee stingers in the entity's body.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>count</code> - amount of bee stingers in entity's body</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getMaximumNoDamageTicks()">
<h3>getMaximumNoDamageTicks</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getMaximumNoDamageTicks</span>()</div>
<div class="block">Returns the living entity's current maximum no damage ticks.
<p>
This is the maximum duration in which the living entity will not take
damage.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>maximum no damage ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setMaximumNoDamageTicks(int)">
<h3>setMaximumNoDamageTicks</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setMaximumNoDamageTicks</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the living entity's current maximum no damage ticks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - maximum amount of no damage ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLastDamage()">
<h3>getLastDamage</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getLastDamage</span>()</div>
<div class="block">Returns the living entity's last damage taken in the current no damage
ticks time.
<p>
Only damage higher than this amount will further damage the living
entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>damage taken since the last no damage ticks time period</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLastDamage(double)">
<h3>setLastDamage</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLastDamage</span><wbr><span class="parameters">(double&nbsp;damage)</span></div>
<div class="block">Sets the damage dealt within the current no damage ticks time period.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>damage</code> - amount of damage</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNoDamageTicks()">
<h3>getNoDamageTicks</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getNoDamageTicks</span>()</div>
<div class="block">Returns the living entity's current no damage ticks.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>amount of no damage ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setNoDamageTicks(int)">
<h3>setNoDamageTicks</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setNoDamageTicks</span><wbr><span class="parameters">(int&nbsp;ticks)</span></div>
<div class="block">Sets the living entity's current no damage ticks.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ticks</code> - amount of no damage ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getKiller()">
<h3>getKiller</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Player.html" title="interface in org.bukkit.entity">Player</a></span>&nbsp;<span class="element-name">getKiller</span>()</div>
<div class="block">Gets the player identified as the killer of the living entity.
<p>
May be null.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>killer player, or null if none found</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setKiller(org.bukkit.entity.Player)">
<h3>setKiller</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setKiller</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Player.html" title="interface in org.bukkit.entity">Player</a>&nbsp;killer)</span></div>
<div class="block">Sets the player identified as the killer of the living entity.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>killer</code> - player</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPotionEffect(org.bukkit.potion.PotionEffect)">
<h3>addPotionEffect</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">addPotionEffect</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect)</span></div>
<div class="block">Adds the given <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living entity.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>effect</code> - PotionEffect to be added</dd>
<dt>Returns:</dt>
<dd>whether the effect could be added</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPotionEffect(org.bukkit.potion.PotionEffect,boolean)">
<h3>addPotionEffect</h3>
<div class="member-signature"><span class="annotations"><a href="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><span class="return-type">boolean</span>&nbsp;<span class="element-name">addPotionEffect</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&nbsp;effect,
boolean&nbsp;force)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">no need to force since multiple effects of the same type are
now supported.</div>
</div>
<div class="block">Adds the given <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living entity.
<p>
Only one potion effect can be present for a given <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>effect</code> - PotionEffect to be added</dd>
<dd><code>force</code> - whether conflicting effects should be removed</dd>
<dt>Returns:</dt>
<dd>whether the effect could be added</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPotionEffects(java.util.Collection)">
<h3>addPotionEffects</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">addPotionEffects</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;&nbsp;effects)</span></div>
<div class="block">Attempts to add all of the given <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> to the living
entity.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>effects</code> - the effects to add</dd>
<dt>Returns:</dt>
<dd>whether all of the effects could be added</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasPotionEffect(org.bukkit.potion.PotionEffectType)">
<h3>hasPotionEffect</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">hasPotionEffect</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</span></div>
<div class="block">Returns whether the living entity already has an existing effect of
the given <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a> applied to it.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - the potion type to check</dd>
<dt>Returns:</dt>
<dd>whether the living entity has this potion effect active on them</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPotionEffect(org.bukkit.potion.PotionEffectType)">
<h3>getPotionEffect</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a></span>&nbsp;<span class="element-name">getPotionEffect</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</span></div>
<div class="block">Returns the active <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a> of the specified type.
<p>
If the effect is not present on the entity then null will be returned.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - the potion type to check</dd>
<dt>Returns:</dt>
<dd>the effect active on this entity, or null if not active.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="removePotionEffect(org.bukkit.potion.PotionEffectType)">
<h3>removePotionEffect</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">removePotionEffect</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion">PotionEffectType</a>&nbsp;type)</span></div>
<div class="block">Removes any effects present of the given <a href="../potion/PotionEffectType.html" title="class in org.bukkit.potion"><code>PotionEffectType</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - the potion type to remove</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getActivePotionEffects()">
<h3>getActivePotionEffects</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;<a href="../potion/PotionEffect.html" title="class in org.bukkit.potion">PotionEffect</a>&gt;</span>&nbsp;<span class="element-name">getActivePotionEffects</span>()</div>
<div class="block">Returns all currently active <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a>s on the living
entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>a collection of <a href="../potion/PotionEffect.html" title="class in org.bukkit.potion"><code>PotionEffect</code></a>s</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasLineOfSight(org.bukkit.entity.Entity)">
<h3>hasLineOfSight</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">hasLineOfSight</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;other)</span></div>
<div class="block">Checks whether the living entity has block line of sight to another.
<p>
This uses the same algorithm that hostile mobs use to find the closest
player.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>other</code> - the entity to determine line of sight to</dd>
<dt>Returns:</dt>
<dd>true if there is a line of sight, false if not</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasLineOfSight(org.bukkit.Location)">
<h3>hasLineOfSight</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">hasLineOfSight</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="../Location.html" title="class in org.bukkit">Location</a>&nbsp;location)</span></div>
<div class="block">Checks whether the living entity has block line of sight to the given block.
<p>
This uses the same algorithm that hostile mobs use to find the closest
player.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - the location to determine line of sight to</dd>
<dt>Returns:</dt>
<dd>true if there is a line of sight, false if not</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRemoveWhenFarAway()">
<h3>getRemoveWhenFarAway</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getRemoveWhenFarAway</span>()</div>
<div class="block">Returns if the living entity despawns when away from players or not.
<p>
By default, animals are not removed while other mobs are.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the living entity is removed when away from players</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRemoveWhenFarAway(boolean)">
<h3>setRemoveWhenFarAway</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRemoveWhenFarAway</span><wbr><span class="parameters">(boolean&nbsp;remove)</span></div>
<div class="block">Sets whether or not the living entity despawns when away from players
or not.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>remove</code> - the removal status</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEquipment()">
<h3>getEquipment</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/EntityEquipment.html" title="interface in org.bukkit.inventory">EntityEquipment</a></span>&nbsp;<span class="element-name">getEquipment</span>()</div>
<div class="block">Gets the inventory with the equipment worn by the living entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the living entity's inventory</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCanPickupItems(boolean)">
<h3>setCanPickupItems</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCanPickupItems</span><wbr><span class="parameters">(boolean&nbsp;pickup)</span></div>
<div class="block">Sets whether or not the living entity can pick up items.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>pickup</code> - whether or not the living entity can pick up items</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCanPickupItems()">
<h3>getCanPickupItems</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getCanPickupItems</span>()</div>
<div class="block">Gets if the living entity can pick up items.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>whether or not the living entity can pick up items</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isLeashed()">
<h3>isLeashed</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isLeashed</span>()</div>
<div class="block">Returns whether the entity is currently leashed.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>whether the entity is leashed</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLeashHolder()">
<h3>getLeashHolder</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a></span>&nbsp;<span class="element-name">getLeashHolder</span>()
throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></span></div>
<div class="block">Gets the entity that is currently leading this entity.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the entity holding the leash</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if not currently leashed</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLeashHolder(org.bukkit.entity.Entity)">
<h3>setLeashHolder</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">setLeashHolder</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;holder)</span></div>
<div class="block">Sets the leash on this entity to be held by the supplied entity.
<p>
This method has no effect on EnderDragons, Withers, Players, or Bats.
Non-living entities excluding leashes will not persist as leash
holders.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>holder</code> - the entity to leash this entity to, or null to unleash</dd>
<dt>Returns:</dt>
<dd>whether the operation was successful</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isGliding()">
<h3>isGliding</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isGliding</span>()</div>
<div class="block">Checks to see if an entity is gliding, such as using an Elytra.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if this entity is gliding.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setGliding(boolean)">
<h3>setGliding</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setGliding</span><wbr><span class="parameters">(boolean&nbsp;gliding)</span></div>
<div class="block">Makes entity start or stop gliding. This will work even if an Elytra
is not equipped, but will be reverted by the server immediately after
unless an event-cancelling mechanism is put in place.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>gliding</code> - True if the entity is gliding.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isSwimming()">
<h3>isSwimming</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isSwimming</span>()</div>
<div class="block">Checks to see if an entity is swimming.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if this entity is swimming.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setSwimming(boolean)">
<h3>setSwimming</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setSwimming</span><wbr><span class="parameters">(boolean&nbsp;swimming)</span></div>
<div class="block">Makes entity start or stop swimming.
This may have unexpected results if the entity is not in water.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>swimming</code> - True if the entity is swimming.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isRiptiding()">
<h3>isRiptiding</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isRiptiding</span>()</div>
<div class="block">Checks to see if an entity is currently using the Riptide enchantment.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if this entity is currently riptiding.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isSleeping()">
<h3>isSleeping</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isSleeping</span>()</div>
<div class="block">Returns whether this entity is slumbering.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>slumber state</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isClimbing()">
<h3>isClimbing</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isClimbing</span>()</div>
<div class="block">Gets if the entity is climbing.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>if the entity is climbing</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAI(boolean)">
<h3>setAI</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAI</span><wbr><span class="parameters">(boolean&nbsp;ai)</span></div>
<div class="block">Sets whether an entity will have AI.
The entity will be completely unable to move if it has no AI.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>ai</code> - whether the mob will have AI or not.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hasAI()">
<h3>hasAI</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">hasAI</span>()</div>
<div class="block">Checks whether an entity has AI.
The entity will be completely unable to move if it has no AI.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the entity has AI, otherwise false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="attack(org.bukkit.entity.Entity)">
<h3>attack</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">attack</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Entity.html" title="interface in org.bukkit.entity">Entity</a>&nbsp;target)</span></div>
<div class="block">Makes this entity attack the given entity with a melee attack.
Attack damage is calculated by the server from the attributes and
equipment of this mob, and knockback is applied to <code>target</code> as
appropriate.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>target</code> - entity to attack.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="swingMainHand()">
<h3>swingMainHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">swingMainHand</span>()</div>
<div class="block">Makes this entity swing their main hand.
This method does nothing if this entity does not have an animation for
swinging their main hand.</div>
</section>
</li>
<li>
<section class="detail" id="swingOffHand()">
<h3>swingOffHand</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">swingOffHand</span>()</div>
<div class="block">Makes this entity swing their off hand.
This method does nothing if this entity does not have an animation for
swinging their off hand.</div>
</section>
</li>
<li>
<section class="detail" id="setCollidable(boolean)">
<h3>setCollidable</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCollidable</span><wbr><span class="parameters">(boolean&nbsp;collidable)</span></div>
<div class="block">Set if this entity will be subject to collisions with other entities.
<p>
Exemptions to this rule can be managed with
<a href="#getCollidableExemptions()"><code>getCollidableExemptions()</code></a></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>collidable</code> - collision status</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isCollidable()">
<h3>isCollidable</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isCollidable</span>()</div>
<div class="block">Gets if this entity is subject to collisions with other entities.
<p>
Some entities might be exempted from the collidable rule of this entity.
Use <a href="#getCollidableExemptions()"><code>getCollidableExemptions()</code></a> to get these.
<p>
Please note that this method returns only the custom collidable state,
not whether the entity is non-collidable for other reasons such as being
dead.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>collision status</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCollidableExemptions()">
<h3>getCollidableExemptions</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;</span>&nbsp;<span class="element-name">getCollidableExemptions</span>()</div>
<div class="block">Gets a mutable set of UUIDs of the entities which are exempt from the
entity's collidable rule and which's collision with this entity will
behave the opposite of it.
<p>
This set can be modified to add or remove exemptions.
<p>
For example if collidable is true and an entity is in the exemptions set
then it will not collide with it. Similarly if collidable is false and an
entity is in this set then it will still collide with it.
<p>
Note these exemptions are not (currently) persistent.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the collidable exemption set</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getMemory(org.bukkit.entity.memory.MemoryKey)">
<h3>getMemory</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type">T</span>&nbsp;<span class="element-name">getMemory</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a>&lt;T&gt;&nbsp;memoryKey)</span></div>
<div class="block">Returns the value of the memory specified.
<p>
Note that the value is null when the specific entity does not have that
value by default.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - the type of the return value</dd>
<dt>Parameters:</dt>
<dd><code>memoryKey</code> - memory to access</dd>
<dt>Returns:</dt>
<dd>a instance of the memory section value or null if not present</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setMemory(org.bukkit.entity.memory.MemoryKey,T)">
<h3 id="setMemory(org.bukkit.entity.memory.MemoryKey,java.lang.Object)">setMemory</h3>
<div class="member-signature"><span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setMemory</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="memory/MemoryKey.html" title="class in org.bukkit.entity.memory">MemoryKey</a>&lt;T&gt;&nbsp;memoryKey,
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
T&nbsp;memoryValue)</span></div>
<div class="block">Sets the value of the memory specified.
<p>
Note that the value will not be persisted when the specific entity does
not have that value by default.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - the type of the passed value</dd>
<dt>Parameters:</dt>
<dd><code>memoryKey</code> - the memory to access</dd>
<dd><code>memoryValue</code> - a typed memory value</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCategory()">
<h3>getCategory</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="EntityCategory.html" title="enum class in org.bukkit.entity">EntityCategory</a></span>&nbsp;<span class="element-name">getCategory</span>()</div>
<div class="block">Get the category to which this entity belongs.
Categories may subject this entity to additional effects, benefits or
debuffs.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the entity category</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setInvisible(boolean)">
<h3>setInvisible</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setInvisible</span><wbr><span class="parameters">(boolean&nbsp;invisible)</span></div>
<div class="block">Sets whether the entity is invisible or not.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>invisible</code> - If the entity is invisible</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isInvisible()">
<h3>isInvisible</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isInvisible</span>()</div>
<div class="block">Gets whether the entity is invisible or not.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Whether the entity is invisible</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getArrowsStuck()">
<h3>getArrowsStuck</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getArrowsStuck</span>()</div>
<div class="block">Get the number of arrows stuck in this entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Number of arrows stuck</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setArrowsStuck(int)">
<h3>setArrowsStuck</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setArrowsStuck</span><wbr><span class="parameters">(int&nbsp;arrows)</span></div>
<div class="block">Set the number of arrows stuck in this entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>arrows</code> - Number of arrows to stick in this entity</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShieldBlockingDelay()">
<h3>getShieldBlockingDelay</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getShieldBlockingDelay</span>()</div>
<div class="block">Get the delay (in ticks) before blocking is effective for this entity</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Delay in ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShieldBlockingDelay(int)">
<h3>setShieldBlockingDelay</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShieldBlockingDelay</span><wbr><span class="parameters">(int&nbsp;delay)</span></div>
<div class="block">Set the delay (in ticks) before blocking is effective for this entity</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>delay</code> - Delay in ticks</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getActiveItem()">
<h3>getActiveItem</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a>
</span><span class="return-type"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/Nullable.html" title="class or interface in org.jetbrains.annotations" class="external-link">@Nullable</a> <a href="../inventory/ItemStack.html" title="class in org.bukkit.inventory">ItemStack</a></span>&nbsp;<span class="element-name">getActiveItem</span>()</div>
<div class="block">Get's the item being actively "used" or consumed.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The item. Will be null if no active item.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="clearActiveItem()">
<h3>clearActiveItem</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">clearActiveItem</span>()</div>
<div class="block">Interrupts any ongoing active "usage" or consumption or an item.</div>
</section>
</li>
<li>
<section class="detail" id="getItemUseRemainingTime()">
<h3>getItemUseRemainingTime</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getItemUseRemainingTime</span>()</div>
<div class="block">Get's remaining time a player needs to keep hands raised with an item to finish using it.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Remaining ticks to use the item</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHandRaisedTime()">
<h3>getHandRaisedTime</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getHandRaisedTime</span>()</div>
<div class="block">Get how long the players hands have been raised (Charging Bow attack, using a potion, etc)</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Get how long the players hands have been raised (Charging Bow attack, using a potion, etc)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isHandRaised()">
<h3>isHandRaised</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isHandRaised</span>()</div>
<div class="block">Whether or not this entity is using or charging an attack (Bow pulled back, drinking potion, eating food)</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Whether or not this entity is using or charging an attack (Bow pulled back, drinking potion, eating food)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHandRaised()">
<h3>getHandRaised</h3>
<div class="member-signature"><span class="annotations"><a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
</span><span class="return-type"><a href="../inventory/EquipmentSlot.html" title="enum class in org.bukkit.inventory">EquipmentSlot</a></span>&nbsp;<span class="element-name">getHandRaised</span>()</div>
<div class="block">Gets the hand raised by this living entity. Will be either
<a href="../inventory/EquipmentSlot.html#HAND"><code>EquipmentSlot.HAND</code></a> or
<a href="../inventory/EquipmentSlot.html#OFF_HAND"><code>EquipmentSlot.OFF_HAND</code></a>.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the hand raised</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isJumping()">
<h3>isJumping</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isJumping</span>()</div>
<div class="block">Get entity jump state.
<p>
Jump state will be true when the entity has been marked to jump.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>entity jump state.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setJumping(boolean)">
<h3>setJumping</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setJumping</span><wbr><span class="parameters">(boolean&nbsp;jumping)</span></div>
<div class="block">Set entity jump state
<p>
Setting to true will mark the entity to jump.
<p>
Setting to false will unmark the entity to jump but will not stop a jump already in-progress.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>jumping</code> - entity jump state</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="playPickupItemAnimation(org.bukkit.entity.Item)">
<h3>playPickupItemAnimation</h3>
<div class="member-signature"><span class="modifiers">default</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">playPickupItemAnimation</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Item.html" title="interface in org.bukkit.entity">Item</a>&nbsp;item)</span></div>
<div class="block">Plays pickup item animation towards this entity.
<p>
<b>This will remove the item on the client.</b>
<p>
Quantity is inferred to be that of the <a href="Item.html" title="interface in org.bukkit.entity"><code>Item</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - item to pickup</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="playPickupItemAnimation(org.bukkit.entity.Item,int)">
<h3>playPickupItemAnimation</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">playPickupItemAnimation</span><wbr><span class="parameters">(<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a>
<a href="https://javadoc.io/doc/org.jetbrains/annotations/21.0.1/org/jetbrains/annotations/NotNull.html" title="class or interface in org.jetbrains.annotations" class="external-link">@NotNull</a> <a href="Item.html" title="interface in org.bukkit.entity">Item</a>&nbsp;item,
int&nbsp;quantity)</span></div>
<div class="block">Plays pickup item animation towards this entity.
<p>
<b>This will remove the item on the client.</b></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>item</code> - item to pickup</dd>
<dd><code>quantity</code> - quantity of item</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHurtDirection()">
<h3>getHurtDirection</h3>
<div class="member-signature"><span class="return-type">float</span>&nbsp;<span class="element-name">getHurtDirection</span>()</div>
<div class="block">Gets player hurt direction</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>hurt direction</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setHurtDirection(float)">
<h3>setHurtDirection</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHurtDirection</span><wbr><span class="parameters">(float&nbsp;hurtDirection)</span></div>
<div class="block">Sets player hurt direction</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>hurtDirection</code> - hurt direction</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>