<dd><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></code>, <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code>, <code><ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></code>, <code><ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></code>, <code><ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></code>, <code><ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></code>, <code><ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></code>, <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/sound/Sound.Emitter.html"title="class or interface in net.kyori.adventure.sound"class="external-link">Sound.Emitter</a></code></dd>
<dd><code><ahref="AbstractArrow.html"title="interface in org.bukkit.entity">AbstractArrow</a></code>, <code><ahref="AbstractHorse.html"title="interface in org.bukkit.entity">AbstractHorse</a></code>, <code><ahref="AbstractSkeleton.html"title="interface in org.bukkit.entity">AbstractSkeleton</a></code>, <code><ahref="AbstractVillager.html"title="interface in org.bukkit.entity">AbstractVillager</a></code>, <code><ahref="Ageable.html"title="interface in org.bukkit.entity">Ageable</a></code>, <code><ahref="Allay.html"title="interface in org.bukkit.entity">Allay</a></code>, <code><ahref="Ambient.html"title="interface in org.bukkit.entity">Ambient</a></code>, <code><ahref="Animals.html"title="interface in org.bukkit.entity">Animals</a></code>, <code><ahref="AreaEffectCloud.html"title="interface in org.bukkit.entity">AreaEffectCloud</a></code>, <code><ahref="ArmorStand.html"title="interface in org.bukkit.entity">ArmorStand</a></code>, <code><ahref="Arrow.html"title="interface in org.bukkit.entity">Arrow</a></code>, <code><ahref="Axolotl.html"title="interface in org.bukkit.entity">Axolotl</a></code>, <code><ahref="Bat.html"title="interface in org.bukkit.entity">Bat</a></code>, <code><ahref="Bee.html"title="interface in org.bukkit.entity">Bee</a></code>, <code><ahref="Blaze.html"title="interface in org.bukkit.entity">Blaze</a></code>, <code><ahref="Boat.html"title="interface in org.bukkit.entity">Boat</a></code>, <code><ahref="Boss.html"title="interface in org.bukkit.entity">Boss</a></code>, <code><ahref="Breedable.html"title="interface in org.bukkit.entity">Breedable</a></code>, <code><ahref="../../../io/papermc/paper/entity/Bucketable.html"title="interface in io.papermc.paper.entity">Bucketable</a></code>, <code><ahref="Camel.html"title="interface in org.bukkit.entity">Camel</a></code>, <code><ahref="Cat.html"title="interface in org.bukkit.entity">Cat</a></code>, <code><ahref="CaveSpider.html"title="interface in org.bukkit.entity">CaveSpider</a></code>, <code><ahref="ChestBoat.html"title="interface in org.bukkit.entity">ChestBoat</a></code>, <code><ahref="ChestedHorse.html"title="interface in org.bukkit.entity">ChestedHorse</a></code>, <code><ahref="Chicken.html"title="interface in org.bukkit.entity">Chicken</a></code>, <code><ahref="Cod.html"title="interface in org.bukkit.entity">Cod</a></code>, <code><ahref="../../../io/papermc/paper/entity/CollarColorable.html"title="interface in io.papermc.paper.entity">CollarColorable</a></code>, <code><ahref="minecart/CommandMinecart.html"title="interface in org.bukkit.entity.minecart">CommandMinecart</a></code>, <code><ahref="ComplexEntityPart.html"title="interface in org.bukkit.entity">ComplexEntityPart</a></code>, <code><ahref="ComplexLivingEntity.html"title="interface in org.bukkit.entity">ComplexLivingEntity</a></code>, <code><ahref="Cow.html"title="interface in org.bukkit.entity">Cow</a></code>, <code><ahref="Creature.html"title="interface in org.bukkit.entity">Creature</a></code>, <code><ahref="Creeper.html"title="interface in org.bukkit.entity">Creeper</a></code>, <code><ahref="Damageable.html"title="interface in org.bukkit.entity">Damageable</a></code>, <code><ahref="Dolphin.html"title="interface in org.bukkit.entity">Dolphin</a></code>, <code><ahref="Donkey.html"title="interface in org.bukkit.entity">Donkey</a></code>, <code><ahref="DragonFireball.html"title="interface in org.bukkit.entity">DragonFireball</a></code>, <code><ahref="Drowned.html"title="interface in org.bukkit.entity">Drowned</a></code>, <code><ahref="Egg.html"title="interface in org.bukkit.entity">Egg</a></code>, <code><ahref="ElderGuardian.html"title="interface in org.bukkit.entity">ElderGuardian</a></code>, <code><ahref="EnderCrystal.html"title="interface in org.bukkit.entity">EnderCrystal</a></code>, <code><ahref="EnderDragon.html"title="interface in org.bukkit.entity">EnderDragon</a></code>, <code><ahref="EnderDragonPart.html"title="interface in org.bukkit.entity">EnderDragonPart</a></code>, <code><ahref="Enderman.html"tit
extends <ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a>, <ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a>, <ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a>, <ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/sound/Sound.Emitter.html"title="class or interface in net.kyori.adventure.sound"class="external-link">Sound.Emitter</a></span></div>
<divclass="col-second even-row-color"><code><ahref="Entity.Spigot.html"class="type-name-link"title="class in org.bukkit.entity">Entity.Spigot</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addPassenger(org.bukkit.entity.Entity)"class="member-name-link">addPassenger</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addScoreboardTag(java.lang.String)"class="member-name-link">addScoreboardTag</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> tag)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#asHoverEvent(java.util.function.UnaryOperator)"class="member-name-link">asHoverEvent</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/UnaryOperator.html"title="class or interface in java.util.function"class="external-link">UnaryOperator</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>> op)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#collidesAt(org.bukkit.Location)"class="member-name-link">collidesAt</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</code></div>
<divclass="block">Returns whether this entity was spawned from a mob spawner.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/BoundingBox.html"title="class in org.bukkit.util">BoundingBox</a></code></div>
<divclass="block">Gets the entity's current bounding box.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Chunk.html"title="interface in org.bukkit">Chunk</a></code></div>
<divclass="block">Returns a unique id for this entity</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="../event/entity/CreatureSpawnEvent.SpawnReason.html"title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></code></div>
<divclass="block">Get the closest cardinal <ahref="../block/BlockFace.html"title="enum class in org.bukkit.block"><code>BlockFace</code></a> direction an entity is
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a></code></div>
<divclass="block">Retrieve the last <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a> inflicted on this entity.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="block">Gets the entity's current position</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#getLocation(org.bukkit.Location)"class="member-name-link">getLocation</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</code></div>
<divclass="block">Returns the entity's maximum freeze ticks (amount of ticks before it will
be fully frozen)</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a>></code></div>
<divclass="block">Returns a list of entities within a bounding box centered around this
entity</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="block">Gets the location where this entity originates from.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a>></code></div>
<divclass="block">Gets a list of passengers of this vehicle.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../block/PistonMoveReaction.html"title="enum class in org.bukkit.block">PistonMoveReaction</a></code></div>
<divclass="block">Gets the period of time (in ticks) before this entity can use a portal.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pose.html"title="enum class in org.bukkit.entity">Pose</a></code></div>
<divclass="block">Gets the entity's current pose.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>></code></div>
<divclass="block">Returns a set of tags for this entity.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Server.html"title="interface in org.bukkit">Server</a></code></div>
<divclass="block">Gets the <ahref="../Server.html"title="interface in org.bukkit"><code>Server</code></a> that contains this Entity</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="SpawnCategory.html"title="enum class in org.bukkit.entity">SpawnCategory</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></code></div>
<divclass="block">Get the <ahref="../Sound.html"title="enum class in org.bukkit"><code>Sound</code></a> this entity makes when splashing in water at high
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></code></div>
<divclass="block">Get the <ahref="../Sound.html"title="enum class in org.bukkit"><code>Sound</code></a> this entity makes when splashing in water.</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="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><<ahref="Player.html"title="interface in org.bukkit.entity">Player</a>></code></div>
<divclass="block">Returns a set of <ahref="Player.html"title="interface in org.bukkit.entity"><code>Players</code></a> within this entity's tracking range (players that can "see" this entity).</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityType.html"title="enum class in org.bukkit.entity">EntityType</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="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></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/Vector.html"title="class in org.bukkit.util">Vector</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../World.html"title="interface in org.bukkit">World</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#playEffect(org.bukkit.EntityEffect)"class="member-name-link">playEffect</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../EntityEffect.html"title="enum class in org.bukkit">EntityEffect</a> type)</code></div>
<divclass="block">Performs the specified <ahref="../EntityEffect.html"title="enum class in org.bukkit"><code>EntityEffect</code></a> for this entity.</div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removePassenger(org.bukkit.entity.Entity)"class="member-name-link">removePassenger</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removeScoreboardTag(java.lang.String)"class="member-name-link">removeScoreboardTag</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> tag)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setLastDamageCause(org.bukkit.event.entity.EntityDamageEvent)"class="member-name-link">setLastDamageCause</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a> event)</code></div>
<divclass="block">Record the last <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a> inflicted on this entity</div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code><ahref="#setPassenger(org.bukkit.entity.Entity)"class="member-name-link">setPassenger</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setVelocity(org.bukkit.util.Vector)"class="member-name-link">setVelocity</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/Vector.html"title="class in org.bukkit.util">Vector</a> velocity)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#spawnAt(org.bukkit.Location)"class="member-name-link">spawnAt</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</code></div>
<divclass="block">Spawns the entity in the world at the given <ahref="../Location.html"title="class in org.bukkit"><code>Location</code></a> with the default spawn reason.</div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#spawnAt(org.bukkit.Location,org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason)"class="member-name-link">spawnAt</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="../event/entity/CreatureSpawnEvent.SpawnReason.html"title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</code></div>
<divclass="block">Spawns the entity in the world at the given <ahref="../Location.html"title="class in org.bukkit"><code>Location</code></a> with the reason given.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.Spigot.html"title="class in org.bukkit.entity">Entity.Spigot</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#teleport(org.bukkit.entity.Entity)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> destination)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#teleport(org.bukkit.entity.Entity,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> destination,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#teleport(org.bukkit.Location)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#teleport(org.bukkit.Location,boolean)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#teleport(org.bukkit.Location,boolean,boolean)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#teleport(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause,boolean,boolean)"class="member-name-link">teleport</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
<divclass="block">Teleports this entity to the given location.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#teleportAsync(org.bukkit.Location)"class="member-name-link">teleportAsync</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</code></div>
<divclass="block">Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#teleportAsync(org.bukkit.Location,org.bukkit.event.player.PlayerTeleportEvent.TeleportCause)"class="member-name-link">teleportAsync</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#wouldCollideUsing(org.bukkit.util.BoundingBox)"class="member-name-link">wouldCollideUsing</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/BoundingBox.html"title="class in org.bukkit.util">BoundingBox</a> boundingBox)</code></div>
<h3id="methods-inherited-from-class-net.kyori.adventure.audience.Audience">Methods inherited from interface net.kyori.adventure.audience.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html"title="class or interface in net.kyori.adventure.audience"class="external-link">Audience</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#clearTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">clearTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#deleteMessage(net.kyori.adventure.chat.SignedMessage.Signature)"title="class or interface in net.kyori.adventure.audience"class="external-link">deleteMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#filterAudience(java.util.function.Predicate)"title="class or interface in net.kyori.adventure.audience"class="external-link">filterAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#forEachAudience(java.util.function.Consumer)"title="class or interface in net.kyori.adventure.audience"class="external-link">forEachAudience</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#hideBossBar(net.kyori.adventure.bossbar.BossBar)"title="class or interface in net.kyori.adventure.audience"class="external-link">hideBossBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#openBook(net.kyori.adventure.inventory.Book.Builder)"title="class or interface in net.kyori.adventure.audience"class="external-link">openBook</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,double,double,double)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#playSound(net.kyori.adventure.sound.Sound,net.kyori.adventure.sound.Sound.Emitter)"title="class or interface in net.kyori.adventure.audience"class="external-link">playSound</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#resetTitle()"title="class or interface in net.kyori.adventure.audience"class="external-link">resetTitle</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendActionBar(net.kyori.adventure.text.ComponentLike)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendActionBar</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.chat.SignedMessage,net.kyori.adventure.chat.ChatType.Bound)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified,net.kyori.adventure.text.Component)"title="class or interface in net.kyori.adventure.audience"class="external-link">sendMessage</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/audience/Audience.html#sendMessage(net.kyori.adventure.identity.Identified
<h3id="methods-inherited-from-class-org.bukkit.command.CommandSender">Methods inherited from interface org.bukkit.command.<ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.text.event.HoverEventSource">Methods inherited from interface net.kyori.adventure.text.event.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent()"title="class or interface in net.kyori.adventure.text.event"class="external-link">asHoverEvent</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.metadata.Metadatable">Methods inherited from interface org.bukkit.metadata.<ahref="../metadata/Metadatable.html"title="interface in org.bukkit.metadata">Metadatable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.Nameable">Methods inherited from interface org.bukkit.<ahref="../Nameable.html"title="interface in org.bukkit">Nameable</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.permissions.Permissible">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/Permissible.html"title="interface in org.bukkit.permissions">Permissible</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.persistence.PersistentDataHolder">Methods inherited from interface org.bukkit.persistence.<ahref="../persistence/PersistentDataHolder.html"title="interface in org.bukkit.persistence">PersistentDataHolder</a></h3>
<h3id="methods-inherited-from-class-net.kyori.adventure.pointer.Pointered">Methods inherited from interface net.kyori.adventure.pointer.<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html"title="class or interface in net.kyori.adventure.pointer"class="external-link">Pointered</a></h3>
<code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#get(net.kyori.adventure.pointer.Pointer)"title="class or interface in net.kyori.adventure.pointer"class="external-link">get</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefault(net.kyori.adventure.pointer.Pointer,T)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefault</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#getOrDefaultFrom(net.kyori.adventure.pointer.Pointer,java.util.function.Supplier)"title="class or interface in net.kyori.adventure.pointer"class="external-link">getOrDefaultFrom</a>, <ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/pointer/Pointered.html#pointers()"title="class or interface in net.kyori.adventure.pointer"class="external-link">pointers</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.permissions.ServerOperator">Methods inherited from interface org.bukkit.permissions.<ahref="../permissions/ServerOperator.html"title="interface in org.bukkit.permissions">ServerOperator</a></h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getLocation</span>()</div>
<divclass="block">Gets the entity's current position</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a new copy of Location containing the position of this entity</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Contract.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Contract</a>("null -> null; !null -> !null")
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getLocation</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</span></div>
<divclass="block">Stores the entity's current position in the provided Location object.
<p>
If the provided Location is null this method does nothing and returns
null.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - the location to copy into</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setVelocity</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/Vector.html"title="class in org.bukkit.util">Vector</a> velocity)</span></div>
<divclass="block">Sets this entity's velocity in meters per tick</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>velocity</code> - New velocity to travel with</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getVelocity()">
<h3>getVelocity</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/Vector.html"title="class in org.bukkit.util">Vector</a></span> <spanclass="element-name">getVelocity</span>()</div>
<divclass="block">Gets this entity's current velocity</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Current traveling velocity of this entity</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/BoundingBox.html"title="class in org.bukkit.util">BoundingBox</a></span> <spanclass="element-name">getBoundingBox</span>()</div>
<divclass="block">Gets the entity's current bounding box.
<p>
The returned bounding box reflects the entity's current location and
<divclass="block">Returns true if the entity is in water.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the entity is in water.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getWorld()">
<h3>getWorld</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../World.html"title="interface in org.bukkit">World</a></span> <spanclass="element-name">getWorld</span>()</div>
<divclass="block">Gets the current world this entity resides in</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/ApiStatus.Experimental.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Experimental</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean ignorePassengers)</span></div>
<divclass="block">Teleports this entity to the given location.
<p>
Note: Teleporting to a different world with ignorePassengers to true while the entity has entities riding it
will cause this teleportation to return false and not occur.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dd><code>ignorePassengers</code> - If all passengers should not be required to be removed prior to teleportation</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/ApiStatus.Experimental.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Experimental</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
boolean ignorePassengers)</span></div>
<divclass="block">Teleports this entity to the given location.
<p>
Note: Teleporting to a different world with ignorePassengers to true while the entity has entities riding it
will cause this teleportation to return false and not occur.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dd><code>cause</code> - The cause of this teleportation</dd>
<dd><code>ignorePassengers</code> - If all passengers should not be required to be removed prior to teleportation</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/ApiStatus.Experimental.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Experimental</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
boolean ignorePassengers,
boolean dismount)</span></div>
<divclass="block">Teleports this entity to the given location.
<p>
Note: Teleporting to a different world with ignorePassengers to true while the entity has entities riding it
will cause this teleportation to return false and not occur.
Note: Teleporting to a different world with dismount to false while this entity is riding another entity will
cause this teleportation to return false and not occur.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dd><code>ignorePassengers</code> - If all passengers should not be required to be removed prior to teleportation</dd>
<dd><code>dismount</code> - If the entity should be dismounted if they are riding another entity</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/ApiStatus.Experimental.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Experimental</a>
</span><spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause,
boolean ignorePassengers,
boolean dismount)</span></div>
<divclass="block">Teleports this entity to the given location.
<p>
Note: Teleporting to a different world with ignorePassengers to true while the entity has entities riding it
will cause this teleportation to return false and not occur.
Note: Teleporting to a different world with dismount to false while this entity is riding another entity will
cause this teleportation to return false and not occur.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dd><code>cause</code> - The cause of this teleportation</dd>
<dd><code>ignorePassengers</code> - If all passengers should not be required to be removed prior to teleportation</dd>
<dd><code>dismount</code> - If the entity should be dismounted if they are riding another entity</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Teleports this entity to the given location. If this entity is riding a
vehicle, it will be dismounted prior to teleportation.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</span></div>
<divclass="block">Teleports this entity to the given location. If this entity is riding a
vehicle, it will be dismounted prior to teleportation.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - New location to teleport this entity to</dd>
<dd><code>cause</code> - The cause of this teleportation</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> destination)</span></div>
<divclass="block">Teleports this entity to the target Entity. If this entity is riding a
vehicle, it will be dismounted prior to teleportation.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>destination</code> - Entity to teleport this entity to</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">teleport</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> destination,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</span></div>
<divclass="block">Teleports this entity to the target Entity. If this entity is riding a
vehicle, it will be dismounted prior to teleportation.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>destination</code> - Entity to teleport this entity to</dd>
<dd><code>cause</code> - The cause of this teleportation</dd>
<dt>Returns:</dt>
<dd><code>true</code> if the teleport was successful</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></span> <spanclass="element-name">teleportAsync</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc)</span></div>
<divclass="block">Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to teleport to</dd>
<dt>Returns:</dt>
<dd>A future that will be completed with the result of the teleport</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/CompletableFuture.html"title="class or interface in java.util.concurrent"class="external-link">CompletableFuture</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html"title="class or interface in java.lang"class="external-link">Boolean</a>></span> <spanclass="element-name">teleportAsync</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> loc,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../event/player/PlayerTeleportEvent.TeleportCause.html"title="enum class in org.bukkit.event.player">PlayerTeleportEvent.TeleportCause</a> cause)</span></div>
<divclass="block">Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>loc</code> - Location to teleport to</dd>
<dd><code>cause</code> - Reason for teleport</dd>
<dt>Returns:</dt>
<dd>A future that will be completed with the result of the teleport</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a>></span> <spanclass="element-name">getNearbyEntities</span><wbr><spanclass="parameters">(double x,
double y,
double z)</span></div>
<divclass="block">Returns a list of entities within a bounding box centered around this
entity</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - 1/2 the size of the box along x axis</dd>
<dd><code>y</code> - 1/2 the size of the box along y axis</dd>
<dd><code>z</code> - 1/2 the size of the box along z axis</dd>
<dt>Returns:</dt>
<dd><code>List<Entity></code> List of entities nearby</dd>
<divclass="block">Returns false if the entity has died or been despawned for some other
reason.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>True if valid.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getServer()">
<h3>getServer</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Server.html"title="interface in org.bukkit">Server</a></span> <spanclass="element-name">getServer</span>()</div>
<divclass="block">Gets the <ahref="../Server.html"title="interface in org.bukkit"><code>Server</code></a> that contains this Entity</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../command/CommandSender.html#getServer()">getServer</a></code> in interface <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code></dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">getPassenger</span>()</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="return-type">boolean</span> <spanclass="element-name">setPassenger</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</span></div>
<divclass="block">Set the passenger of a vehicle.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>passenger</code> - The new passenger.</dd>
<dt>Returns:</dt>
<dd>false if it could not be done for whatever reason</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPassengers()">
<h3>getPassengers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a>></span> <spanclass="element-name">getPassengers</span>()</div>
<divclass="block">Gets a list of passengers of this vehicle.
<p>
The returned list will not be directly linked to the entity's current
passengers, and no guarantees are made as to its mutability.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>list of entities corresponding to current passengers.</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">addPassenger</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</span></div>
<divclass="block">Add a passenger to the vehicle.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>passenger</code> - The passenger to add</dd>
<dt>Returns:</dt>
<dd>false if it could not be done for whatever reason</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">removePassenger</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a> passenger)</span></div>
<divclass="block">Remove a passenger from the vehicle.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>passenger</code> - The passenger to remove</dd>
<dt>Returns:</dt>
<dd>false if it could not be done for whatever reason</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setLastDamageCause</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a> event)</span></div>
<divclass="block">Record the last <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a> inflicted on this entity</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>event</code> - a <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a></dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getLastDamageCause()">
<h3>getLastDamageCause</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity">EntityDamageEvent</a></span> <spanclass="element-name">getLastDamageCause</span>()</div>
<divclass="block">Retrieve the last <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a> inflicted on this entity.
This event may have been cancelled.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the last known <ahref="../event/entity/EntityDamageEvent.html"title="class in org.bukkit.event.entity"><code>EntityDamageEvent</code></a> or null if hitherto
unharmed</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getUniqueId()">
<h3>getUniqueId</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html"title="class or interface in java.util"class="external-link">UUID</a></span> <spanclass="element-name">getUniqueId</span>()</div>
<divclass="block">Returns a unique and persistent id for this entity</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">playEffect</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../EntityEffect.html"title="enum class in org.bukkit">EntityEffect</a> type)</span></div>
<divclass="block">Performs the specified <ahref="../EntityEffect.html"title="enum class in org.bukkit"><code>EntityEffect</code></a> for this entity.
<p>
This will be viewable to all players near the entity.
<p>
If the effect is not applicable to this class of entity, it will not play.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Effect to play.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getType()">
<h3>getType</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="EntityType.html"title="enum class in org.bukkit.entity">EntityType</a></span> <spanclass="element-name">getType</span>()</div>
<divclass="block">Get the type of the entity.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></span> <spanclass="element-name">getSwimSound</span>()</div>
<divclass="block">Get the <ahref="../Sound.html"title="enum class in org.bukkit"><code>Sound</code></a> this entity makes while swimming.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the swimming sound</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getSwimSplashSound()">
<h3>getSwimSplashSound</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></span> <spanclass="element-name">getSwimSplashSound</span>()</div>
<divclass="block">Get the <ahref="../Sound.html"title="enum class in org.bukkit"><code>Sound</code></a> this entity makes when splashing in water. For most
entities, this is just <ahref="../Sound.html#ENTITY_GENERIC_SPLASH"><code>Sound.ENTITY_GENERIC_SPLASH</code></a>.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Sound.html"title="enum class in org.bukkit">Sound</a></span> <spanclass="element-name">getSwimHighSpeedSplashSound</span>()</div>
<divclass="block">Get the <ahref="../Sound.html"title="enum class in org.bukkit"><code>Sound</code></a> this entity makes when splashing in water at high
speeds. For most entities, this is just <ahref="../Sound.html#ENTITY_GENERIC_SPLASH"><code>Sound.ENTITY_GENERIC_SPLASH</code></a>.</div>
<divclass="block">Leave the current vehicle. If the entity is currently in a vehicle (and
is removed from it), true will be returned, otherwise false will be
returned.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>True if the entity was in a vehicle.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getVehicle()">
<h3>getVehicle</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="Entity.html"title="interface in org.bukkit.entity">Entity</a></span> <spanclass="element-name">getVehicle</span>()</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a>></span> <spanclass="element-name">getScoreboardTags</span>()</div>
<divclass="block">Returns a set of tags for this entity.
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">addScoreboardTag</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> tag)</span></div>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">removeScoreboardTag</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> tag)</span></div>
<divclass="block">Removes a given tag from this entity.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../block/PistonMoveReaction.html"title="enum class in org.bukkit.block">PistonMoveReaction</a></span> <spanclass="element-name">getPistonMoveReaction</span>()</div>
<divclass="block">Returns the reaction of the entity when moved by a piston.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>reaction</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getFacing()">
<h3>getFacing</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></span> <spanclass="element-name">getFacing</span>()</div>
<divclass="block">Get the closest cardinal <ahref="../block/BlockFace.html"title="enum class in org.bukkit.block"><code>BlockFace</code></a> direction an entity is
currently facing.
<br>
This will not return any non-cardinal directions such as
<ahref="../block/BlockFace.html#UP"><code>BlockFace.UP</code></a> or <ahref="../block/BlockFace.html#DOWN"><code>BlockFace.DOWN</code></a>.
<br>
<ahref="Hanging.html"title="interface in org.bukkit.entity"><code>Hanging</code></a> entities will override this call and thus their behavior
may be different.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the entity's current cardinal facing.</dd>
<dt>See Also:</dt>
<dd>
<ulclass="see-list">
<li><ahref="Hanging.html"title="interface in org.bukkit.entity"><code>Hanging</code></a></li>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Pose.html"title="enum class in org.bukkit.entity">Pose</a></span> <spanclass="element-name">getPose</span>()</div>
<divclass="block">Gets the entity's current pose.
<b>Note that the pose is only updated at the end of a tick, so may be
inconsistent with other methods. eg <ahref="Player.html#isSneaking()"><code>Player.isSneaking()</code></a> being
true does not imply the current pose will be <ahref="Pose.html#SNEAKING"><code>Pose.SNEAKING</code></a></b></div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>current pose</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getSpawnCategory()">
<h3>getSpawnCategory</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="SpawnCategory.html"title="enum class in org.bukkit.entity">SpawnCategory</a></span> <spanclass="element-name">getSpawnCategory</span>()</div>
<divclass="block">Get the category of spawn to which this entity belongs.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the entity´s category spawn</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="spigot()">
<h3>spigot</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="Entity.Spigot.html"title="class in org.bukkit.entity">Entity.Spigot</a></span> <spanclass="element-name">spigot</span>()</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../command/CommandSender.html#spigot()">spigot</a></code> in interface <code><ahref="../command/CommandSender.html"title="interface in org.bukkit.command">CommandSender</a></code></dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="teamDisplayName()">
<h3>teamDisplayName</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/Component.html"title="class or interface in net.kyori.adventure.text"class="external-link">Component</a></span> <spanclass="element-name">teamDisplayName</span>()</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></span> <spanclass="element-name">asHoverEvent</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/UnaryOperator.html"title="class or interface in java.util.function"class="external-link">UnaryOperator</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>> op)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from interface: <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent(java.util.function.UnaryOperator)"title="class or interface in net.kyori.adventure.text.event"class="external-link">net.kyori.adventure.text.event.HoverEventSource</a></code></span></div>
<dd><code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html#asHoverEvent(java.util.function.UnaryOperator)"title="class or interface in net.kyori.adventure.text.event"class="external-link">asHoverEvent</a></code> in interface <code><ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEventSource.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEventSource</a><<ahref="https://jd.adventure.kyori.net/api/4.12.0/net/kyori/adventure/text/event/HoverEvent.ShowEntity.html"title="class or interface in net.kyori.adventure.text.event"class="external-link">HoverEvent.ShowEntity</a>></code></dd>
<dd><code>op</code> - transformation on value</dd>
<dt>Returns:</dt>
<dd>a hover event</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getOrigin()">
<h3>getOrigin</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">getOrigin</span>()</div>
<divclass="block">Gets the location where this entity originates from.
<p>
This value can be null if the entity hasn't yet been added to the world.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Location where entity originates or null if not yet added</dd>
<divclass="block">Returns whether this entity was spawned from a mob spawner.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>True if entity spawned from a mob spawner</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getChunk()">
<h3>getChunk</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Chunk.html"title="interface in org.bukkit">Chunk</a></span> <spanclass="element-name">getChunk</span>()</div>
<divclass="block">Gets the latest chunk an entity is currently or was in.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The current, or most recent chunk if the entity is invalid (which may load the chunk)</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="../event/entity/CreatureSpawnEvent.SpawnReason.html"title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a></span> <spanclass="element-name">getEntitySpawnReason</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The <ahref="../event/entity/CreatureSpawnEvent.SpawnReason.html"title="enum class in org.bukkit.event.entity"><code>CreatureSpawnEvent.SpawnReason</code></a> that initially spawned this entity. <!-- Paper - added "initially" to clarify that the SpawnReason doesn't change after the Entity was initially spawned" --></dd>
<divclass="block">Check if entity is inside a ticking chunk</div>
</section>
</li>
<li>
<sectionclass="detail"id="getTrackedPlayers()">
<h3>getTrackedPlayers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="Player.html"title="interface in org.bukkit.entity">Player</a>></span> <spanclass="element-name">getTrackedPlayers</span>()</div>
<divclass="block">Returns a set of <ahref="Player.html"title="interface in org.bukkit.entity"><code>Players</code></a> within this entity's tracking range (players that can "see" this entity).</div>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type">boolean</span> <spanclass="element-name">spawnAt</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Spawns the entity in the world at the given <ahref="../Location.html"title="class in org.bukkit"><code>Location</code></a> with the default spawn reason.
<p>
This will not spawn the entity if the entity is already spawned or has previously been despawned.
<p>
Also, this method will fire the same events as a normal entity spawn.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to spawn the entity at.</dd>
<dt>Returns:</dt>
<dd>Whether the entity was successfully spawned.</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">spawnAt</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location,
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="../event/entity/CreatureSpawnEvent.SpawnReason.html"title="enum class in org.bukkit.event.entity">CreatureSpawnEvent.SpawnReason</a> reason)</span></div>
<divclass="block">Spawns the entity in the world at the given <ahref="../Location.html"title="class in org.bukkit"><code>Location</code></a> with the reason given.
<p>
This will not spawn the entity if the entity is already spawned or has previously been despawned.
<p>
Also, this method will fire the same events as a normal entity spawn.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location to spawn the entity at.</dd>
<dd><code>reason</code> - The reason for the entity being spawned.</dd>
<dt>Returns:</dt>
<dd>Whether the entity was successfully spawned.</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">collidesAt</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Checks for any collisions with the entity's bounding box at the provided location.
This will check for any colliding entities (boats, shulkers) / worldborder / blocks.
Does not load chunks that are within the bounding box at the specified location.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - the location to check collisions in</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">wouldCollideUsing</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../util/BoundingBox.html"title="class in org.bukkit.util">BoundingBox</a> boundingBox)</span></div>
<divclass="block">This checks using the given boundingbox as the entity's boundingbox if the entity would collide with anything.
This will check for any colliding entities (boats, shulkers) / worldborder / blocks.
Does not load chunks that are within the bounding box.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>boundingBox</code> - the box to check collisions in</dd>