Files
2025-10-28 02:05:17 -04:00

2106 lines
72 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.27) on Tue Oct 28 02:00:43 EDT 2025 -->
<title>IEntity</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2025-10-28">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IEntity";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">noppes.npcs.api.entity</a></div>
<h2 title="Interface IEntity" class="title">Interface IEntity&lt;T extends net.minecraft.entity.Entity&gt;</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - The underlying Minecraft entity type.</dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="IAnimal.html" title="interface in noppes.npcs.api.entity">IAnimal</a>&lt;T&gt;</code>, <code><a href="IArrow.html" title="interface in noppes.npcs.api.entity">IArrow</a>&lt;T&gt;</code>, <code><a href="ICustomNpc.html" title="interface in noppes.npcs.api.entity">ICustomNpc</a>&lt;T&gt;</code>, <code><a href="IDBCPlayer.html" title="interface in noppes.npcs.api.entity">IDBCPlayer</a></code>, <code><a href="IEntityItem.html" title="interface in noppes.npcs.api.entity">IEntityItem</a>&lt;T&gt;</code>, <code><a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a>&lt;T&gt;</code>, <code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;T&gt;</code>, <code><a href="IFishHook.html" title="interface in noppes.npcs.api.entity">IFishHook</a>&lt;T&gt;</code>, <code><a href="IMonster.html" title="interface in noppes.npcs.api.entity">IMonster</a>&lt;T&gt;</code>, <code><a href="IPixelmon.html" title="interface in noppes.npcs.api.entity">IPixelmon</a>&lt;T&gt;</code>, <code><a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&lt;T&gt;</code>, <code><a href="IThrowable.html" title="interface in noppes.npcs.api.entity">IThrowable</a>&lt;T&gt;</code>, <code><a href="IVillager.html" title="interface in noppes.npcs.api.entity">IVillager</a>&lt;T&gt;</code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">IEntity&lt;T extends net.minecraft.entity.Entity&gt;</span></pre>
<div class="block">Represents a generic entity in the world.
Provides methods to access or modify the entity's position, motion, temporary and persistent data,
and to perform various actions (such as spawning particles, dropping items, or changing dimensions).</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#capturesDrops()">capturesDrops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearStoredData()">clearStoredData</a></span>()</code></th>
<td class="colLast">
<div class="block">Clears all stored data.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearTempData()">clearTempData</a></span>()</code></th>
<td class="colLast">
<div class="block">Clears all temporary data.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#despawn()">despawn</a></span>()</code></th>
<td class="colLast">
<div class="block">Permanently despawns the entity.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropItem(noppes.npcs.api.item.IItemStack)">dropItem</a></span>&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Causes the entity to drop the given item.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extinguish()">extinguish</a></span>()</code></th>
<td class="colLast">
<div class="block">Extinguishes any fire on the entity.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAge()">getAge</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllNbt()">getAllNbt</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns all NBT data for the entity.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockX()">getBlockX</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockY()">getBlockY</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockZ()">getBlockZ</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;?&gt;[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCapturedDrops()">getCapturedDrops</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the captured drops.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCollidingEntities()">getCollidingEntities</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDimension()">getDimension</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntityId()">getEntityId</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the unique entity ID.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHeight()">getHeight</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="IEntity.html" title="type parameter in IEntity">T</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCEntity()">getMCEntity</a></span>()</code></th>
<td class="colLast">
<div class="block">Expert users only.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMotion()">getMotion</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the entity's current motion as an IPos object.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMotionX()">getMotionX</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMotionY()">getMotionY</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMotionZ()">getMotionZ</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMount()">getMount</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNbt()">getNbt</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the entity's NBT data.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNbtOptional()">getNbtOptional</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns optional NBT data if available.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPitch()">getPitch</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the entity's pitch.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPosition()">getPosition</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the entity's current position as an IPos object.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRider()">getRider</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotation()">getRotation</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStoredData(java.lang.String)">getStoredData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns stored (persistent) data for the given key.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStoredDataKeys()">getStoredDataKeys</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of keys for stored data.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurroundingEntities(int)">getSurroundingEntities</a></span>&#8203;(int&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Returns an array of entities within the specified range.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSurroundingEntities(int,int)">getSurroundingEntities</a></span>&#8203;(int&nbsp;range,
int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Returns an array of entities of a specified type within the given range.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTempData(java.lang.String)">getTempData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns temporary data stored under the given key.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTempDataKeys()">getTempDataKeys</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of keys for temporary data.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getType()">getType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the EntityType as defined in the scripting constants.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeName()">getTypeName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUniqueID()">getUniqueID</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the unique UUID string of the entity.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWidth()">getWidth</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../IWorld.html" title="interface in noppes.npcs.api">IWorld</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWorld()">getWorld</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getX()">getX</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getY()">getY</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getYOffset()">getYOffset</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the vertical offset for rendering.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZ()">getZ</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasCollided()">hasCollided</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasCollidedHorizontally()">hasCollidedHorizontally</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasCollidedVertically()">hasCollidedVertically</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasStoredData(java.lang.String)">hasStoredData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Checks if stored data for the given key exists.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTempData(java.lang.String)">hasTempData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Checks if temporary data for the given key exists.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#inFire()">inFire</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#inLava()">inLava</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#inWater()">inWater</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAirborne()">isAirborne</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAlive()">isAlive</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBurning()">isBurning</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSneaking()">isSneaking</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSprinting()">isSprinting</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#knockback(double,double,double,float)">knockback</a></span>&#8203;(double&nbsp;xpower,
double&nbsp;ypower,
double&nbsp;zpower,
float&nbsp;direction)</code></th>
<td class="colLast">
<div class="block">Applies knockback using individual power components.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#knockback(int,float)">knockback</a></span>&#8203;(int&nbsp;power,
float&nbsp;direction)</code></th>
<td class="colLast">
<div class="block">Applies a knockback effect to the entity.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#knockback(noppes.npcs.api.IPos,float)">knockback</a></span>&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos,
float&nbsp;direction)</code></th>
<td class="colLast">
<div class="block">Applies knockback using a position vector.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeStoredData(java.lang.String)">removeStoredData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Removes the stored data for the given key.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeTempData(java.lang.String)">removeTempData</a></span>&#8203;(java.lang.String&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Removes the temporary data for the given key.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurning(int)">setBurning</a></span>&#8203;(int&nbsp;ticks)</code></th>
<td class="colLast">
<div class="block">Sets the entity on fire for the given number of ticks (20 ticks = 1 second).</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCapturedDrops(noppes.npcs.api.entity.IEntity%5B%5D)">setCapturedDrops</a></span>&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;?&gt;[]&nbsp;capturedDrops)</code></th>
<td class="colLast">
<div class="block">Sets the captured drops for this entity.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCapturesDrops(boolean)">setCapturesDrops</a></span>&#8203;(boolean&nbsp;capture)</code></th>
<td class="colLast">
<div class="block">Sets whether the entity captures drops.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDimension(int)">setDimension</a></span>&#8203;(int&nbsp;dimensionId)</code></th>
<td class="colLast">
<div class="block">Moves the entity to the specified dimension.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setImmune(int)">setImmune</a></span>&#8203;(int&nbsp;ticks)</code></th>
<td class="colLast">
<div class="block">Sets the entity's immunity time (hurt resistance).</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInvisible(boolean)">setInvisible</a></span>&#8203;(boolean&nbsp;invisible)</code></th>
<td class="colLast">
<div class="block">Sets the entity's invisibility.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMotion(double,double,double)">setMotion</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Convenience method to set the entity's motion in all three axes.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMotion(noppes.npcs.api.IPos)">setMotion</a></span>&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Sets the entity's motion based on the given position.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMotionX(double)">setMotionX</a></span>&#8203;(double&nbsp;x)</code></th>
<td class="colLast">
<div class="block">Sets the entity's x motion.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMotionY(double)">setMotionY</a></span>&#8203;(double&nbsp;y)</code></th>
<td class="colLast">
<div class="block">Sets the entity's y motion.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMotionZ(double)">setMotionZ</a></span>&#8203;(double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Sets the entity's z motion.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMount(noppes.npcs.api.entity.IEntity)">setMount</a></span>&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Sets the entity to be mounted by this entity.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNbt(noppes.npcs.api.INbt)">setNbt</a></span>&#8203;(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a>&nbsp;nbt)</code></th>
<td class="colLast">
<div class="block">Applies the given NBT data to the entity.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPitch(float)">setPitch</a></span>&#8203;(float&nbsp;pitch)</code></th>
<td class="colLast">
<div class="block">Sets the entity's pitch.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(double,double,double)">setPosition</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Sets the entity's position to the specified coordinates.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPosition(noppes.npcs.api.IPos)">setPosition</a></span>&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Sets the entity's position using an IPos object.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRider(noppes.npcs.api.entity.IEntity)">setRider</a></span>&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;entity)</code></th>
<td class="colLast">
<div class="block">Sets the given entity as the rider of this entity.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotation(float)">setRotation</a></span>&#8203;(float&nbsp;rotation)</code></th>
<td class="colLast">
<div class="block">Sets the entity's rotation (yaw) in degrees (0-360).</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotation(float,float)">setRotation</a></span>&#8203;(float&nbsp;rotationYaw,
float&nbsp;rotationPitch)</code></th>
<td class="colLast">
<div class="block">Sets both the rotation (yaw) and pitch of the entity.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSneaking(boolean)">setSneaking</a></span>&#8203;(boolean&nbsp;sneaking)</code></th>
<td class="colLast">
<div class="block">Sets whether the entity is sneaking.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSprinting(boolean)">setSprinting</a></span>&#8203;(boolean&nbsp;sprinting)</code></th>
<td class="colLast">
<div class="block">Sets whether the entity is sprinting.</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStoredData(java.lang.String,java.lang.Object)">setStoredData</a></span>&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Stores persistent data under the given key.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTempData(java.lang.String,java.lang.Object)">setTempData</a></span>&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Stores temporary data that is cleared when the entity is unloaded.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setX(double)">setX</a></span>&#8203;(double&nbsp;x)</code></th>
<td class="colLast">
<div class="block">Sets the entity's x position.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setY(double)">setY</a></span>&#8203;(double&nbsp;y)</code></th>
<td class="colLast">
<div class="block">Sets the entity's y position.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setZ(double)">setZ</a></span>&#8203;(double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Sets the entity's z position.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spawnParticle(noppes.npcs.api.IParticle)">spawnParticle</a></span>&#8203;(<a href="../IParticle.html" title="interface in noppes.npcs.api">IParticle</a>&nbsp;entityParticle)</code></th>
<td class="colLast">
<div class="block">Spawns the given particle effect associated with this entity.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#storeAsClone(int,java.lang.String)">storeAsClone</a></span>&#8203;(int&nbsp;tab,
java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Stores the entity as a clone with the given tab and name.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeOf(int)">typeOf</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Checks whether the entity is of the specified EntityType.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateEntity()">updateEntity</a></span>()</code></th>
<td class="colLast">
<div class="block">Updates the entity's state.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="spawnParticle(noppes.npcs.api.IParticle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spawnParticle</h4>
<pre class="methodSignature">void&nbsp;spawnParticle&#8203;(<a href="../IParticle.html" title="interface in noppes.npcs.api">IParticle</a>&nbsp;entityParticle)</pre>
<div class="block">Spawns the given particle effect associated with this entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entityParticle</code> - The particle effect to spawn.</dd>
</dl>
</li>
</ul>
<a id="getEntityId()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityId</h4>
<pre class="methodSignature">int&nbsp;getEntityId()</pre>
<div class="block">Returns the unique entity ID.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the entity ID.</dd>
</dl>
</li>
</ul>
<a id="getUniqueID()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUniqueID</h4>
<pre class="methodSignature">java.lang.String&nbsp;getUniqueID()</pre>
<div class="block">Returns the unique UUID string of the entity.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the unique ID.</dd>
</dl>
</li>
</ul>
<a id="getYOffset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYOffset</h4>
<pre class="methodSignature">double&nbsp;getYOffset()</pre>
<div class="block">Returns the vertical offset for rendering.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the Y offset.</dd>
</dl>
</li>
</ul>
<a id="getWidth()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWidth</h4>
<pre class="methodSignature">double&nbsp;getWidth()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's width.</dd>
</dl>
</li>
</ul>
<a id="getHeight()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeight</h4>
<pre class="methodSignature">double&nbsp;getHeight()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's height.</dd>
</dl>
</li>
</ul>
<a id="getX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getX</h4>
<pre class="methodSignature">double&nbsp;getX()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's x position.</dd>
</dl>
</li>
</ul>
<a id="setX(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setX</h4>
<pre class="methodSignature">void&nbsp;setX&#8203;(double&nbsp;x)</pre>
<div class="block">Sets the entity's x position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the new x position.</dd>
</dl>
</li>
</ul>
<a id="getY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getY</h4>
<pre class="methodSignature">double&nbsp;getY()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's y position.</dd>
</dl>
</li>
</ul>
<a id="setY(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setY</h4>
<pre class="methodSignature">void&nbsp;setY&#8203;(double&nbsp;y)</pre>
<div class="block">Sets the entity's y position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>y</code> - the new y position.</dd>
</dl>
</li>
</ul>
<a id="getZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getZ</h4>
<pre class="methodSignature">double&nbsp;getZ()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's z position.</dd>
</dl>
</li>
</ul>
<a id="setZ(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setZ</h4>
<pre class="methodSignature">void&nbsp;setZ&#8203;(double&nbsp;z)</pre>
<div class="block">Sets the entity's z position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>z</code> - the new z position.</dd>
</dl>
</li>
</ul>
<a id="getMotionX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMotionX</h4>
<pre class="methodSignature">double&nbsp;getMotionX()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's x motion.</dd>
</dl>
</li>
</ul>
<a id="setMotionX(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMotionX</h4>
<pre class="methodSignature">void&nbsp;setMotionX&#8203;(double&nbsp;x)</pre>
<div class="block">Sets the entity's x motion.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the new x motion.</dd>
</dl>
</li>
</ul>
<a id="getMotionY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMotionY</h4>
<pre class="methodSignature">double&nbsp;getMotionY()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's y motion.</dd>
</dl>
</li>
</ul>
<a id="setMotionY(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMotionY</h4>
<pre class="methodSignature">void&nbsp;setMotionY&#8203;(double&nbsp;y)</pre>
<div class="block">Sets the entity's y motion.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>y</code> - the new y motion.</dd>
</dl>
</li>
</ul>
<a id="getMotionZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMotionZ</h4>
<pre class="methodSignature">double&nbsp;getMotionZ()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity's z motion.</dd>
</dl>
</li>
</ul>
<a id="setMotionZ(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMotionZ</h4>
<pre class="methodSignature">void&nbsp;setMotionZ&#8203;(double&nbsp;z)</pre>
<div class="block">Sets the entity's z motion.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>z</code> - the new z motion.</dd>
</dl>
</li>
</ul>
<a id="setMotion(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMotion</h4>
<pre class="methodSignature">void&nbsp;setMotion&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
<div class="block">Convenience method to set the entity's motion in all three axes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the x motion.</dd>
<dd><code>y</code> - the y motion.</dd>
<dd><code>z</code> - the z motion.</dd>
</dl>
</li>
</ul>
<a id="setMotion(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMotion</h4>
<pre class="methodSignature">void&nbsp;setMotion&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<div class="block">Sets the entity's motion based on the given position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - the position containing motion components.</dd>
</dl>
</li>
</ul>
<a id="getMotion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMotion</h4>
<pre class="methodSignature"><a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;getMotion()</pre>
<div class="block">Returns the entity's current motion as an IPos object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the motion vector.</dd>
</dl>
</li>
</ul>
<a id="isAirborne()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAirborne</h4>
<pre class="methodSignature">boolean&nbsp;isAirborne()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is airborne.</dd>
</dl>
</li>
</ul>
<a id="getBlockX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockX</h4>
<pre class="methodSignature">int&nbsp;getBlockX()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The block (integer) x position.</dd>
</dl>
</li>
</ul>
<a id="getBlockY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockY</h4>
<pre class="methodSignature">int&nbsp;getBlockY()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The block (integer) y position.</dd>
</dl>
</li>
</ul>
<a id="getBlockZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBlockZ</h4>
<pre class="methodSignature">int&nbsp;getBlockZ()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The block (integer) z position.</dd>
</dl>
</li>
</ul>
<a id="setPosition(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPosition</h4>
<pre class="methodSignature">void&nbsp;setPosition&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
<div class="block">Sets the entity's position to the specified coordinates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the x coordinate.</dd>
<dd><code>y</code> - the y coordinate.</dd>
<dd><code>z</code> - the z coordinate.</dd>
</dl>
</li>
</ul>
<a id="setPosition(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPosition</h4>
<pre class="methodSignature">void&nbsp;setPosition&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<div class="block">Sets the entity's position using an IPos object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - the position object.</dd>
</dl>
</li>
</ul>
<a id="getPosition()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPosition</h4>
<pre class="methodSignature"><a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;getPosition()</pre>
<div class="block">Returns the entity's current position as an IPos object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the position.</dd>
</dl>
</li>
</ul>
<a id="getDimension()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDimension</h4>
<pre class="methodSignature">int&nbsp;getDimension()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The dimension ID the entity is in.</dd>
</dl>
</li>
</ul>
<a id="setDimension(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDimension</h4>
<pre class="methodSignature">void&nbsp;setDimension&#8203;(int&nbsp;dimensionId)</pre>
<div class="block">Moves the entity to the specified dimension.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dimensionId</code> - the dimension ID.</dd>
</dl>
</li>
</ul>
<a id="getCollidingEntities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollidingEntities</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]&nbsp;getCollidingEntities()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Array of entities that are colliding with this entity</dd>
</dl>
</li>
</ul>
<a id="getSurroundingEntities(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSurroundingEntities</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]&nbsp;getSurroundingEntities&#8203;(int&nbsp;range)</pre>
<div class="block">Returns an array of entities within the specified range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the search range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of surrounding entities.</dd>
</dl>
</li>
</ul>
<a id="getSurroundingEntities(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSurroundingEntities</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>[]&nbsp;getSurroundingEntities&#8203;(int&nbsp;range,
int&nbsp;type)</pre>
<div class="block">Returns an array of entities of a specified type within the given range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the search range.</dd>
<dd><code>type</code> - the EntityType to find.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of surrounding entities.</dd>
</dl>
</li>
</ul>
<a id="isAlive()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlive</h4>
<pre class="methodSignature">boolean&nbsp;isAlive()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is alive.</dd>
</dl>
</li>
</ul>
<a id="getTempData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTempData</h4>
<pre class="methodSignature">java.lang.Object&nbsp;getTempData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Returns temporary data stored under the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the temporary data.</dd>
</dl>
</li>
</ul>
<a id="setTempData(java.lang.String,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTempData</h4>
<pre class="methodSignature">void&nbsp;setTempData&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</pre>
<div class="block">Stores temporary data that is cleared when the entity is unloaded.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dd><code>value</code> - the value.</dd>
</dl>
</li>
</ul>
<a id="hasTempData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasTempData</h4>
<pre class="methodSignature">boolean&nbsp;hasTempData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Checks if temporary data for the given key exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it exists; false otherwise.</dd>
</dl>
</li>
</ul>
<a id="removeTempData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTempData</h4>
<pre class="methodSignature">void&nbsp;removeTempData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Removes the temporary data for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
</dl>
</li>
</ul>
<a id="clearTempData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearTempData</h4>
<pre class="methodSignature">void&nbsp;clearTempData()</pre>
<div class="block">Clears all temporary data.</div>
</li>
</ul>
<a id="getTempDataKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTempDataKeys</h4>
<pre class="methodSignature">java.lang.String[]&nbsp;getTempDataKeys()</pre>
<div class="block">Returns an array of keys for temporary data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the keys.</dd>
</dl>
</li>
</ul>
<a id="getStoredData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStoredData</h4>
<pre class="methodSignature">java.lang.Object&nbsp;getStoredData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Returns stored (persistent) data for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the stored data.</dd>
</dl>
</li>
</ul>
<a id="setStoredData(java.lang.String,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStoredData</h4>
<pre class="methodSignature">void&nbsp;setStoredData&#8203;(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</pre>
<div class="block">Stores persistent data under the given key.
Only Numbers and Strings are supported.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dd><code>value</code> - the value.</dd>
</dl>
</li>
</ul>
<a id="hasStoredData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasStoredData</h4>
<pre class="methodSignature">boolean&nbsp;hasStoredData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Checks if stored data for the given key exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it exists; false otherwise.</dd>
</dl>
</li>
</ul>
<a id="removeStoredData(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeStoredData</h4>
<pre class="methodSignature">void&nbsp;removeStoredData&#8203;(java.lang.String&nbsp;key)</pre>
<div class="block">Removes the stored data for the given key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key.</dd>
</dl>
</li>
</ul>
<a id="clearStoredData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearStoredData</h4>
<pre class="methodSignature">void&nbsp;clearStoredData()</pre>
<div class="block">Clears all stored data.</div>
</li>
</ul>
<a id="getStoredDataKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStoredDataKeys</h4>
<pre class="methodSignature">java.lang.String[]&nbsp;getStoredDataKeys()</pre>
<div class="block">Returns an array of keys for stored data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the keys.</dd>
</dl>
</li>
</ul>
<a id="getAge()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAge</h4>
<pre class="methodSignature">long&nbsp;getAge()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The age of the entity in ticks.</dd>
</dl>
</li>
</ul>
<a id="despawn()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>despawn</h4>
<pre class="methodSignature">void&nbsp;despawn()</pre>
<div class="block">Permanently despawns the entity.</div>
</li>
</ul>
<a id="inWater()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inWater</h4>
<pre class="methodSignature">boolean&nbsp;inWater()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is standing in water.</dd>
</dl>
</li>
</ul>
<a id="inLava()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inLava</h4>
<pre class="methodSignature">boolean&nbsp;inLava()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is standing in lava.</dd>
</dl>
</li>
</ul>
<a id="inFire()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inFire</h4>
<pre class="methodSignature">boolean&nbsp;inFire()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is standing in fire.</dd>
</dl>
</li>
</ul>
<a id="isBurning()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBurning</h4>
<pre class="methodSignature">boolean&nbsp;isBurning()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is on fire.</dd>
</dl>
</li>
</ul>
<a id="setBurning(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBurning</h4>
<pre class="methodSignature">void&nbsp;setBurning&#8203;(int&nbsp;ticks)</pre>
<div class="block">Sets the entity on fire for the given number of ticks (20 ticks = 1 second).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ticks</code> - the burn duration.</dd>
</dl>
</li>
</ul>
<a id="extinguish()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extinguish</h4>
<pre class="methodSignature">void&nbsp;extinguish()</pre>
<div class="block">Extinguishes any fire on the entity.</div>
</li>
</ul>
<a id="getTypeName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeName</h4>
<pre class="methodSignature">java.lang.String&nbsp;getTypeName()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity type name as registered in Minecraft.</dd>
</dl>
</li>
</ul>
<a id="dropItem(noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropItem</h4>
<pre class="methodSignature">void&nbsp;dropItem&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Causes the entity to drop the given item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - the item to drop.</dd>
</dl>
</li>
</ul>
<a id="getRider()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRider</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;getRider()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity riding this entity.</dd>
</dl>
</li>
</ul>
<a id="setRider(noppes.npcs.api.entity.IEntity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRider</h4>
<pre class="methodSignature">void&nbsp;setRider&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;entity)</pre>
<div class="block">Sets the given entity as the rider of this entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - the rider.</dd>
</dl>
</li>
</ul>
<a id="getMount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMount</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;getMount()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The entity this entity is riding.</dd>
</dl>
</li>
</ul>
<a id="setMount(noppes.npcs.api.entity.IEntity)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMount</h4>
<pre class="methodSignature">void&nbsp;setMount&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&nbsp;entity)</pre>
<div class="block">Sets the entity to be mounted by this entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - the mount.</dd>
</dl>
</li>
</ul>
<a id="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre class="methodSignature">int&nbsp;getType()</pre>
<div class="block">Returns the EntityType as defined in the scripting constants.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the EntityType.</dd>
</dl>
</li>
</ul>
<a id="typeOf(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>typeOf</h4>
<pre class="methodSignature">boolean&nbsp;typeOf&#8203;(int&nbsp;type)</pre>
<div class="block">Checks whether the entity is of the specified EntityType.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the type to check.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the entity is of that type; false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setRotation(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotation</h4>
<pre class="methodSignature">void&nbsp;setRotation&#8203;(float&nbsp;rotation)</pre>
<div class="block">Sets the entity's rotation (yaw) in degrees (0-360).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotation</code> - the rotation angle.</dd>
</dl>
</li>
</ul>
<a id="setRotation(float,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotation</h4>
<pre class="methodSignature">void&nbsp;setRotation&#8203;(float&nbsp;rotationYaw,
float&nbsp;rotationPitch)</pre>
<div class="block">Sets both the rotation (yaw) and pitch of the entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotationYaw</code> - the yaw angle.</dd>
<dd><code>rotationPitch</code> - the pitch angle.</dd>
</dl>
</li>
</ul>
<a id="getRotation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotation</h4>
<pre class="methodSignature">float&nbsp;getRotation()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The current rotation (yaw) of the entity.</dd>
</dl>
</li>
</ul>
<a id="setPitch(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPitch</h4>
<pre class="methodSignature">void&nbsp;setPitch&#8203;(float&nbsp;pitch)</pre>
<div class="block">Sets the entity's pitch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pitch</code> - the pitch angle.</dd>
</dl>
</li>
</ul>
<a id="getPitch()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPitch</h4>
<pre class="methodSignature">float&nbsp;getPitch()</pre>
<div class="block">Returns the entity's pitch.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the pitch angle.</dd>
</dl>
</li>
</ul>
<a id="knockback(int,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>knockback</h4>
<pre class="methodSignature">void&nbsp;knockback&#8203;(int&nbsp;power,
float&nbsp;direction)</pre>
<div class="block">Applies a knockback effect to the entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>power</code> - the strength of the knockback.</dd>
<dd><code>direction</code> - the direction in degrees (usually based on getRotation()).</dd>
</dl>
</li>
</ul>
<a id="knockback(double,double,double,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>knockback</h4>
<pre class="methodSignature">void&nbsp;knockback&#8203;(double&nbsp;xpower,
double&nbsp;ypower,
double&nbsp;zpower,
float&nbsp;direction)</pre>
<div class="block">Applies knockback using individual power components.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>xpower</code> - the x-axis power.</dd>
<dd><code>ypower</code> - the y-axis power.</dd>
<dd><code>zpower</code> - the z-axis power.</dd>
<dd><code>direction</code> - the direction in degrees.</dd>
</dl>
</li>
</ul>
<a id="knockback(noppes.npcs.api.IPos,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>knockback</h4>
<pre class="methodSignature">void&nbsp;knockback&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos,
float&nbsp;direction)</pre>
<div class="block">Applies knockback using a position vector.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - the position vector.</dd>
<dd><code>direction</code> - the direction in degrees.</dd>
</dl>
</li>
</ul>
<a id="setImmune(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImmune</h4>
<pre class="methodSignature">void&nbsp;setImmune&#8203;(int&nbsp;ticks)</pre>
<div class="block">Sets the entity's immunity time (hurt resistance).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ticks</code> - the number of ticks.</dd>
</dl>
</li>
</ul>
<a id="setInvisible(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInvisible</h4>
<pre class="methodSignature">void&nbsp;setInvisible&#8203;(boolean&nbsp;invisible)</pre>
<div class="block">Sets the entity's invisibility.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>invisible</code> - true to make invisible.</dd>
</dl>
</li>
</ul>
<a id="setSneaking(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSneaking</h4>
<pre class="methodSignature">void&nbsp;setSneaking&#8203;(boolean&nbsp;sneaking)</pre>
<div class="block">Sets whether the entity is sneaking.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sneaking</code> - true to enable sneaking.</dd>
</dl>
</li>
</ul>
<a id="setSprinting(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSprinting</h4>
<pre class="methodSignature">void&nbsp;setSprinting&#8203;(boolean&nbsp;sprinting)</pre>
<div class="block">Sets whether the entity is sprinting.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sprinting</code> - true to enable sprinting.</dd>
</dl>
</li>
</ul>
<a id="hasCollided()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasCollided</h4>
<pre class="methodSignature">boolean&nbsp;hasCollided()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity has collided with something.</dd>
</dl>
</li>
</ul>
<a id="hasCollidedVertically()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasCollidedVertically</h4>
<pre class="methodSignature">boolean&nbsp;hasCollidedVertically()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity has collided vertically.</dd>
</dl>
</li>
</ul>
<a id="hasCollidedHorizontally()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasCollidedHorizontally</h4>
<pre class="methodSignature">boolean&nbsp;hasCollidedHorizontally()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity has collided horizontally.</dd>
</dl>
</li>
</ul>
<a id="capturesDrops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>capturesDrops</h4>
<pre class="methodSignature">boolean&nbsp;capturesDrops()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is capturing drops.</dd>
</dl>
</li>
</ul>
<a id="setCapturesDrops(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCapturesDrops</h4>
<pre class="methodSignature">void&nbsp;setCapturesDrops&#8203;(boolean&nbsp;capture)</pre>
<div class="block">Sets whether the entity captures drops.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capture</code> - true to capture drops.</dd>
</dl>
</li>
</ul>
<a id="setCapturedDrops(noppes.npcs.api.entity.IEntity[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCapturedDrops</h4>
<pre class="methodSignature">void&nbsp;setCapturedDrops&#8203;(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;?&gt;[]&nbsp;capturedDrops)</pre>
<div class="block">Sets the captured drops for this entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capturedDrops</code> - an array of captured drops.</dd>
</dl>
</li>
</ul>
<a id="getCapturedDrops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCapturedDrops</h4>
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;?&gt;[]&nbsp;getCapturedDrops()</pre>
<div class="block">Returns the captured drops.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of captured drops.</dd>
</dl>
</li>
</ul>
<a id="isSneaking()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSneaking</h4>
<pre class="methodSignature">boolean&nbsp;isSneaking()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is sneaking.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.7.10c</dd>
</dl>
</li>
</ul>
<a id="isSprinting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSprinting</h4>
<pre class="methodSignature">boolean&nbsp;isSprinting()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the entity is sprinting.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.7.10c</dd>
</dl>
</li>
</ul>
<a id="getMCEntity()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMCEntity</h4>
<pre class="methodSignature"><a href="IEntity.html" title="type parameter in IEntity">T</a>&nbsp;getMCEntity()</pre>
<div class="block">Expert users only.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The underlying Minecraft entity.</dd>
</dl>
</li>
</ul>
<a id="getNbt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNbt</h4>
<pre class="methodSignature"><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a>&nbsp;getNbt()</pre>
<div class="block">Returns the entity's NBT data.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NBT data.</dd>
</dl>
</li>
</ul>
<a id="getAllNbt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllNbt</h4>
<pre class="methodSignature"><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a>&nbsp;getAllNbt()</pre>
<div class="block">Returns all NBT data for the entity.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the complete NBT data.</dd>
</dl>
</li>
</ul>
<a id="setNbt(noppes.npcs.api.INbt)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNbt</h4>
<pre class="methodSignature">void&nbsp;setNbt&#8203;(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a>&nbsp;nbt)</pre>
<div class="block">Applies the given NBT data to the entity.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nbt</code> - the NBT data.</dd>
</dl>
</li>
</ul>
<a id="getNbtOptional()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNbtOptional</h4>
<pre class="methodSignature"><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a>&nbsp;getNbtOptional()</pre>
<div class="block">Returns optional NBT data if available.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the optional NBT data, or null if none.</dd>
</dl>
</li>
</ul>
<a id="storeAsClone(int,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storeAsClone</h4>
<pre class="methodSignature">void&nbsp;storeAsClone&#8203;(int&nbsp;tab,
java.lang.String&nbsp;name)</pre>
<div class="block">Stores the entity as a clone with the given tab and name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tab</code> - the tab index.</dd>
<dd><code>name</code> - the name for the clone.</dd>
</dl>
</li>
</ul>
<a id="getWorld()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorld</h4>
<pre class="methodSignature"><a href="../IWorld.html" title="interface in noppes.npcs.api">IWorld</a>&nbsp;getWorld()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The world this entity exists in.</dd>
</dl>
</li>
</ul>
<a id="updateEntity()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateEntity</h4>
<pre class="methodSignature">void&nbsp;updateEntity()</pre>
<div class="block">Updates the entity's state.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>