mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 12:37:35 +00:00
733 lines
36 KiB
HTML
733 lines
36 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>IEntityLiving</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="IEntityLiving";
|
|
}
|
|
}
|
|
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};
|
|
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 IEntityLiving" class="title">Interface IEntityLiving<T extends net.minecraft.entity.EntityLiving></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 EntityLiving type.</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a><T></code>, <code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a><T></code></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="ICustomNpc.html" title="interface in noppes.npcs.api.entity">ICustomNpc</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="IVillager.html" title="interface in noppes.npcs.api.entity">IVillager</a><T></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IEntityLiving<T extends net.minecraft.entity.EntityLiving></span>
|
|
extends <a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a><T></pre>
|
|
<div class="block">Represents a living entity (mob, NPC, etc.) that extends the base living functionality.
|
|
Provides additional methods for navigation, sound, custom name, leashing, and more.</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="#allowLeashing()">allowLeashing</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canBeSteered()">canBeSteered</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canPickUpLoot()">canPickUpLoot</a></span>()</code></th>
|
|
<td class="colLast"> </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="#clearLeashed(boolean,boolean)">clearLeashed</a></span>​(boolean sendPacket,
|
|
boolean dropLeash)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Clears the entity's leash.</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="#clearNavigation()">clearNavigation</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Clears the current navigation path.</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="#enablePersistence()">enablePersistence</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Enables persistence so that the entity does not despawn.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#faceEntity(noppes.npcs.api.entity.IEntity,float,float)">faceEntity</a></span>​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> entity,
|
|
float pitch,
|
|
float yaw)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Rotates the entity to face the given entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAlwaysRenderNameTag()">getAlwaysRenderNameTag</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCustomNameTag()">getCustomNameTag</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the entity's custom name tag.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeashed()">getLeashed</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i10" 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="#getLeashedTo()">getLeashedTo</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code><a href="IEntityLiving.html" title="type parameter in IEntityLiving">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">Returns the underlying Minecraft entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasCustomNameTag()">hasCustomNameTag</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNavigating()">isNavigating</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Checks if the entity is currently navigating (pathfinding).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPersistent()">isPersistent</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#navigateTo(double,double,double,double)">navigateTo</a></span>​(double x,
|
|
double y,
|
|
double z,
|
|
double speed)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Commands the entity to navigate toward the specified destination.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playLivingSound()">playLivingSound</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Plays the entity's living sound.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAlwaysRenderNameTag(boolean)">setAlwaysRenderNameTag</a></span>​(boolean alwaysRender)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets whether the entity's name tag is always rendered.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCanPickUpLoot(boolean)">setCanPickUpLoot</a></span>​(boolean pickUp)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets whether the entity can pick up loot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCustomNameTag(java.lang.String)">setCustomNameTag</a></span>​(java.lang.String text)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets a custom name tag for the entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLeashedTo(noppes.npcs.api.entity.IEntity,boolean)">setLeashedTo</a></span>​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> entity,
|
|
boolean sendPacket)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Leashes this entity to the specified entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMoveForward(float)">setMoveForward</a></span>​(float speed)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Sets the forward movement speed for the entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spawnExplosionParticle()">spawnExplosionParticle</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Spawns explosion particles for this entity.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.entity.IEntity">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.entity.<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a></h3>
|
|
<code><a href="IEntity.html#capturesDrops()">capturesDrops</a>, <a href="IEntity.html#clearStoredData()">clearStoredData</a>, <a href="IEntity.html#clearTempData()">clearTempData</a>, <a href="IEntity.html#despawn()">despawn</a>, <a href="IEntity.html#dropItem(noppes.npcs.api.item.IItemStack)">dropItem</a>, <a href="IEntity.html#extinguish()">extinguish</a>, <a href="IEntity.html#getAge()">getAge</a>, <a href="IEntity.html#getAllNbt()">getAllNbt</a>, <a href="IEntity.html#getBlockX()">getBlockX</a>, <a href="IEntity.html#getBlockY()">getBlockY</a>, <a href="IEntity.html#getBlockZ()">getBlockZ</a>, <a href="IEntity.html#getCapturedDrops()">getCapturedDrops</a>, <a href="IEntity.html#getCollidingEntities()">getCollidingEntities</a>, <a href="IEntity.html#getDimension()">getDimension</a>, <a href="IEntity.html#getEntityId()">getEntityId</a>, <a href="IEntity.html#getHeight()">getHeight</a>, <a href="IEntity.html#getMotion()">getMotion</a>, <a href="IEntity.html#getMotionX()">getMotionX</a>, <a href="IEntity.html#getMotionY()">getMotionY</a>, <a href="IEntity.html#getMotionZ()">getMotionZ</a>, <a href="IEntity.html#getMount()">getMount</a>, <a href="IEntity.html#getNbt()">getNbt</a>, <a href="IEntity.html#getNbtOptional()">getNbtOptional</a>, <a href="IEntity.html#getPitch()">getPitch</a>, <a href="IEntity.html#getPosition()">getPosition</a>, <a href="IEntity.html#getRider()">getRider</a>, <a href="IEntity.html#getRotation()">getRotation</a>, <a href="IEntity.html#getStoredData(java.lang.String)">getStoredData</a>, <a href="IEntity.html#getStoredDataKeys()">getStoredDataKeys</a>, <a href="IEntity.html#getSurroundingEntities(int)">getSurroundingEntities</a>, <a href="IEntity.html#getSurroundingEntities(int,int)">getSurroundingEntities</a>, <a href="IEntity.html#getTempData(java.lang.String)">getTempData</a>, <a href="IEntity.html#getTempDataKeys()">getTempDataKeys</a>, <a href="IEntity.html#getTypeName()">getTypeName</a>, <a href="IEntity.html#getUniqueID()">getUniqueID</a>, <a href="IEntity.html#getWidth()">getWidth</a>, <a href="IEntity.html#getWorld()">getWorld</a>, <a href="IEntity.html#getX()">getX</a>, <a href="IEntity.html#getY()">getY</a>, <a href="IEntity.html#getYOffset()">getYOffset</a>, <a href="IEntity.html#getZ()">getZ</a>, <a href="IEntity.html#hasCollided()">hasCollided</a>, <a href="IEntity.html#hasCollidedHorizontally()">hasCollidedHorizontally</a>, <a href="IEntity.html#hasCollidedVertically()">hasCollidedVertically</a>, <a href="IEntity.html#hasStoredData(java.lang.String)">hasStoredData</a>, <a href="IEntity.html#hasTempData(java.lang.String)">hasTempData</a>, <a href="IEntity.html#inFire()">inFire</a>, <a href="IEntity.html#inLava()">inLava</a>, <a href="IEntity.html#inWater()">inWater</a>, <a href="IEntity.html#isAirborne()">isAirborne</a>, <a href="IEntity.html#isAlive()">isAlive</a>, <a href="IEntity.html#isBurning()">isBurning</a>, <a href="IEntity.html#isSneaking()">isSneaking</a>, <a href="IEntity.html#isSprinting()">isSprinting</a>, <a href="IEntity.html#knockback(double,double,double,float)">knockback</a>, <a href="IEntity.html#knockback(int,float)">knockback</a>, <a href="IEntity.html#knockback(noppes.npcs.api.IPos,float)">knockback</a>, <a href="IEntity.html#removeStoredData(java.lang.String)">removeStoredData</a>, <a href="IEntity.html#removeTempData(java.lang.String)">removeTempData</a>, <a href="IEntity.html#setBurning(int)">setBurning</a>, <a href="IEntity.html#setCapturedDrops(noppes.npcs.api.entity.IEntity%5B%5D)">setCapturedDrops</a>, <a href="IEntity.html#setCapturesDrops(boolean)">setCapturesDrops</a>, <a href="IEntity.html#setDimension(int)">setDimension</a>, <a href="IEntity.html#setImmune(int)">setImmune</a>, <a href="IEntity.html#setInvisible(boolean)">setInvisible</a>, <a href="IEntity.html#setMotion(double,double,double)">setMotion</a>, <a href="IEntity.html#setMotion(noppes.npcs.api.IPos)">setMotion</a>, <a href="IEntity.html#setMotionX(double)">setMotionX</a>, <a href="IEntity.html#setMotionY(double)">setMotionY</a>, <a href="IEntity.html#setMotionZ(double)">setMotionZ</a>, <a href="IEntity.html#setMount(noppes.npcs.api.entity.IEntity)">setMount</a>, <a href="IEntity.html#setNbt(noppes.npcs.api.INbt)">setNbt</a>, <a href="IEntity.html#setPitch(float)">setPitch</a>, <a href="IEntity.html#setPosition(double,double,double)">setPosition</a>, <a href="IEntity.html#setPosition(noppes.npcs.api.IPos)">setPosition</a>, <a href="IEntity.html#setRider(noppes.npcs.api.entity.IEntity)">setRider</a>, <a href="IEntity.html#setRotation(float)">setRotation</a>, <a href="IEntity.html#setRotation(float,float)">setRotation</a>, <a href="IEntity.html#setSneaking(boolean)">setSneaking</a>, <a href="IEntity.html#setSprinting(boolean)">setSprinting</a>, <a href="IEntity.html#setStoredData(java.lang.String,java.lang.Object)">setStoredData</a>, <a href="IEntity.html#setTempData(java.lang.String,java.lang.Object)">setTempData</a>, <a href="IEntity.html#setX(double)">setX</a>, <a href="IEntity.html#setY(double)">setY</a>, <a href="IEntity.html#setZ(double)">setZ</a>, <a href="IEntity.html#spawnParticle(noppes.npcs.api.IParticle)">spawnParticle</a>, <a href="IEntity.html#storeAsClone(int,java.lang.String)">storeAsClone</a>, <a href="IEntity.html#updateEntity()">updateEntity</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.entity.IEntityLivingBase">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.entity.<a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a></h3>
|
|
<code><a href="IEntityLivingBase.html#addPotionEffect(int,int,int,boolean)">addPotionEffect</a>, <a href="IEntityLivingBase.html#canBreatheUnderwater()">canBreatheUnderwater</a>, <a href="IEntityLivingBase.html#clearPotionEffects()">clearPotionEffects</a>, <a href="IEntityLivingBase.html#dismountEntity(noppes.npcs.api.entity.IEntity)">dismountEntity</a>, <a href="IEntityLivingBase.html#getAbsorptionAmount()">getAbsorptionAmount</a>, <a href="IEntityLivingBase.html#getAIMoveSpeed()">getAIMoveSpeed</a>, <a href="IEntityLivingBase.html#getArmor(int)">getArmor</a>, <a href="IEntityLivingBase.html#getArrowCountInEntity()">getArrowCountInEntity</a>, <a href="IEntityLivingBase.html#getAttackTarget()">getAttackTarget</a>, <a href="IEntityLivingBase.html#getAttackTargetTime()">getAttackTargetTime</a>, <a href="IEntityLivingBase.html#getFollowRange()">getFollowRange</a>, <a href="IEntityLivingBase.html#getHealth()">getHealth</a>, <a href="IEntityLivingBase.html#getHeldItem()">getHeldItem</a>, <a href="IEntityLivingBase.html#getKnockbackResistance()">getKnockbackResistance</a>, <a href="IEntityLivingBase.html#getLastAttacker()">getLastAttacker</a>, <a href="IEntityLivingBase.html#getLastAttackerTime()">getLastAttackerTime</a>, <a href="IEntityLivingBase.html#getLookingAtBlock(int)">getLookingAtBlock</a>, <a href="IEntityLivingBase.html#getLookingAtBlock(int,boolean,boolean,boolean)">getLookingAtBlock</a>, <a href="IEntityLivingBase.html#getLookingAtEntities(int,double,double)">getLookingAtEntities</a>, <a href="IEntityLivingBase.html#getLookingAtEntities(int,double,double,boolean,boolean,boolean)">getLookingAtEntities</a>, <a href="IEntityLivingBase.html#getLookingAtEntities(noppes.npcs.api.entity.IEntity%5B%5D,int,double,double,boolean,boolean,boolean)">getLookingAtEntities</a>, <a href="IEntityLivingBase.html#getLookingAtPos(int)">getLookingAtPos</a>, <a href="IEntityLivingBase.html#getLookingAtPos(int,boolean,boolean,boolean)">getLookingAtPos</a>, <a href="IEntityLivingBase.html#getLookVector()">getLookVector</a>, <a href="IEntityLivingBase.html#getMaxHealth()">getMaxHealth</a>, <a href="IEntityLivingBase.html#getMaxHurtTime()">getMaxHurtTime</a>, <a href="IEntityLivingBase.html#getMeleeStrength()">getMeleeStrength</a>, <a href="IEntityLivingBase.html#getPotionEffect(int)">getPotionEffect</a>, <a href="IEntityLivingBase.html#getSpeed()">getSpeed</a>, <a href="IEntityLivingBase.html#getTotalArmorValue()">getTotalArmorValue</a>, <a href="IEntityLivingBase.html#getType()">getType</a>, <a href="IEntityLivingBase.html#hurt(float)">hurt</a>, <a href="IEntityLivingBase.html#hurt(float,noppes.npcs.api.entity.IEntity)">hurt</a>, <a href="IEntityLivingBase.html#hurt(float,noppes.npcs.api.IDamageSource)">hurt</a>, <a href="IEntityLivingBase.html#isAttacking()">isAttacking</a>, <a href="IEntityLivingBase.html#isChild()">isChild</a>, <a href="IEntityLivingBase.html#isOnLadder()">isOnLadder</a>, <a href="IEntityLivingBase.html#renderBrokenItemStack(noppes.npcs.api.item.IItemStack)">renderBrokenItemStack</a>, <a href="IEntityLivingBase.html#setAbsorptionAmount(float)">setAbsorptionAmount</a>, <a href="IEntityLivingBase.html#setAIMoveSpeed(float)">setAIMoveSpeed</a>, <a href="IEntityLivingBase.html#setArmor(int,noppes.npcs.api.item.IItemStack)">setArmor</a>, <a href="IEntityLivingBase.html#setArrowCountInEntity(int)">setArrowCountInEntity</a>, <a href="IEntityLivingBase.html#setAttackTarget(noppes.npcs.api.entity.IEntityLivingBase)">setAttackTarget</a>, <a href="IEntityLivingBase.html#setFollowRange(double)">setFollowRange</a>, <a href="IEntityLivingBase.html#setHealth(float)">setHealth</a>, <a href="IEntityLivingBase.html#setHeldItem(noppes.npcs.api.item.IItemStack)">setHeldItem</a>, <a href="IEntityLivingBase.html#setKnockbackResistance(double)">setKnockbackResistance</a>, <a href="IEntityLivingBase.html#setLastAttacker(noppes.npcs.api.entity.IEntity)">setLastAttacker</a>, <a href="IEntityLivingBase.html#setMaxHealth(double)">setMaxHealth</a>, <a href="IEntityLivingBase.html#setMaxHurtTime(int)">setMaxHurtTime</a>, <a href="IEntityLivingBase.html#setMeleeStrength(double)">setMeleeStrength</a>, <a href="IEntityLivingBase.html#setSpeed(double)">setSpeed</a>, <a href="IEntityLivingBase.html#swingHand()">swingHand</a>, <a href="IEntityLivingBase.html#typeOf(int)">typeOf</a></code></li>
|
|
</ul>
|
|
</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="isNavigating()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isNavigating</h4>
|
|
<pre class="methodSignature">boolean isNavigating()</pre>
|
|
<div class="block">Checks if the entity is currently navigating (pathfinding).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if navigating; false otherwise.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="clearNavigation()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearNavigation</h4>
|
|
<pre class="methodSignature">void clearNavigation()</pre>
|
|
<div class="block">Clears the current navigation path.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="navigateTo(double,double,double,double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>navigateTo</h4>
|
|
<pre class="methodSignature">void navigateTo​(double x,
|
|
double y,
|
|
double z,
|
|
double speed)</pre>
|
|
<div class="block">Commands the entity to navigate toward the specified destination.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>x</code> - Destination x coordinate.</dd>
|
|
<dd><code>y</code> - Destination y coordinate.</dd>
|
|
<dd><code>z</code> - Destination z coordinate.</dd>
|
|
<dd><code>speed</code> - Movement speed (0.7 is default).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMCEntity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMCEntity</h4>
|
|
<pre class="methodSignature"><a href="IEntityLiving.html" title="type parameter in IEntityLiving">T</a> getMCEntity()</pre>
|
|
<div class="block">Returns the underlying Minecraft entity.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IEntity.html#getMCEntity()">getMCEntity</a></code> in interface <code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a><<a href="IEntityLiving.html" title="type parameter in IEntityLiving">T</a> extends net.minecraft.entity.EntityLiving></code></dd>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IEntityLivingBase.html#getMCEntity()">getMCEntity</a></code> in interface <code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a><<a href="IEntityLiving.html" title="type parameter in IEntityLiving">T</a> extends net.minecraft.entity.EntityLiving></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the Minecraft entity.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="playLivingSound()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playLivingSound</h4>
|
|
<pre class="methodSignature">void playLivingSound()</pre>
|
|
<div class="block">Plays the entity's living sound.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="spawnExplosionParticle()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>spawnExplosionParticle</h4>
|
|
<pre class="methodSignature">void spawnExplosionParticle()</pre>
|
|
<div class="block">Spawns explosion particles for this entity.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="setMoveForward(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMoveForward</h4>
|
|
<pre class="methodSignature">void setMoveForward​(float speed)</pre>
|
|
<div class="block">Sets the forward movement speed for the entity.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>speed</code> - the forward speed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="faceEntity(noppes.npcs.api.entity.IEntity,float,float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>faceEntity</h4>
|
|
<pre class="methodSignature">void faceEntity​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> entity,
|
|
float pitch,
|
|
float yaw)</pre>
|
|
<div class="block">Rotates the entity to face the given entity.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>entity</code> - the target entity.</dd>
|
|
<dd><code>pitch</code> - the pitch angle.</dd>
|
|
<dd><code>yaw</code> - the yaw angle.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="canPickUpLoot()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canPickUpLoot</h4>
|
|
<pre class="methodSignature">boolean canPickUpLoot()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity can pick up loot.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setCanPickUpLoot(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCanPickUpLoot</h4>
|
|
<pre class="methodSignature">void setCanPickUpLoot​(boolean pickUp)</pre>
|
|
<div class="block">Sets whether the entity can pick up loot.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>pickUp</code> - true to allow picking up loot.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isPersistent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPersistent</h4>
|
|
<pre class="methodSignature">boolean isPersistent()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity is persistent (won't despawn).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="enablePersistence()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enablePersistence</h4>
|
|
<pre class="methodSignature">void enablePersistence()</pre>
|
|
<div class="block">Enables persistence so that the entity does not despawn.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="setCustomNameTag(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCustomNameTag</h4>
|
|
<pre class="methodSignature">void setCustomNameTag​(java.lang.String text)</pre>
|
|
<div class="block">Sets a custom name tag for the entity.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>text</code> - the custom name.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getCustomNameTag()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCustomNameTag</h4>
|
|
<pre class="methodSignature">java.lang.String getCustomNameTag()</pre>
|
|
<div class="block">Returns the entity's custom name tag.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the custom name.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="hasCustomNameTag()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasCustomNameTag</h4>
|
|
<pre class="methodSignature">boolean hasCustomNameTag()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity has a custom name tag.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setAlwaysRenderNameTag(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAlwaysRenderNameTag</h4>
|
|
<pre class="methodSignature">void setAlwaysRenderNameTag​(boolean alwaysRender)</pre>
|
|
<div class="block">Sets whether the entity's name tag is always rendered.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>alwaysRender</code> - true to always render the name tag.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getAlwaysRenderNameTag()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAlwaysRenderNameTag</h4>
|
|
<pre class="methodSignature">boolean getAlwaysRenderNameTag()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the name tag is always rendered.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="clearLeashed(boolean,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearLeashed</h4>
|
|
<pre class="methodSignature">void clearLeashed​(boolean sendPacket,
|
|
boolean dropLeash)</pre>
|
|
<div class="block">Clears the entity's leash.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sendPacket</code> - whether to send a packet update.</dd>
|
|
<dd><code>dropLeash</code> - whether to drop the leash item.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="allowLeashing()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>allowLeashing</h4>
|
|
<pre class="methodSignature">boolean allowLeashing()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity allows leashing.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getLeashed()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeashed</h4>
|
|
<pre class="methodSignature">boolean getLeashed()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity is currently leashed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getLeashedTo()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeashedTo</h4>
|
|
<pre class="methodSignature"><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> getLeashedTo()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The entity to which this entity is leashed.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setLeashedTo(noppes.npcs.api.entity.IEntity,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLeashedTo</h4>
|
|
<pre class="methodSignature">void setLeashedTo​(<a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a> entity,
|
|
boolean sendPacket)</pre>
|
|
<div class="block">Leashes this entity to the specified entity.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>entity</code> - the entity to leash to.</dd>
|
|
<dd><code>sendPacket</code> - whether to send a packet update.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="canBeSteered()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>canBeSteered</h4>
|
|
<pre class="methodSignature">boolean canBeSteered()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the entity can be steered.</dd>
|
|
</dl>
|
|
</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>
|