mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 19:37:39 +00:00
2106 lines
72 KiB
HTML
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 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </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"> </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> <a href="package-summary.html">noppes.npcs.api.entity</a></div>
|
|
<h2 title="Interface IEntity" class="title">Interface IEntity<T extends net.minecraft.entity.Entity></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><T></code>, <code><a href="IArrow.html" title="interface in noppes.npcs.api.entity">IArrow</a><T></code>, <code><a href="ICustomNpc.html" title="interface in noppes.npcs.api.entity">ICustomNpc</a><T></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><T></code>, <code><a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a><T></code>, <code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a><T></code>, <code><a href="IFishHook.html" title="interface in noppes.npcs.api.entity">IFishHook</a><T></code>, <code><a href="IMonster.html" title="interface in noppes.npcs.api.entity">IMonster</a><T></code>, <code><a href="IPixelmon.html" title="interface in noppes.npcs.api.entity">IPixelmon</a><T></code>, <code><a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a><T></code>, <code><a href="IThrowable.html" title="interface in noppes.npcs.api.entity">IThrowable</a><T></code>, <code><a href="IVillager.html" title="interface in noppes.npcs.api.entity">IVillager</a><T></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IEntity<T extends net.minecraft.entity.Entity></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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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"> </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>​(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> 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"> </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"> </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"> </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"> </td>
|
|
</tr>
|
|
<tr id="i11" 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="#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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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>​(java.lang.String 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>​(int 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>​(int range,
|
|
int 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>​(java.lang.String 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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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>​(java.lang.String 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>​(java.lang.String 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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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>​(double xpower,
|
|
double ypower,
|
|
double zpower,
|
|
float 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>​(int power,
|
|
float 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>​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
|
float 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>​(java.lang.String 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>​(java.lang.String 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>​(int 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>​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a><?>[] 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>​(boolean 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>​(int 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>​(int 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>​(boolean 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>​(double x,
|
|
double y,
|
|
double 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>​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> 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>​(double 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>​(double 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>​(double 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>​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> 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>​(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a> 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>​(float 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>​(double x,
|
|
double y,
|
|
double 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>​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> 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>​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> 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>​(float 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>​(float rotationYaw,
|
|
float 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>​(boolean 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>​(boolean 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>​(java.lang.String key,
|
|
java.lang.Object 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>​(java.lang.String key,
|
|
java.lang.Object 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>​(double 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>​(double 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>​(double 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>​(<a href="../IParticle.html" title="interface in noppes.npcs.api">IParticle</a> 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>​(int tab,
|
|
java.lang.String 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>​(int 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 spawnParticle​(<a href="../IParticle.html" title="interface in noppes.npcs.api">IParticle</a> 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 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 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 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 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 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 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 setX​(double 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 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 setY​(double 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 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 setZ​(double 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 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 setMotionX​(double 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 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 setMotionY​(double 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 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 setMotionZ​(double 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 setMotion​(double x,
|
|
double y,
|
|
double 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 setMotion​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> 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> 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 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 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 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 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 setPosition​(double x,
|
|
double y,
|
|
double 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 setPosition​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> 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> 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 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 setDimension​(int 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>[] 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>[] getSurroundingEntities​(int 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>[] getSurroundingEntities​(int range,
|
|
int 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 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 getTempData​(java.lang.String 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 setTempData​(java.lang.String key,
|
|
java.lang.Object 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 hasTempData​(java.lang.String 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 removeTempData​(java.lang.String 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 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[] 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 getStoredData​(java.lang.String 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 setStoredData​(java.lang.String key,
|
|
java.lang.Object 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 hasStoredData​(java.lang.String 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 removeStoredData​(java.lang.String 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 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[] 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 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 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 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 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 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 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 setBurning​(int 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 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 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 dropItem​(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a> 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> 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 setRider​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> 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> 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 setMount​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> 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 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 typeOf​(int 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 setRotation​(float 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 setRotation​(float rotationYaw,
|
|
float 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 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 setPitch​(float 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 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 knockback​(int power,
|
|
float 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 knockback​(double xpower,
|
|
double ypower,
|
|
double zpower,
|
|
float 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 knockback​(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
|
float 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 setImmune​(int 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 setInvisible​(boolean 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 setSneaking​(boolean 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 setSprinting​(boolean 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 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 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 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 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 setCapturesDrops​(boolean 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 setCapturedDrops​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a><?>[] 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><?>[] 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 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 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> 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> 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> 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 setNbt​(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a> 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> 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 storeAsClone​(int tab,
|
|
java.lang.String 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> 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 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 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </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>
|