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

4731 lines
182 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>ICustomNpc</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="ICustomNpc";
}
}
catch(err) {
}
//-->
var data = {"i0":38,"i1":38,"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":38,"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,"i91":6,"i92":6,"i93":6,"i94":6,"i95":6,"i96":6,"i97":6,"i98":6,"i99":6,"i100":6,"i101":6,"i102":6,"i103":6,"i104":6,"i105":6,"i106":6,"i107":6,"i108":6,"i109":6,"i110":6,"i111":6,"i112":6,"i113":6,"i114":6,"i115":6,"i116":38,"i117":6,"i118":6,"i119":38,"i120":6,"i121":6,"i122":6,"i123":6,"i124":6,"i125":6,"i126":6,"i127":6,"i128":6,"i129":6,"i130":6,"i131":6,"i132":6,"i133":6,"i134":6,"i135":6,"i136":6,"i137":6,"i138":38,"i139":6,"i140":6,"i141":6,"i142":6,"i143":6,"i144":6,"i145":6,"i146":6,"i147":6,"i148":6,"i149":6,"i150":38,"i151":6,"i152":6,"i153":6,"i154":6,"i155":6,"i156":6,"i157":6,"i158":6,"i159":6,"i160":6,"i161":6,"i162":6,"i163":6,"i164":6,"i165":6,"i166":6,"i167":6,"i168":6,"i169":6,"i170":6,"i171":6,"i172":6,"i173":6,"i174":6,"i175":6,"i176":6,"i177":6,"i178":6,"i179":6,"i180":6,"i181":6,"i182":6,"i183":6,"i184":6,"i185":6,"i186":6,"i187":6,"i188":6,"i189":6,"i190":6,"i191":6,"i192":6,"i193":6,"i194":6,"i195":6,"i196":6,"i197":6,"i198":6,"i199":6,"i200":6,"i201":6,"i202":6,"i203":6,"i204":6,"i205":6,"i206":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">noppes.npcs.api.entity</a></div>
<h2 title="Interface ICustomNpc" class="title">Interface ICustomNpc&lt;T extends net.minecraft.entity.EntityCreature&gt;</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the underlying EntityCreature type.</dd>
</dl>
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a></code>, <code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;T&gt;</code>, <code><a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a>&lt;T&gt;</code>, <code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;T&gt;</code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">ICustomNpc&lt;T extends net.minecraft.entity.EntityCreature&gt;</span>
extends <a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a>&lt;T&gt;, <a href="IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a></pre>
<div class="block">Represents a customizable NPC with a wide variety of properties such as appearance,
behavior, combat, loot, and more. This interface extends living entity and animation
capabilities and defines methods for adjusting almost every aspect of an NPC.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aimWhileShooting(boolean)">aimWhileShooting</a></span>&#8203;(boolean&nbsp;aimWhileShooting)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</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="#canAimWhileShooting()">canAimWhileShooting</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</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="#canBreathe()">canBreathe</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC can breathe.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canFly()">canFly</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC can fly.</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="#executeCommand(java.lang.String)">executeCommand</a></span>&#8203;(java.lang.String&nbsp;command)</code></th>
<td class="colLast">
<div class="block">Executes a command as the NPC.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAccuracy()">getAccuracy</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the shooting accuracy.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../handler/IActionManager.html" title="interface in noppes.npcs.api.handler">IActionManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getActionManager()">getActionManager</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the action manager used for scheduling NPC actions.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<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">
<div class="block">Returns the age of the NPC in ticks.</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="#getAggroRange()">getAggroRange</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the aggro range of the NPC.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAimType()">getAimType</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the Aim Type for an NPC</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../handler/data/IAnimationData.html" title="interface in noppes.npcs.api.handler.data">IAnimationData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnimationData()">getAnimationData</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's animation data.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArmor(int)">getArmor</a></span>&#8203;(int&nbsp;slot)</code></th>
<td class="colLast">
<div class="block">Returns the armor item in the specified slot.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArrowResistance()">getArrowResistance</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's arrow resistance.</div>
</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="#getAttackFactions()">getAttackFactions</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC attacks other factions.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAttackLines()">getAttackLines</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lines spoken when the NPC attacks.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBurstCount()">getBurstCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of shots in a burst.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCanDrown()">getCanDrown</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC can drown.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCloakTexture()">getCloakTexture</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's cloak texture.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCollisionType()">getCollisionType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's collision type.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCombatPolicy()">getCombatPolicy</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's combat policy.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCombatPolicyName()">getCombatPolicyName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the name of the NPC's combat policy.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCombatRegen()">getCombatRegen</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's combat health regeneration per second.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefendFaction()">getDefendFaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC defends its faction.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../handler/data/IDialog.html" title="interface in noppes.npcs.api.handler.data">IDialog</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDialog(int)">getDialog</a></span>&#8203;(int&nbsp;slot)</code></th>
<td class="colLast">
<div class="block">Retrieves the dialog from the specified slot.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDialogId(int)">getDialogId</a></span>&#8203;(int&nbsp;slot)</code></th>
<td class="colLast">
<div class="block">Returns the dialog ID in the specified slot.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExplosionResistance()">getExplosionResistance</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's explosion resistance.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../handler/data/IFaction.html" title="interface in noppes.npcs.api.handler.data">IFaction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFaction()">getFaction</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the faction associated with the NPC.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFireRate()">getFireRate</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the fire rate for ranged attacks.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFireSound()">getFireSound</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the sound directory played when a projectile is fired.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFlyGravity(double)">getFlyGravity</a></span>&#8203;(double&nbsp;unused)</code></th>
<td class="colLast">
<div class="block">Returns the gravity effect on the NPC while flying.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFlyHeightLimit(int)">getFlyHeightLimit</a></span>&#8203;(int&nbsp;unused)</code></th>
<td class="colLast">
<div class="block">Returns the maximum flying height for the NPC.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFlySpeed(double)">getFlySpeed</a></span>&#8203;(double&nbsp;unused)</code></th>
<td class="colLast">
<div class="block">Returns the NPC's flying speed.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHealthRegen()">getHealthRegen</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's health regeneration per second when not in combat.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHideKilledBody()">getHideKilledBody</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC's body is hidden upon death.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<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="#getHome()">getHome</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's home position.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHomeX()">getHomeX</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the home position X coordinate.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHomeY()">getHomeY</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the home position Y coordinate.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHomeZ()">getHomeZ</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the home position Z coordinate.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIgnoreCobweb()">getIgnoreCobweb</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC ignores cobwebs.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInteractLines()">getInteractLines</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lines used for NPC interaction.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="../jobs/IJob.html" title="interface in noppes.npcs.api.jobs">IJob</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getJob()">getJob</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's current job.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKilledLines()">getKilledLines</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lines spoken when the NPC is killed.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKillLines()">getKillLines</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lines spoken when the NPC kills another entity.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKnockback()">getKnockback</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the knockback strength of the NPC.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKnockbackResistance()">getKnockbackResistance</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's knockback resistance.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeftItem()">getLeftItem</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the item held in the NPC's left hand.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLefttItem()">getLefttItem</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLootChance(int)">getLootChance</a></span>&#8203;(int&nbsp;slot)</code></th>
<td class="colLast">
<div class="block">Returns the chance for the loot item in the specified slot to drop.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLootItem(int)">getLootItem</a></span>&#8203;(int&nbsp;slot)</code></th>
<td class="colLast">
<div class="block">Returns the loot item from the NPC's drop list for the given slot.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLootMode()">getLootMode</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's loot mode.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="../handler/data/IMagicData.html" title="interface in noppes.npcs.api.handler.data">IMagicData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMagicData()">getMagicData</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the Magic Data of an NPC</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxLootXP()">getMaxLootXP</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the maximum XP dropped by the NPC.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxProjectileDelay()">getMaxProjectileDelay</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the maximum projectile delay.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMeleeRange()">getMeleeRange</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the melee range of the NPC.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMeleeResistance()">getMeleeResistance</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's melee resistance.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMeleeSpeed()">getMeleeSpeed</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the melee speed of the NPC.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMeleeStrength()">getMeleeStrength</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the melee strength of the NPC.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinLootXP()">getMinLootXP</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the minimum XP dropped by the NPC.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinPointsToSoulStone()">getMinPointsToSoulStone</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the minimum faction points required to capture the NPC with a soul stone.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinProjectileDelay()">getMinProjectileDelay</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the minimum projectile delay.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code><a href="data/IModelData.html" title="interface in noppes.npcs.api.entity.data">IModelData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModelData()">getModelData</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the model data associated with the NPC.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModelType()">getModelType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's model type.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMovingType()">getMovingType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the moving type of the NPC.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's name.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code><a href="../handler/IOverlayHandler.html" title="interface in noppes.npcs.api.handler">IOverlayHandler</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOverlays()">getOverlays</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's overlay handler.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOverlayTexture()">getOverlayTexture</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the first overlay texture of the NPC.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProjectileItem()">getProjectileItem</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the projectile item used by the NPC.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProjectilesKeepTerrain()">getProjectilesKeepTerrain</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether projectiles fired by the NPC ignore terrain collisions.</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRangedBurst()">getRangedBurst</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of projectiles in a ranged burst attack.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRangedRange()">getRangedRange</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the range for ranged attacks.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRangedSpeed()">getRangedSpeed</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the ranged attack speed of the NPC.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRangedStrength()">getRangedStrength</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the ranged attack strength of the NPC.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRefuseSoulStone()">getRefuseSoulStone</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC refuses to be captured by a soul stone.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRespawnCycle()">getRespawnCycle</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's respawn cycle.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRespawnTime()">getRespawnTime</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of ticks before the NPC respawns.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReturnToHome()">getReturnToHome</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC is set to return home.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRightItem()">getRightItem</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the item held in the NPC's right hand.</div>
</td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code><a href="../roles/IRole.html" title="interface in noppes.npcs.api.roles">IRole</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRole()">getRole</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's current role.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationType()">getRotationType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's rotation type.</div>
</td>
</tr>
<tr id="i79" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShelterFrom()">getShelterFrom</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the condition under which the NPC seeks shelter.</div>
</td>
</tr>
<tr id="i80" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShotCount()">getShotCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of shots fired.</div>
</td>
</tr>
<tr id="i81" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShowBossBar()">getShowBossBar</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the visibility type of the NPC's boss bar.</div>
</td>
</tr>
<tr id="i82" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getShowName()">getShowName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the visibility type of the NPC's name.</div>
</td>
</tr>
<tr id="i83" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSize()">getSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the current NPC's size (scale factor) within the range 1–30.</div>
</td>
</tr>
<tr id="i84" class="altColor">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSkinType()">getSkinType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's skin type.</div>
</td>
</tr>
<tr id="i85" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSkinUrl()">getSkinUrl</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's skin URL.</div>
</td>
</tr>
<tr id="i86" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSoulStonePlayerName()">getSoulStonePlayerName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the name of the player who spawned this NPC using a soul stone.</div>
</td>
</tr>
<tr id="i87" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSpeed()">getSpeed</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's walking speed.</div>
</td>
</tr>
<tr id="i88" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSwingWarmup()">getSwingWarmup</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the swing warmup time (in ticks) before melee damage is applied.</div>
</td>
</tr>
<tr id="i89" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTacticalRadius()">getTacticalRadius</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the tactical radius affecting NPC behavior.</div>
</td>
</tr>
<tr id="i90" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTacticalVariant()">getTacticalVariant</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's tactical variant.</div>
</td>
</tr>
<tr id="i91" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTacticalVariantName()">getTacticalVariantName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the name of the NPC's tactical variant.</div>
</td>
</tr>
<tr id="i92" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTexture()">getTexture</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's texture path.</div>
</td>
</tr>
<tr id="i93" class="rowColor">
<td class="colFirst"><code><a href="../ITimers.html" title="interface in noppes.npcs.api">ITimers</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTimers()">getTimers</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the timers associated with the NPC.</div>
</td>
</tr>
<tr id="i94" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTitle()">getTitle</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's title.</div>
</td>
</tr>
<tr id="i95" class="rowColor">
<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 entity type of the NPC.</div>
</td>
</tr>
<tr id="i96" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVisibleType()">getVisibleType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the visibility type of the NPC.</div>
</td>
</tr>
<tr id="i97" class="rowColor">
<td class="colFirst"><code><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWorldLines()">getWorldLines</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the lines displayed in the world.</div>
</td>
</tr>
<tr id="i98" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#giveItem(noppes.npcs.api.entity.IPlayer,noppes.npcs.api.item.IItemStack)">giveItem</a></span>&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Gives an item to the specified player.</div>
</td>
</tr>
<tr id="i99" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasLivingAnimation()">hasLivingAnimation</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC has a living animation.</div>
</td>
</tr>
<tr id="i100" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hideKilledBody(boolean)">hideKilledBody</a></span>&#8203;(boolean&nbsp;hide)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC's body should be hidden upon death.</div>
</td>
</tr>
<tr id="i101" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFlyHeightLimited(boolean)">isFlyHeightLimited</a></span>&#8203;(boolean&nbsp;unused)</code></th>
<td class="colLast">
<div class="block">Checks if flying height is limited.</div>
</td>
</tr>
<tr id="i102" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSoulStoneInit()">isSoulStoneInit</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC has been initialized after a soul stone spawn.</div>
</td>
</tr>
<tr id="i103" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isVisibleTo(noppes.npcs.api.entity.IPlayer)">isVisibleTo</a></span>&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player)</code></th>
<td class="colLast">
<div class="block">Checks if the NPC is visible to a specific player.</div>
</td>
</tr>
<tr id="i104" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#kill()">kill</a></span>()</code></th>
<td class="colLast">
<div class="block">Kills the NPC without despawning it.</div>
</td>
</tr>
<tr id="i105" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#limitFlyHeight(boolean)">limitFlyHeight</a></span>&#8203;(boolean&nbsp;limit)</code></th>
<td class="colLast">
<div class="block">Enables or disables flying height limitation.</div>
</td>
</tr>
<tr id="i106" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#naturallyDespawns()">naturallyDespawns</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC naturally despawns.</div>
</td>
</tr>
<tr id="i107" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#onFoundEnemy()">onFoundEnemy</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the NPC's behavior when encountering an enemy.</div>
</td>
</tr>
<tr id="i108" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reset()">reset</a></span>()</code></th>
<td class="colLast">
<div class="block">Resets the NPC to its initial state and triggers the initialization script.</div>
</td>
</tr>
<tr id="i109" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#say(java.lang.String)">say</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Makes the NPC broadcast a message.</div>
</td>
</tr>
<tr id="i110" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#say(noppes.npcs.api.entity.IPlayer,java.lang.String)">say</a></span>&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Makes the NPC send a message to a specific player.</div>
</td>
</tr>
<tr id="i111" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAccuracy(int)">setAccuracy</a></span>&#8203;(int&nbsp;accuracy)</code></th>
<td class="colLast">
<div class="block">Sets the shooting accuracy.</div>
</td>
</tr>
<tr id="i112" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAggroRange(int)">setAggroRange</a></span>&#8203;(int&nbsp;aggroRange)</code></th>
<td class="colLast">
<div class="block">Sets the aggro range of the NPC.</div>
</td>
</tr>
<tr id="i113" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAimType(byte)">setAimType</a></span>&#8203;(byte&nbsp;aimWhileShooting)</code></th>
<td class="colLast">
<div class="block">Sets the Aim Type for an NPC</div>
</td>
</tr>
<tr id="i114" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAnimation(int)">setAnimation</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's animation type.</div>
</td>
</tr>
<tr id="i115" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setArmor(int,noppes.npcs.api.item.IItemStack)">setArmor</a></span>&#8203;(int&nbsp;slot,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Sets the armor item in the specified slot.</div>
</td>
</tr>
<tr id="i116" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setArmsScale(float,float,float)">setArmsScale</a></span>&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr id="i117" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setArrowResistance(float)">setArrowResistance</a></span>&#8203;(float&nbsp;resistance)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's arrow resistance.</div>
</td>
</tr>
<tr id="i118" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAttackFactions(boolean)">setAttackFactions</a></span>&#8203;(boolean&nbsp;attackOtherFactions)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC will attack members of other factions.</div>
</td>
</tr>
<tr id="i119" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBodyScale(float,float,float)">setBodyScale</a></span>&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr id="i120" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstCount(int)">setBurstCount</a></span>&#8203;(int&nbsp;burstCount)</code></th>
<td class="colLast">
<div class="block">Sets the number of shots in a burst.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCloakTexture(java.lang.String)">setCloakTexture</a></span>&#8203;(java.lang.String&nbsp;cloakTexture)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's cloak texture.</div>
</td>
</tr>
<tr id="i122" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCollisionType(int)">setCollisionType</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's collision type.</div>
</td>
</tr>
<tr id="i123" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCombatPolicy(int)">setCombatPolicy</a></span>&#8203;(int&nbsp;policy)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's combat policy.</div>
</td>
</tr>
<tr id="i124" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCombatPolicy(java.lang.String)">setCombatPolicy</a></span>&#8203;(java.lang.String&nbsp;policy)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's combat policy by name.</div>
</td>
</tr>
<tr id="i125" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCombatRegen(float)">setCombatRegen</a></span>&#8203;(float&nbsp;regen)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's combat health regeneration per second.</div>
</td>
</tr>
<tr id="i126" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefendFaction(boolean)">setDefendFaction</a></span>&#8203;(boolean&nbsp;defendFaction)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC should defend members of its faction.</div>
</td>
</tr>
<tr id="i127" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDialog(int,int)">setDialog</a></span>&#8203;(int&nbsp;slot,
int&nbsp;dialogId)</code></th>
<td class="colLast">
<div class="block">Sets the dialog for the specified slot by its ID.</div>
</td>
</tr>
<tr id="i128" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDialog(int,noppes.npcs.api.handler.data.IDialog)">setDialog</a></span>&#8203;(int&nbsp;slot,
<a href="../handler/data/IDialog.html" title="interface in noppes.npcs.api.handler.data">IDialog</a>&nbsp;dialog)</code></th>
<td class="colLast">
<div class="block">Sets the dialog for the specified slot.</div>
</td>
</tr>
<tr id="i129" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDrowningType(int)">setDrowningType</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the drowning behavior of the NPC.</div>
</td>
</tr>
<tr id="i130" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setExplosionResistance(float)">setExplosionResistance</a></span>&#8203;(float&nbsp;resistance)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's explosion resistance.</div>
</td>
</tr>
<tr id="i131" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFaction(int)">setFaction</a></span>&#8203;(int&nbsp;id)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's faction by its ID.</div>
</td>
</tr>
<tr id="i132" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFireRate(int)">setFireRate</a></span>&#8203;(int&nbsp;rate)</code></th>
<td class="colLast">
<div class="block">Sets the fire rate for ranged attacks.</div>
</td>
</tr>
<tr id="i133" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFireSound(java.lang.String)">setFireSound</a></span>&#8203;(java.lang.String&nbsp;fireSound)</code></th>
<td class="colLast">
<div class="block">Sets the sound directory for projectile firing.</div>
</td>
</tr>
<tr id="i134" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFly(int)">setFly</a></span>&#8203;(int&nbsp;fly)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's flying ability.</div>
</td>
</tr>
<tr id="i135" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFlyGravity(double)">setFlyGravity</a></span>&#8203;(double&nbsp;flyGravity)</code></th>
<td class="colLast">
<div class="block">Sets the gravity effect on the NPC while flying.</div>
</td>
</tr>
<tr id="i136" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFlyHeightLimit(int)">setFlyHeightLimit</a></span>&#8203;(int&nbsp;flyHeightLimit)</code></th>
<td class="colLast">
<div class="block">Sets the maximum flying height for the NPC.</div>
</td>
</tr>
<tr id="i137" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFlySpeed(double)">setFlySpeed</a></span>&#8203;(double&nbsp;flySpeed)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's flying speed.</div>
</td>
</tr>
<tr id="i138" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHeadScale(float,float,float)">setHeadScale</a></span>&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr id="i139" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHealthRegen(float)">setHealthRegen</a></span>&#8203;(float&nbsp;regen)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's health regeneration per second when not in combat.</div>
</td>
</tr>
<tr id="i140" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHome(int,int,int)">setHome</a></span>&#8203;(int&nbsp;x,
int&nbsp;y,
int&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Sets the home position using individual coordinates.</div>
</td>
</tr>
<tr id="i141" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHome(noppes.npcs.api.IPos)">setHome</a></span>&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Sets the home position using an IPos instance.</div>
</td>
</tr>
<tr id="i142" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHomeX(int)">setHomeX</a></span>&#8203;(int&nbsp;x)</code></th>
<td class="colLast">
<div class="block">Sets the home position X coordinate.</div>
</td>
</tr>
<tr id="i143" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHomeY(int)">setHomeY</a></span>&#8203;(int&nbsp;y)</code></th>
<td class="colLast">
<div class="block">Sets the home position Y coordinate.</div>
</td>
</tr>
<tr id="i144" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setHomeZ(int)">setHomeZ</a></span>&#8203;(int&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Sets the home position Z coordinate.</div>
</td>
</tr>
<tr id="i145" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIgnoreCobweb(boolean)">setIgnoreCobweb</a></span>&#8203;(boolean&nbsp;ignore)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC ignores cobwebs.</div>
</td>
</tr>
<tr id="i146" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setJob(int)">setJob</a></span>&#8203;(int&nbsp;job)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's job by its ID.</div>
</td>
</tr>
<tr id="i147" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setKnockback(int)">setKnockback</a></span>&#8203;(int&nbsp;knockback)</code></th>
<td class="colLast">
<div class="block">Sets the knockback strength of the NPC.</div>
</td>
</tr>
<tr id="i148" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setKnockbackResistance(double)">setKnockbackResistance</a></span>&#8203;(double&nbsp;resistance)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's knockback resistance.</div>
</td>
</tr>
<tr id="i149" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLeftItem(noppes.npcs.api.item.IItemStack)">setLeftItem</a></span>&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Sets the item held in the NPC's left hand.</div>
</td>
</tr>
<tr id="i150" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLegsScale(float,float,float)">setLegsScale</a></span>&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
</td>
</tr>
<tr id="i151" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLivingAnimation(boolean)">setLivingAnimation</a></span>&#8203;(boolean&nbsp;livingAnimation)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC has a living animation.</div>
</td>
</tr>
<tr id="i152" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLootChance(int,double)">setLootChance</a></span>&#8203;(int&nbsp;slot,
double&nbsp;chance)</code></th>
<td class="colLast">
<div class="block">Sets the drop chance for the loot item in the specified slot.</div>
</td>
</tr>
<tr id="i153" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLootItem(int,noppes.npcs.api.item.IItemStack)">setLootItem</a></span>&#8203;(int&nbsp;slot,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Sets the loot item in the NPC's drop list for the given slot.</div>
</td>
</tr>
<tr id="i154" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLootMode(int)">setLootMode</a></span>&#8203;(int&nbsp;lootMode)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's loot mode.</div>
</td>
</tr>
<tr id="i155" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxHealth(double)">setMaxHealth</a></span>&#8203;(double&nbsp;health)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's maximum health.</div>
</td>
</tr>
<tr id="i156" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxLootXP(int)">setMaxLootXP</a></span>&#8203;(int&nbsp;lootXP)</code></th>
<td class="colLast">
<div class="block">Sets the maximum XP dropped by the NPC.</div>
</td>
</tr>
<tr id="i157" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxProjectileDelay(int)">setMaxProjectileDelay</a></span>&#8203;(int&nbsp;maxDelay)</code></th>
<td class="colLast">
<div class="block">Sets the maximum delay (in ticks) between projectiles.</div>
</td>
</tr>
<tr id="i158" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMeleeRange(int)">setMeleeRange</a></span>&#8203;(int&nbsp;range)</code></th>
<td class="colLast">
<div class="block">Sets the melee range of the NPC.</div>
</td>
</tr>
<tr id="i159" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMeleeResistance(float)">setMeleeResistance</a></span>&#8203;(float&nbsp;resistance)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's melee resistance.</div>
</td>
</tr>
<tr id="i160" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMeleeSpeed(int)">setMeleeSpeed</a></span>&#8203;(int&nbsp;speed)</code></th>
<td class="colLast">
<div class="block">Sets the melee speed of the NPC.</div>
</td>
</tr>
<tr id="i161" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMeleeStrength(double)">setMeleeStrength</a></span>&#8203;(double&nbsp;strength)</code></th>
<td class="colLast">
<div class="block">Sets the melee strength of the NPC.</div>
</td>
</tr>
<tr id="i162" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMinLootXP(int)">setMinLootXP</a></span>&#8203;(int&nbsp;lootXP)</code></th>
<td class="colLast">
<div class="block">Sets the minimum XP dropped by the NPC.</div>
</td>
</tr>
<tr id="i163" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMinPointsToSoulStone(int)">setMinPointsToSoulStone</a></span>&#8203;(int&nbsp;points)</code></th>
<td class="colLast">
<div class="block">Sets the minimum faction points required to capture the NPC with a soul stone.</div>
</td>
</tr>
<tr id="i164" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMinProjectileDelay(int)">setMinProjectileDelay</a></span>&#8203;(int&nbsp;minDelay)</code></th>
<td class="colLast">
<div class="block">Sets the minimum delay (in ticks) between projectiles.</div>
</td>
</tr>
<tr id="i165" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setModelType(int)">setModelType</a></span>&#8203;(int&nbsp;modelType)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's model type.</div>
</td>
</tr>
<tr id="i166" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMovingType(int)">setMovingType</a></span>&#8203;(int&nbsp;movingType)</code></th>
<td class="colLast">
<div class="block">Sets the moving type of the NPC.</div>
</td>
</tr>
<tr id="i167" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setName(java.lang.String)">setName</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's name.</div>
</td>
</tr>
<tr id="i168" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNaturallyDespawns(boolean)">setNaturallyDespawns</a></span>&#8203;(boolean&nbsp;canDespawn)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC should naturally despawn.</div>
</td>
</tr>
<tr id="i169" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOnFoundEnemy(int)">setOnFoundEnemy</a></span>&#8203;(int&nbsp;onAttack)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's behavior when encountering an enemy.</div>
</td>
</tr>
<tr id="i170" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOverlayTexture(java.lang.String)">setOverlayTexture</a></span>&#8203;(java.lang.String&nbsp;overlayTexture)</code></th>
<td class="colLast">
<div class="block">Adds an overlay texture to the NPC.</div>
</td>
</tr>
<tr id="i171" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProjectileItem(noppes.npcs.api.item.IItemStack)">setProjectileItem</a></span>&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Sets the projectile item for the NPC.</div>
</td>
</tr>
<tr id="i172" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProjectilesKeepTerrain(boolean)">setProjectilesKeepTerrain</a></span>&#8203;(boolean&nbsp;b)</code></th>
<td class="colLast">
<div class="block">Sets whether projectiles fired by the NPC should ignore terrain collisions.</div>
</td>
</tr>
<tr id="i173" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRangedBurst(int)">setRangedBurst</a></span>&#8203;(int&nbsp;count)</code></th>
<td class="colLast">
<div class="block">Sets the number of projectiles in a ranged burst attack.</div>
</td>
</tr>
<tr id="i174" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRangedRange(int)">setRangedRange</a></span>&#8203;(int&nbsp;rangedRange)</code></th>
<td class="colLast">
<div class="block">Sets the range for ranged attacks.</div>
</td>
</tr>
<tr id="i175" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRangedSpeed(int)">setRangedSpeed</a></span>&#8203;(int&nbsp;speed)</code></th>
<td class="colLast">
<div class="block">Sets the ranged attack speed of the NPC.</div>
</td>
</tr>
<tr id="i176" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRangedStrength(float)">setRangedStrength</a></span>&#8203;(float&nbsp;strength)</code></th>
<td class="colLast">
<div class="block">Sets the ranged attack strength of the NPC.</div>
</td>
</tr>
<tr id="i177" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRefuseSoulStone(boolean)">setRefuseSoulStone</a></span>&#8203;(boolean&nbsp;refuse)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC refuses to be captured by a soul stone.</div>
</td>
</tr>
<tr id="i178" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRespawnCycle(int)">setRespawnCycle</a></span>&#8203;(int&nbsp;cycle)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's respawn cycle.</div>
</td>
</tr>
<tr id="i179" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRespawnTime(int)">setRespawnTime</a></span>&#8203;(int&nbsp;time)</code></th>
<td class="colLast">
<div class="block">Sets the number of ticks before the NPC respawns.</div>
</td>
</tr>
<tr id="i180" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRetaliateType(int)">setRetaliateType</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's retaliation type.</div>
</td>
</tr>
<tr id="i181" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setReturnToHome(boolean)">setReturnToHome</a></span>&#8203;(boolean&nbsp;bo)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC should return to its home position.</div>
</td>
</tr>
<tr id="i182" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRightItem(noppes.npcs.api.item.IItemStack)">setRightItem</a></span>&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Sets the item held in the NPC's right hand.</div>
</td>
</tr>
<tr id="i183" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRole(int)">setRole</a></span>&#8203;(int&nbsp;role)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's role by its ID.</div>
</td>
</tr>
<tr id="i184" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotation(float)">setRotation</a></span>&#8203;(float&nbsp;rotation)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's rotation (yaw).</div>
</td>
</tr>
<tr id="i185" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotationType(int)">setRotationType</a></span>&#8203;(int&nbsp;rotationType)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's rotation type.</div>
</td>
</tr>
<tr id="i186" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShelterFrom(int)">setShelterFrom</a></span>&#8203;(int&nbsp;shelterFrom)</code></th>
<td class="colLast">
<div class="block">Sets the condition under which the NPC seeks shelter.</div>
</td>
</tr>
<tr id="i187" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShotCount(int)">setShotCount</a></span>&#8203;(int&nbsp;shotCount)</code></th>
<td class="colLast">
<div class="block">Sets the number of shots fired.</div>
</td>
</tr>
<tr id="i188" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShowBossBar(int)">setShowBossBar</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the visibility type of the NPC's boss bar.</div>
</td>
</tr>
<tr id="i189" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setShowName(int)">setShowName</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the visibility type of the NPC's name.</div>
</td>
</tr>
<tr id="i190" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSize(int)">setSize</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's size (scale factor).</div>
</td>
</tr>
<tr id="i191" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkinType(byte)">setSkinType</a></span>&#8203;(byte&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's skin type.</div>
</td>
</tr>
<tr id="i192" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSkinUrl(java.lang.String)">setSkinUrl</a></span>&#8203;(java.lang.String&nbsp;url)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's skin URL.</div>
</td>
</tr>
<tr id="i193" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSpeed(double)">setSpeed</a></span>&#8203;(double&nbsp;speed)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's walking speed.</div>
</td>
</tr>
<tr id="i194" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setSwingWarmup(int)">setSwingWarmup</a></span>&#8203;(int&nbsp;ticks)</code></th>
<td class="colLast">
<div class="block">Sets the swing warmup time (in ticks) before melee damage is applied.</div>
</td>
</tr>
<tr id="i195" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTacticalRadius(int)">setTacticalRadius</a></span>&#8203;(int&nbsp;tacticalRadius)</code></th>
<td class="colLast">
<div class="block">Sets the tactical radius affecting NPC behavior.</div>
</td>
</tr>
<tr id="i196" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTacticalVariant(int)">setTacticalVariant</a></span>&#8203;(int&nbsp;variant)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's tactical variant.</div>
</td>
</tr>
<tr id="i197" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTacticalVariant(java.lang.String)">setTacticalVariant</a></span>&#8203;(java.lang.String&nbsp;variant)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's tactical variant by its name.</div>
</td>
</tr>
<tr id="i198" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTexture(java.lang.String)">setTexture</a></span>&#8203;(java.lang.String&nbsp;texture)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's texture.</div>
</td>
</tr>
<tr id="i199" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTitle(java.lang.String)">setTitle</a></span>&#8203;(java.lang.String&nbsp;title)</code></th>
<td class="colLast">
<div class="block">Sets the NPC's title.</div>
</td>
</tr>
<tr id="i200" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVisibleTo(noppes.npcs.api.entity.IPlayer,boolean)">setVisibleTo</a></span>&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
boolean&nbsp;visible)</code></th>
<td class="colLast">
<div class="block">Sets whether the NPC is visible to a specific player.</div>
</td>
</tr>
<tr id="i201" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setVisibleType(int)">setVisibleType</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Sets the visibility type of the NPC.</div>
</td>
</tr>
<tr id="i202" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#shootItem(noppes.npcs.api.entity.IEntityLivingBase,noppes.npcs.api.item.IItemStack,int)">shootItem</a></span>&#8203;(<a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&nbsp;target,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item,
int&nbsp;accuracy)</code></th>
<td class="colLast">
<div class="block">Instructs the NPC to shoot an item at a target.</div>
</td>
</tr>
<tr id="i203" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#spawnedFromSoulStone()">spawnedFromSoulStone</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether the NPC was spawned using a soul stone.</div>
</td>
</tr>
<tr id="i204" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeOf(int)">typeOf</a></span>&#8203;(int&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Checks if the NPC is of the given type.</div>
</td>
</tr>
<tr id="i205" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateAI()">updateAI</a></span>()</code></th>
<td class="colLast">
<div class="block">Updates the NPC's AI tasks.</div>
</td>
</tr>
<tr id="i206" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateClient()">updateClient</a></span>()</code></th>
<td class="colLast">
<div class="block">Updates the client with the latest NPC state.</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&nbsp;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#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,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.IEntityLiving">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;noppes.npcs.api.entity.<a href="IEntityLiving.html" title="interface in noppes.npcs.api.entity">IEntityLiving</a></h3>
<code><a href="IEntityLiving.html#allowLeashing()">allowLeashing</a>, <a href="IEntityLiving.html#canBeSteered()">canBeSteered</a>, <a href="IEntityLiving.html#canPickUpLoot()">canPickUpLoot</a>, <a href="IEntityLiving.html#clearLeashed(boolean,boolean)">clearLeashed</a>, <a href="IEntityLiving.html#clearNavigation()">clearNavigation</a>, <a href="IEntityLiving.html#enablePersistence()">enablePersistence</a>, <a href="IEntityLiving.html#faceEntity(noppes.npcs.api.entity.IEntity,float,float)">faceEntity</a>, <a href="IEntityLiving.html#getAlwaysRenderNameTag()">getAlwaysRenderNameTag</a>, <a href="IEntityLiving.html#getCustomNameTag()">getCustomNameTag</a>, <a href="IEntityLiving.html#getLeashed()">getLeashed</a>, <a href="IEntityLiving.html#getLeashedTo()">getLeashedTo</a>, <a href="IEntityLiving.html#getMCEntity()">getMCEntity</a>, <a href="IEntityLiving.html#hasCustomNameTag()">hasCustomNameTag</a>, <a href="IEntityLiving.html#isNavigating()">isNavigating</a>, <a href="IEntityLiving.html#isPersistent()">isPersistent</a>, <a href="IEntityLiving.html#navigateTo(double,double,double,double)">navigateTo</a>, <a href="IEntityLiving.html#playLivingSound()">playLivingSound</a>, <a href="IEntityLiving.html#setAlwaysRenderNameTag(boolean)">setAlwaysRenderNameTag</a>, <a href="IEntityLiving.html#setCanPickUpLoot(boolean)">setCanPickUpLoot</a>, <a href="IEntityLiving.html#setCustomNameTag(java.lang.String)">setCustomNameTag</a>, <a href="IEntityLiving.html#setLeashedTo(noppes.npcs.api.entity.IEntity,boolean)">setLeashedTo</a>, <a href="IEntityLiving.html#setMoveForward(float)">setMoveForward</a>, <a href="IEntityLiving.html#spawnExplosionParticle()">spawnExplosionParticle</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&nbsp;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#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#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#getPotionEffect(int)">getPotionEffect</a>, <a href="IEntityLivingBase.html#getTotalArmorValue()">getTotalArmorValue</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#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#setLastAttacker(noppes.npcs.api.entity.IEntity)">setLastAttacker</a>, <a href="IEntityLivingBase.html#setMaxHurtTime(int)">setMaxHurtTime</a>, <a href="IEntityLivingBase.html#swingHand()">swingHand</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="getSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre class="methodSignature">int&nbsp;getSize()</pre>
<div class="block">Returns the current NPC's size (scale factor) within the range 1–30.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NPC's size.</dd>
</dl>
</li>
</ul>
<a id="setSize(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSize</h4>
<pre class="methodSignature">void&nbsp;setSize&#8203;(int&nbsp;size)</pre>
<div class="block">Sets the NPC's size (scale factor).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - the size of the NPC (range 1–30, default is 5).</dd>
</dl>
</li>
</ul>
<a id="getModelType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModelType</h4>
<pre class="methodSignature">int&nbsp;getModelType()</pre>
<div class="block">Returns the NPC's model type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the model type.</dd>
</dl>
</li>
</ul>
<a id="setModelType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setModelType</h4>
<pre class="methodSignature">void&nbsp;setModelType&#8203;(int&nbsp;modelType)</pre>
<div class="block">Sets the NPC's model type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>modelType</code> - the model type (0: Steve, 1: Steve64, 2: Alex).</dd>
</dl>
</li>
</ul>
<a id="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre class="methodSignature">java.lang.String&nbsp;getName()</pre>
<div class="block">Returns the NPC's name.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NPC's name.</dd>
</dl>
</li>
</ul>
<a id="setRotation(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotation</h4>
<pre class="methodSignature">void&nbsp;setRotation&#8203;(float&nbsp;rotation)</pre>
<div class="block">Sets the NPC's rotation (yaw).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntity.html#setRotation(float)">setRotation</a></code>&nbsp;in interface&nbsp;<code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotation</code> - the new rotation angle in degrees.</dd>
</dl>
</li>
</ul>
<a id="setRotationType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRotationType</h4>
<pre class="methodSignature">void&nbsp;setRotationType&#8203;(int&nbsp;rotationType)</pre>
<div class="block">Sets the NPC's rotation type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rotationType</code> - the rotation type (implementation-specific).</dd>
</dl>
</li>
</ul>
<a id="getRotationType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRotationType</h4>
<pre class="methodSignature">int&nbsp;getRotationType()</pre>
<div class="block">Returns the NPC's rotation type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the rotation type.</dd>
</dl>
</li>
</ul>
<a id="setMovingType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMovingType</h4>
<pre class="methodSignature">void&nbsp;setMovingType&#8203;(int&nbsp;movingType)</pre>
<div class="block">Sets the moving type of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>movingType</code> - the moving type (0: standing, 1: wandering, 2: moving path).</dd>
</dl>
</li>
</ul>
<a id="getMovingType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMovingType</h4>
<pre class="methodSignature">int&nbsp;getMovingType()</pre>
<div class="block">Returns the moving type of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the moving type (0: standing, 1: wandering, 2: moving path).</dd>
</dl>
</li>
</ul>
<a id="setName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre class="methodSignature">void&nbsp;setName&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Sets the NPC's name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the new name.</dd>
</dl>
</li>
</ul>
<a id="getTitle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre class="methodSignature">java.lang.String&nbsp;getTitle()</pre>
<div class="block">Returns the NPC's title.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NPC's title.</dd>
</dl>
</li>
</ul>
<a id="setTitle(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTitle</h4>
<pre class="methodSignature">void&nbsp;setTitle&#8203;(java.lang.String&nbsp;title)</pre>
<div class="block">Sets the NPC's title.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>title</code> - the new title.</dd>
</dl>
</li>
</ul>
<a id="getTexture()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTexture</h4>
<pre class="methodSignature">java.lang.String&nbsp;getTexture()</pre>
<div class="block">Returns the NPC's texture path.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the texture path.</dd>
</dl>
</li>
</ul>
<a id="setTexture(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTexture</h4>
<pre class="methodSignature">void&nbsp;setTexture&#8203;(java.lang.String&nbsp;texture)</pre>
<div class="block">Sets the NPC's texture.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>texture</code> - the new texture path.</dd>
</dl>
</li>
</ul>
<a id="getHome()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHome</h4>
<pre class="methodSignature"><a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;getHome()</pre>
<div class="block">Returns the NPC's home position.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the home position as an IPos.</dd>
</dl>
</li>
</ul>
<a id="getHomeX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHomeX</h4>
<pre class="methodSignature">int&nbsp;getHomeX()</pre>
<div class="block">Returns the home position X coordinate.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the home X coordinate.</dd>
</dl>
</li>
</ul>
<a id="setHomeX(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHomeX</h4>
<pre class="methodSignature">void&nbsp;setHomeX&#8203;(int&nbsp;x)</pre>
<div class="block">Sets the home position X coordinate.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the new home X coordinate.</dd>
</dl>
</li>
</ul>
<a id="getHomeY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHomeY</h4>
<pre class="methodSignature">int&nbsp;getHomeY()</pre>
<div class="block">Returns the home position Y coordinate.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the home Y coordinate.</dd>
</dl>
</li>
</ul>
<a id="setHomeY(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHomeY</h4>
<pre class="methodSignature">void&nbsp;setHomeY&#8203;(int&nbsp;y)</pre>
<div class="block">Sets the home position Y coordinate.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>y</code> - the new home Y coordinate.</dd>
</dl>
</li>
</ul>
<a id="getHomeZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHomeZ</h4>
<pre class="methodSignature">int&nbsp;getHomeZ()</pre>
<div class="block">Returns the home position Z coordinate.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the home Z coordinate.</dd>
</dl>
</li>
</ul>
<a id="setHomeZ(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHomeZ</h4>
<pre class="methodSignature">void&nbsp;setHomeZ&#8203;(int&nbsp;z)</pre>
<div class="block">Sets the home position Z coordinate.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>z</code> - the new home Z coordinate.</dd>
</dl>
</li>
</ul>
<a id="setHome(int,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHome</h4>
<pre class="methodSignature">void&nbsp;setHome&#8203;(int&nbsp;x,
int&nbsp;y,
int&nbsp;z)</pre>
<div class="block">Sets the home position using individual coordinates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - the home X coordinate.</dd>
<dd><code>y</code> - the home Y coordinate.</dd>
<dd><code>z</code> - the home Z coordinate.</dd>
</dl>
</li>
</ul>
<a id="setHome(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHome</h4>
<pre class="methodSignature">void&nbsp;setHome&#8203;(<a href="../IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<div class="block">Sets the home position using an IPos instance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - the new home position.</dd>
</dl>
</li>
</ul>
<a id="setMaxHealth(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxHealth</h4>
<pre class="methodSignature">void&nbsp;setMaxHealth&#8203;(double&nbsp;health)</pre>
<div class="block">Sets the NPC's maximum health.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#setMaxHealth(double)">setMaxHealth</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>health</code> - the new maximum health.</dd>
</dl>
</li>
</ul>
<a id="setReturnToHome(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReturnToHome</h4>
<pre class="methodSignature">void&nbsp;setReturnToHome&#8203;(boolean&nbsp;bo)</pre>
<div class="block">Sets whether the NPC should return to its home position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bo</code> - true to enable returning home, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getReturnToHome()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReturnToHome</h4>
<pre class="methodSignature">boolean&nbsp;getReturnToHome()</pre>
<div class="block">Returns whether the NPC is set to return home.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the NPC returns home, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getFaction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFaction</h4>
<pre class="methodSignature"><a href="../handler/data/IFaction.html" title="interface in noppes.npcs.api.handler.data">IFaction</a>&nbsp;getFaction()</pre>
<div class="block">Returns the faction associated with the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NPC's faction.</dd>
</dl>
</li>
</ul>
<a id="setFaction(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFaction</h4>
<pre class="methodSignature">void&nbsp;setFaction&#8203;(int&nbsp;id)</pre>
<div class="block">Sets the NPC's faction by its ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>id</code> - the faction ID.</dd>
</dl>
</li>
</ul>
<a id="setAttackFactions(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttackFactions</h4>
<pre class="methodSignature">void&nbsp;setAttackFactions&#8203;(boolean&nbsp;attackOtherFactions)</pre>
<div class="block">Sets whether the NPC will attack members of other factions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>attackOtherFactions</code> - true to attack, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getAttackFactions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttackFactions</h4>
<pre class="methodSignature">boolean&nbsp;getAttackFactions()</pre>
<div class="block">Returns whether the NPC attacks other factions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it attacks, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setDefendFaction(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefendFaction</h4>
<pre class="methodSignature">void&nbsp;setDefendFaction&#8203;(boolean&nbsp;defendFaction)</pre>
<div class="block">Sets whether the NPC should defend members of its faction.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>defendFaction</code> - true to defend, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getDefendFaction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefendFaction</h4>
<pre class="methodSignature">boolean&nbsp;getDefendFaction()</pre>
<div class="block">Returns whether the NPC defends its faction.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it defends, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre class="methodSignature">int&nbsp;getType()</pre>
<div class="block">Returns the entity type of the NPC.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntity.html#getType()">getType</a></code>&nbsp;in interface&nbsp;<code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#getType()">getType</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the NPC's type.</dd>
</dl>
</li>
</ul>
<a id="typeOf(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>typeOf</h4>
<pre class="methodSignature">boolean&nbsp;typeOf&#8203;(int&nbsp;type)</pre>
<div class="block">Checks if the NPC is of the given type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntity.html#typeOf(int)">typeOf</a></code>&nbsp;in interface&nbsp;<code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#typeOf(int)">typeOf</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<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 NPC matches the specified type; otherwise, defers to the parent.</dd>
</dl>
</li>
</ul>
<a id="shootItem(noppes.npcs.api.entity.IEntityLivingBase,noppes.npcs.api.item.IItemStack,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shootItem</h4>
<pre class="methodSignature">void&nbsp;shootItem&#8203;(<a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&nbsp;target,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item,
int&nbsp;accuracy)</pre>
<div class="block">Instructs the NPC to shoot an item at a target.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>target</code> - the target entity.</dd>
<dd><code>item</code> - the item to shoot.</dd>
<dd><code>accuracy</code> - the accuracy of the shot (0–100).</dd>
</dl>
</li>
</ul>
<a id="setProjectilesKeepTerrain(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProjectilesKeepTerrain</h4>
<pre class="methodSignature">void&nbsp;setProjectilesKeepTerrain&#8203;(boolean&nbsp;b)</pre>
<div class="block">Sets whether projectiles fired by the NPC should ignore terrain collisions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>b</code> - true if projectiles keep terrain, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getProjectilesKeepTerrain()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProjectilesKeepTerrain</h4>
<pre class="methodSignature">boolean&nbsp;getProjectilesKeepTerrain()</pre>
<div class="block">Returns whether projectiles fired by the NPC ignore terrain collisions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if they ignore terrain, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="say(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>say</h4>
<pre class="methodSignature">void&nbsp;say&#8203;(java.lang.String&nbsp;message)</pre>
<div class="block">Makes the NPC broadcast a message.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>message</code> - the message to say.</dd>
</dl>
</li>
</ul>
<a id="say(noppes.npcs.api.entity.IPlayer,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>say</h4>
<pre class="methodSignature">void&nbsp;say&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
java.lang.String&nbsp;message)</pre>
<div class="block">Makes the NPC send a message to a specific player.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>player</code> - the target player.</dd>
<dd><code>message</code> - the message to say.</dd>
</dl>
</li>
</ul>
<a id="getDialog(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDialog</h4>
<pre class="methodSignature"><a href="../handler/data/IDialog.html" title="interface in noppes.npcs.api.handler.data">IDialog</a>&nbsp;getDialog&#8203;(int&nbsp;slot)</pre>
<div class="block">Retrieves the dialog from the specified slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the dialog slot.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the dialog instance.</dd>
</dl>
</li>
</ul>
<a id="getDialogId(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDialogId</h4>
<pre class="methodSignature">int&nbsp;getDialogId&#8203;(int&nbsp;slot)</pre>
<div class="block">Returns the dialog ID in the specified slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the dialog slot.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the dialog ID, or -1 if none exists.</dd>
</dl>
</li>
</ul>
<a id="setDialog(int,noppes.npcs.api.handler.data.IDialog)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDialog</h4>
<pre class="methodSignature">void&nbsp;setDialog&#8203;(int&nbsp;slot,
<a href="../handler/data/IDialog.html" title="interface in noppes.npcs.api.handler.data">IDialog</a>&nbsp;dialog)</pre>
<div class="block">Sets the dialog for the specified slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the dialog slot.</dd>
<dd><code>dialog</code> - the dialog instance.</dd>
</dl>
</li>
</ul>
<a id="setDialog(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDialog</h4>
<pre class="methodSignature">void&nbsp;setDialog&#8203;(int&nbsp;slot,
int&nbsp;dialogId)</pre>
<div class="block">Sets the dialog for the specified slot by its ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the dialog slot.</dd>
<dd><code>dialogId</code> - the dialog ID.</dd>
</dl>
</li>
</ul>
<a id="getInteractLines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInteractLines</h4>
<pre class="methodSignature"><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a>&nbsp;getInteractLines()</pre>
<div class="block">Returns the lines used for NPC interaction.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the interact lines.</dd>
</dl>
</li>
</ul>
<a id="getWorldLines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorldLines</h4>
<pre class="methodSignature"><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a>&nbsp;getWorldLines()</pre>
<div class="block">Returns the lines displayed in the world.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the world lines.</dd>
</dl>
</li>
</ul>
<a id="getAttackLines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttackLines</h4>
<pre class="methodSignature"><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a>&nbsp;getAttackLines()</pre>
<div class="block">Returns the lines spoken when the NPC attacks.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the attack lines.</dd>
</dl>
</li>
</ul>
<a id="getKilledLines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKilledLines</h4>
<pre class="methodSignature"><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a>&nbsp;getKilledLines()</pre>
<div class="block">Returns the lines spoken when the NPC is killed.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the killed lines.</dd>
</dl>
</li>
</ul>
<a id="getKillLines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKillLines</h4>
<pre class="methodSignature"><a href="../handler/data/ILines.html" title="interface in noppes.npcs.api.handler.data">ILines</a>&nbsp;getKillLines()</pre>
<div class="block">Returns the lines spoken when the NPC kills another entity.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the kill lines.</dd>
</dl>
</li>
</ul>
<a id="kill()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>kill</h4>
<pre class="methodSignature">void&nbsp;kill()</pre>
<div class="block">Kills the NPC without despawning it.</div>
</li>
</ul>
<a id="reset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre class="methodSignature">void&nbsp;reset()</pre>
<div class="block">Resets the NPC to its initial state and triggers the initialization script.</div>
</li>
</ul>
<a id="getAnimationData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAnimationData</h4>
<pre class="methodSignature"><a href="../handler/data/IAnimationData.html" title="interface in noppes.npcs.api.handler.data">IAnimationData</a>&nbsp;getAnimationData()</pre>
<div class="block">Returns the NPC's animation data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IAnimatable.html#getAnimationData()">getAnimationData</a></code>&nbsp;in interface&nbsp;<code><a href="IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the animation data.</dd>
</dl>
</li>
</ul>
<a id="getRole()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRole</h4>
<pre class="methodSignature"><a href="../roles/IRole.html" title="interface in noppes.npcs.api.roles">IRole</a>&nbsp;getRole()</pre>
<div class="block">Returns the NPC's current role.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the role instance.</dd>
</dl>
</li>
</ul>
<a id="setRole(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRole</h4>
<pre class="methodSignature">void&nbsp;setRole&#8203;(int&nbsp;role)</pre>
<div class="block">Sets the NPC's role by its ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>role</code> - the role ID.</dd>
</dl>
</li>
</ul>
<a id="getJob()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJob</h4>
<pre class="methodSignature"><a href="../jobs/IJob.html" title="interface in noppes.npcs.api.jobs">IJob</a>&nbsp;getJob()</pre>
<div class="block">Returns the NPC's current job.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the job instance.</dd>
</dl>
</li>
</ul>
<a id="setJob(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJob</h4>
<pre class="methodSignature">void&nbsp;setJob&#8203;(int&nbsp;job)</pre>
<div class="block">Sets the NPC's job by its ID.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - the job ID.</dd>
</dl>
</li>
</ul>
<a id="getRightItem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRightItem</h4>
<pre class="methodSignature"><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getRightItem()</pre>
<div class="block">Returns the item held in the NPC's right hand.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the right-hand item.</dd>
</dl>
</li>
</ul>
<a id="setRightItem(noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRightItem</h4>
<pre class="methodSignature">void&nbsp;setRightItem&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Sets the item held in the NPC's right hand.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - the new item.</dd>
</dl>
</li>
</ul>
<a id="getLefttItem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLefttItem</h4>
<pre class="methodSignature">@Deprecated
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getLefttItem()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">(Deprecated) Returns the item held in the NPC's left hand.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the left-hand item.</dd>
</dl>
</li>
</ul>
<a id="getLeftItem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLeftItem</h4>
<pre class="methodSignature"><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getLeftItem()</pre>
<div class="block">Returns the item held in the NPC's left hand.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the left-hand item.</dd>
</dl>
</li>
</ul>
<a id="setLeftItem(noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLeftItem</h4>
<pre class="methodSignature">void&nbsp;setLeftItem&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Sets the item held in the NPC's left hand.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - the new item.</dd>
</dl>
</li>
</ul>
<a id="getProjectileItem()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProjectileItem</h4>
<pre class="methodSignature"><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getProjectileItem()</pre>
<div class="block">Returns the projectile item used by the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the projectile item.</dd>
</dl>
</li>
</ul>
<a id="setProjectileItem(noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setProjectileItem</h4>
<pre class="methodSignature">void&nbsp;setProjectileItem&#8203;(<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Sets the projectile item for the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - the new projectile item.</dd>
</dl>
</li>
</ul>
<a id="canAimWhileShooting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canAimWhileShooting</h4>
<pre class="methodSignature">@Deprecated
boolean&nbsp;canAimWhileShooting()</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Checks if the NPC can aim while shooting.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if aiming while shooting is enabled, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="aimWhileShooting(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aimWhileShooting</h4>
<pre class="methodSignature">@Deprecated
void&nbsp;aimWhileShooting&#8203;(boolean&nbsp;aimWhileShooting)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">Sets whether the NPC can aim while shooting.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aimWhileShooting</code> - true to enable aiming, false to disable.</dd>
</dl>
</li>
</ul>
<a id="setAimType(byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAimType</h4>
<pre class="methodSignature">void&nbsp;setAimType&#8203;(byte&nbsp;aimWhileShooting)</pre>
<div class="block">Sets the Aim Type for an NPC</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aimWhileShooting</code> - 0: No, 1: Yes, 2: On Shot</dd>
</dl>
</li>
</ul>
<a id="getAimType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAimType</h4>
<pre class="methodSignature">byte&nbsp;getAimType()</pre>
<div class="block">Gets the Aim Type for an NPC</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>0: No, 1: Yes, 2: On Shot</dd>
</dl>
</li>
</ul>
<a id="setMinProjectileDelay(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinProjectileDelay</h4>
<pre class="methodSignature">void&nbsp;setMinProjectileDelay&#8203;(int&nbsp;minDelay)</pre>
<div class="block">Sets the minimum delay (in ticks) between projectiles.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minDelay</code> - the minimum delay.</dd>
</dl>
</li>
</ul>
<a id="getMinProjectileDelay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinProjectileDelay</h4>
<pre class="methodSignature">int&nbsp;getMinProjectileDelay()</pre>
<div class="block">Returns the minimum projectile delay.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum delay in ticks.</dd>
</dl>
</li>
</ul>
<a id="setMaxProjectileDelay(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxProjectileDelay</h4>
<pre class="methodSignature">void&nbsp;setMaxProjectileDelay&#8203;(int&nbsp;maxDelay)</pre>
<div class="block">Sets the maximum delay (in ticks) between projectiles.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxDelay</code> - the maximum delay.</dd>
</dl>
</li>
</ul>
<a id="getMaxProjectileDelay()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxProjectileDelay</h4>
<pre class="methodSignature">int&nbsp;getMaxProjectileDelay()</pre>
<div class="block">Returns the maximum projectile delay.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum delay in ticks.</dd>
</dl>
</li>
</ul>
<a id="setRangedRange(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRangedRange</h4>
<pre class="methodSignature">void&nbsp;setRangedRange&#8203;(int&nbsp;rangedRange)</pre>
<div class="block">Sets the range for ranged attacks.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rangedRange</code> - the ranged attack range.</dd>
</dl>
</li>
</ul>
<a id="getRangedRange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangedRange</h4>
<pre class="methodSignature">int&nbsp;getRangedRange()</pre>
<div class="block">Returns the range for ranged attacks.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ranged attack range.</dd>
</dl>
</li>
</ul>
<a id="setFireRate(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFireRate</h4>
<pre class="methodSignature">void&nbsp;setFireRate&#8203;(int&nbsp;rate)</pre>
<div class="block">Sets the fire rate for ranged attacks.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rate</code> - the fire rate in ticks.</dd>
</dl>
</li>
</ul>
<a id="getFireRate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFireRate</h4>
<pre class="methodSignature">int&nbsp;getFireRate()</pre>
<div class="block">Returns the fire rate for ranged attacks.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fire rate.</dd>
</dl>
</li>
</ul>
<a id="setBurstCount(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBurstCount</h4>
<pre class="methodSignature">void&nbsp;setBurstCount&#8203;(int&nbsp;burstCount)</pre>
<div class="block">Sets the number of shots in a burst.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>burstCount</code> - the burst count.</dd>
</dl>
</li>
</ul>
<a id="getBurstCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBurstCount</h4>
<pre class="methodSignature">int&nbsp;getBurstCount()</pre>
<div class="block">Returns the number of shots in a burst.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the burst count.</dd>
</dl>
</li>
</ul>
<a id="setShotCount(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShotCount</h4>
<pre class="methodSignature">void&nbsp;setShotCount&#8203;(int&nbsp;shotCount)</pre>
<div class="block">Sets the number of shots fired.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>shotCount</code> - the shot count.</dd>
</dl>
</li>
</ul>
<a id="getShotCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShotCount</h4>
<pre class="methodSignature">int&nbsp;getShotCount()</pre>
<div class="block">Returns the number of shots fired.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the shot count.</dd>
</dl>
</li>
</ul>
<a id="setAccuracy(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAccuracy</h4>
<pre class="methodSignature">void&nbsp;setAccuracy&#8203;(int&nbsp;accuracy)</pre>
<div class="block">Sets the shooting accuracy.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>accuracy</code> - the accuracy (0–100).</dd>
</dl>
</li>
</ul>
<a id="getAccuracy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccuracy</h4>
<pre class="methodSignature">int&nbsp;getAccuracy()</pre>
<div class="block">Returns the shooting accuracy.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the accuracy value.</dd>
</dl>
</li>
</ul>
<a id="getFireSound()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFireSound</h4>
<pre class="methodSignature">java.lang.String&nbsp;getFireSound()</pre>
<div class="block">Returns the sound directory played when a projectile is fired.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fire sound directory.</dd>
</dl>
</li>
</ul>
<a id="setFireSound(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFireSound</h4>
<pre class="methodSignature">void&nbsp;setFireSound&#8203;(java.lang.String&nbsp;fireSound)</pre>
<div class="block">Sets the sound directory for projectile firing.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fireSound</code> - the new fire sound directory.</dd>
</dl>
</li>
</ul>
<a id="getArmor(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getArmor</h4>
<pre class="methodSignature"><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getArmor&#8203;(int&nbsp;slot)</pre>
<div class="block">Returns the armor item in the specified slot.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#getArmor(int)">getArmor</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the armor slot (0: head, 1: body, 2: legs, 3: boots).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the armor item.</dd>
</dl>
</li>
</ul>
<a id="setArmor(int,noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setArmor</h4>
<pre class="methodSignature">void&nbsp;setArmor&#8203;(int&nbsp;slot,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Sets the armor item in the specified slot.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#setArmor(int,noppes.npcs.api.item.IItemStack)">setArmor</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the armor slot (0: head, 1: body, 2: legs, 3: boots).</dd>
<dd><code>item</code> - the armor item.</dd>
</dl>
</li>
</ul>
<a id="getLootItem(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLootItem</h4>
<pre class="methodSignature"><a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;getLootItem&#8203;(int&nbsp;slot)</pre>
<div class="block">Returns the loot item from the NPC's drop list for the given slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the loot slot (0–8).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the loot item.</dd>
</dl>
</li>
</ul>
<a id="setLootItem(int,noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLootItem</h4>
<pre class="methodSignature">void&nbsp;setLootItem&#8203;(int&nbsp;slot,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Sets the loot item in the NPC's drop list for the given slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the loot slot (0–8).</dd>
<dd><code>item</code> - the new loot item.</dd>
</dl>
</li>
</ul>
<a id="getLootChance(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLootChance</h4>
<pre class="methodSignature">double&nbsp;getLootChance&#8203;(int&nbsp;slot)</pre>
<div class="block">Returns the chance for the loot item in the specified slot to drop.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the loot slot (0–8).</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the drop chance (default 100 if not set).</dd>
</dl>
</li>
</ul>
<a id="setLootChance(int,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLootChance</h4>
<pre class="methodSignature">void&nbsp;setLootChance&#8203;(int&nbsp;slot,
double&nbsp;chance)</pre>
<div class="block">Sets the drop chance for the loot item in the specified slot.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>slot</code> - the loot slot (0–8).</dd>
<dd><code>chance</code> - the new drop chance.</dd>
</dl>
</li>
</ul>
<a id="getLootMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLootMode</h4>
<pre class="methodSignature">int&nbsp;getLootMode()</pre>
<div class="block">Returns the NPC's loot mode.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the loot mode (0: Normal, 1: Auto Pickup).</dd>
</dl>
</li>
</ul>
<a id="setLootMode(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLootMode</h4>
<pre class="methodSignature">void&nbsp;setLootMode&#8203;(int&nbsp;lootMode)</pre>
<div class="block">Sets the NPC's loot mode.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lootMode</code> - the loot mode (0: Normal, 1: Auto Pickup).</dd>
</dl>
</li>
</ul>
<a id="setMinLootXP(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinLootXP</h4>
<pre class="methodSignature">void&nbsp;setMinLootXP&#8203;(int&nbsp;lootXP)</pre>
<div class="block">Sets the minimum XP dropped by the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lootXP</code> - the minimum loot XP.</dd>
</dl>
</li>
</ul>
<a id="setMaxLootXP(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxLootXP</h4>
<pre class="methodSignature">void&nbsp;setMaxLootXP&#8203;(int&nbsp;lootXP)</pre>
<div class="block">Sets the maximum XP dropped by the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lootXP</code> - the maximum loot XP.</dd>
</dl>
</li>
</ul>
<a id="getMinLootXP()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinLootXP</h4>
<pre class="methodSignature">int&nbsp;getMinLootXP()</pre>
<div class="block">Returns the minimum XP dropped by the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum loot XP.</dd>
</dl>
</li>
</ul>
<a id="getMaxLootXP()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxLootXP</h4>
<pre class="methodSignature">int&nbsp;getMaxLootXP()</pre>
<div class="block">Returns the maximum XP dropped by the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the maximum loot XP.</dd>
</dl>
</li>
</ul>
<a id="getCanDrown()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCanDrown</h4>
<pre class="methodSignature">boolean&nbsp;getCanDrown()</pre>
<div class="block">Returns whether the NPC can drown.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the NPC can drown, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setDrowningType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDrowningType</h4>
<pre class="methodSignature">void&nbsp;setDrowningType&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the drowning behavior of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - 0: Never drowns, 1: Drowns in water, 2: Drowns in air (without water).</dd>
</dl>
</li>
</ul>
<a id="canBreathe()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canBreathe</h4>
<pre class="methodSignature">boolean&nbsp;canBreathe()</pre>
<div class="block">Returns whether the NPC can breathe.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the NPC can breathe, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setAnimation(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAnimation</h4>
<pre class="methodSignature">void&nbsp;setAnimation&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the NPC's animation type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the animation type.</dd>
</dl>
</li>
</ul>
<a id="setTacticalVariant(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTacticalVariant</h4>
<pre class="methodSignature">void&nbsp;setTacticalVariant&#8203;(int&nbsp;variant)</pre>
<div class="block">Sets the NPC's tactical variant.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>variant</code> - the tactical variant (0: Rush, 1: Dodge, 2: Surround, 3: Hit N Run, 4: Ambush, 5: Stalk, 6: None).</dd>
</dl>
</li>
</ul>
<a id="getTacticalVariant()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTacticalVariant</h4>
<pre class="methodSignature">int&nbsp;getTacticalVariant()</pre>
<div class="block">Returns the NPC's tactical variant.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the tactical variant as an integer.</dd>
</dl>
</li>
</ul>
<a id="setTacticalVariant(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTacticalVariant</h4>
<pre class="methodSignature">void&nbsp;setTacticalVariant&#8203;(java.lang.String&nbsp;variant)</pre>
<div class="block">Sets the NPC's tactical variant by its name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>variant</code> - the name of the tactical variant.</dd>
</dl>
</li>
</ul>
<a id="getTacticalVariantName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTacticalVariantName</h4>
<pre class="methodSignature">java.lang.String&nbsp;getTacticalVariantName()</pre>
<div class="block">Returns the name of the NPC's tactical variant.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the tactical variant name.</dd>
</dl>
</li>
</ul>
<a id="getCombatPolicyName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCombatPolicyName</h4>
<pre class="methodSignature">java.lang.String&nbsp;getCombatPolicyName()</pre>
<div class="block">Returns the name of the NPC's combat policy.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the combat policy name.</dd>
</dl>
</li>
</ul>
<a id="setCombatPolicy(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCombatPolicy</h4>
<pre class="methodSignature">void&nbsp;setCombatPolicy&#8203;(int&nbsp;policy)</pre>
<div class="block">Sets the NPC's combat policy.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>policy</code> - the combat policy (0: Flip, 1: Brute, 2: Stubborn, 4: Tactical).</dd>
</dl>
</li>
</ul>
<a id="getCombatPolicy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCombatPolicy</h4>
<pre class="methodSignature">int&nbsp;getCombatPolicy()</pre>
<div class="block">Returns the NPC's combat policy.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the combat policy as an integer.</dd>
</dl>
</li>
</ul>
<a id="setCombatPolicy(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCombatPolicy</h4>
<pre class="methodSignature">void&nbsp;setCombatPolicy&#8203;(java.lang.String&nbsp;policy)</pre>
<div class="block">Sets the NPC's combat policy by name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>policy</code> - the combat policy name.</dd>
</dl>
</li>
</ul>
<a id="setTacticalRadius(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTacticalRadius</h4>
<pre class="methodSignature">void&nbsp;setTacticalRadius&#8203;(int&nbsp;tacticalRadius)</pre>
<div class="block">Sets the tactical radius affecting NPC behavior.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>tacticalRadius</code> - the tactical radius.</dd>
</dl>
</li>
</ul>
<a id="getTacticalRadius()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTacticalRadius</h4>
<pre class="methodSignature">int&nbsp;getTacticalRadius()</pre>
<div class="block">Returns the tactical radius affecting NPC behavior.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the tactical radius.</dd>
</dl>
</li>
</ul>
<a id="setIgnoreCobweb(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIgnoreCobweb</h4>
<pre class="methodSignature">void&nbsp;setIgnoreCobweb&#8203;(boolean&nbsp;ignore)</pre>
<div class="block">Sets whether the NPC ignores cobwebs.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ignore</code> - true to ignore cobwebs, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getIgnoreCobweb()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIgnoreCobweb</h4>
<pre class="methodSignature">boolean&nbsp;getIgnoreCobweb()</pre>
<div class="block">Returns whether the NPC ignores cobwebs.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if cobwebs are ignored, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setOnFoundEnemy(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnFoundEnemy</h4>
<pre class="methodSignature">void&nbsp;setOnFoundEnemy&#8203;(int&nbsp;onAttack)</pre>
<div class="block">Sets the NPC's behavior when encountering an enemy.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>onAttack</code> - 0: Retaliate, 1: Panic, 2: Retreat, 3: Nothing.</dd>
</dl>
</li>
</ul>
<a id="onFoundEnemy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onFoundEnemy</h4>
<pre class="methodSignature">int&nbsp;onFoundEnemy()</pre>
<div class="block">Returns the NPC's behavior when encountering an enemy.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an integer representing the behavior (0: Retaliate, 1: Panic, 2: Retreat, 3: Nothing).</dd>
</dl>
</li>
</ul>
<a id="setShelterFrom(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShelterFrom</h4>
<pre class="methodSignature">void&nbsp;setShelterFrom&#8203;(int&nbsp;shelterFrom)</pre>
<div class="block">Sets the condition under which the NPC seeks shelter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>shelterFrom</code> - 0: Darkness, 1: Sunlight, 2: Disabled.</dd>
</dl>
</li>
</ul>
<a id="getShelterFrom()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShelterFrom</h4>
<pre class="methodSignature">int&nbsp;getShelterFrom()</pre>
<div class="block">Returns the condition under which the NPC seeks shelter.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an integer representing the shelter condition (0: Darkness, 1: Sunlight, 2: Disabled).</dd>
</dl>
</li>
</ul>
<a id="hasLivingAnimation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasLivingAnimation</h4>
<pre class="methodSignature">boolean&nbsp;hasLivingAnimation()</pre>
<div class="block">Returns whether the NPC has a living animation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if living animation is enabled, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setLivingAnimation(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLivingAnimation</h4>
<pre class="methodSignature">void&nbsp;setLivingAnimation&#8203;(boolean&nbsp;livingAnimation)</pre>
<div class="block">Sets whether the NPC has a living animation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>livingAnimation</code> - true to enable living animation, false to disable.</dd>
</dl>
</li>
</ul>
<a id="setVisibleType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisibleType</h4>
<pre class="methodSignature">void&nbsp;setVisibleType&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the visibility type of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the visibility type (0: visible, 1: invisible, 2: semi-visible).</dd>
</dl>
</li>
</ul>
<a id="getVisibleType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVisibleType</h4>
<pre class="methodSignature">int&nbsp;getVisibleType()</pre>
<div class="block">Returns the visibility type of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the visibility type.</dd>
</dl>
</li>
</ul>
<a id="setVisibleTo(noppes.npcs.api.entity.IPlayer,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisibleTo</h4>
<pre class="methodSignature">void&nbsp;setVisibleTo&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
boolean&nbsp;visible)</pre>
<div class="block">Sets whether the NPC is visible to a specific player.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>player</code> - the player.</dd>
<dd><code>visible</code> - true if the NPC should be visible, false if invisible.</dd>
</dl>
</li>
</ul>
<a id="isVisibleTo(noppes.npcs.api.entity.IPlayer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVisibleTo</h4>
<pre class="methodSignature">boolean&nbsp;isVisibleTo&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player)</pre>
<div class="block">Checks if the NPC is visible to a specific player.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>player</code> - the player.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the NPC is visible, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setShowName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShowName</h4>
<pre class="methodSignature">void&nbsp;setShowName&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the visibility type of the NPC's name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the visibility type (0: visible, 1: invisible, 2: when attacking).</dd>
</dl>
</li>
</ul>
<a id="getShowName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShowName</h4>
<pre class="methodSignature">int&nbsp;getShowName()</pre>
<div class="block">Returns the visibility type of the NPC's name.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the name visibility type.</dd>
</dl>
</li>
</ul>
<a id="getShowBossBar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShowBossBar</h4>
<pre class="methodSignature">int&nbsp;getShowBossBar()</pre>
<div class="block">Returns the visibility type of the NPC's boss bar.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the boss bar visibility (0: invisible, 1: visible, 2: when attacking).</dd>
</dl>
</li>
</ul>
<a id="setShowBossBar(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShowBossBar</h4>
<pre class="methodSignature">void&nbsp;setShowBossBar&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the visibility type of the NPC's boss bar.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the boss bar visibility (0: invisible, 1: visible, 2: when attacking).</dd>
</dl>
</li>
</ul>
<a id="getMeleeStrength()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMeleeStrength</h4>
<pre class="methodSignature">double&nbsp;getMeleeStrength()</pre>
<div class="block">Returns the melee strength of the NPC.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#getMeleeStrength()">getMeleeStrength</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the melee strength.</dd>
</dl>
</li>
</ul>
<a id="setMeleeStrength(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMeleeStrength</h4>
<pre class="methodSignature">void&nbsp;setMeleeStrength&#8203;(double&nbsp;strength)</pre>
<div class="block">Sets the melee strength of the NPC.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#setMeleeStrength(double)">setMeleeStrength</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>strength</code> - the new melee strength.</dd>
</dl>
</li>
</ul>
<a id="getMeleeSpeed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMeleeSpeed</h4>
<pre class="methodSignature">int&nbsp;getMeleeSpeed()</pre>
<div class="block">Returns the melee speed of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the melee speed.</dd>
</dl>
</li>
</ul>
<a id="setMeleeSpeed(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMeleeSpeed</h4>
<pre class="methodSignature">void&nbsp;setMeleeSpeed&#8203;(int&nbsp;speed)</pre>
<div class="block">Sets the melee speed of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>speed</code> - the new melee speed.</dd>
</dl>
</li>
</ul>
<a id="getMeleeRange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMeleeRange</h4>
<pre class="methodSignature">int&nbsp;getMeleeRange()</pre>
<div class="block">Returns the melee range of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the melee range.</dd>
</dl>
</li>
</ul>
<a id="setMeleeRange(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMeleeRange</h4>
<pre class="methodSignature">void&nbsp;setMeleeRange&#8203;(int&nbsp;range)</pre>
<div class="block">Sets the melee range of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>range</code> - the new melee range.</dd>
</dl>
</li>
</ul>
<a id="getSwingWarmup()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSwingWarmup</h4>
<pre class="methodSignature">int&nbsp;getSwingWarmup()</pre>
<div class="block">Returns the swing warmup time (in ticks) before melee damage is applied.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the swing warmup time.</dd>
</dl>
</li>
</ul>
<a id="setSwingWarmup(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSwingWarmup</h4>
<pre class="methodSignature">void&nbsp;setSwingWarmup&#8203;(int&nbsp;ticks)</pre>
<div class="block">Sets the swing warmup time (in ticks) before melee damage is applied.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ticks</code> - the warmup time.</dd>
</dl>
</li>
</ul>
<a id="getKnockback()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKnockback</h4>
<pre class="methodSignature">int&nbsp;getKnockback()</pre>
<div class="block">Returns the knockback strength of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the knockback strength.</dd>
</dl>
</li>
</ul>
<a id="setKnockback(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKnockback</h4>
<pre class="methodSignature">void&nbsp;setKnockback&#8203;(int&nbsp;knockback)</pre>
<div class="block">Sets the knockback strength of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>knockback</code> - the new knockback strength.</dd>
</dl>
</li>
</ul>
<a id="getAggroRange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAggroRange</h4>
<pre class="methodSignature">int&nbsp;getAggroRange()</pre>
<div class="block">Returns the aggro range of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the aggro range.</dd>
</dl>
</li>
</ul>
<a id="setAggroRange(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAggroRange</h4>
<pre class="methodSignature">void&nbsp;setAggroRange&#8203;(int&nbsp;aggroRange)</pre>
<div class="block">Sets the aggro range of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aggroRange</code> - the new aggro range.</dd>
</dl>
</li>
</ul>
<a id="getRangedStrength()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangedStrength</h4>
<pre class="methodSignature">float&nbsp;getRangedStrength()</pre>
<div class="block">Returns the ranged attack strength of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ranged strength.</dd>
</dl>
</li>
</ul>
<a id="setRangedStrength(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRangedStrength</h4>
<pre class="methodSignature">void&nbsp;setRangedStrength&#8203;(float&nbsp;strength)</pre>
<div class="block">Sets the ranged attack strength of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>strength</code> - the new ranged strength.</dd>
</dl>
</li>
</ul>
<a id="getRangedSpeed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangedSpeed</h4>
<pre class="methodSignature">int&nbsp;getRangedSpeed()</pre>
<div class="block">Returns the ranged attack speed of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the ranged speed.</dd>
</dl>
</li>
</ul>
<a id="setRangedSpeed(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRangedSpeed</h4>
<pre class="methodSignature">void&nbsp;setRangedSpeed&#8203;(int&nbsp;speed)</pre>
<div class="block">Sets the ranged attack speed of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>speed</code> - the new ranged speed.</dd>
</dl>
</li>
</ul>
<a id="getRangedBurst()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangedBurst</h4>
<pre class="methodSignature">int&nbsp;getRangedBurst()</pre>
<div class="block">Returns the number of projectiles in a ranged burst attack.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the burst count.</dd>
</dl>
</li>
</ul>
<a id="setRangedBurst(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRangedBurst</h4>
<pre class="methodSignature">void&nbsp;setRangedBurst&#8203;(int&nbsp;count)</pre>
<div class="block">Sets the number of projectiles in a ranged burst attack.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>count</code> - the new burst count.</dd>
</dl>
</li>
</ul>
<a id="getRespawnTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRespawnTime</h4>
<pre class="methodSignature">int&nbsp;getRespawnTime()</pre>
<div class="block">Returns the number of ticks before the NPC respawns.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the respawn time.</dd>
</dl>
</li>
</ul>
<a id="setRespawnTime(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRespawnTime</h4>
<pre class="methodSignature">void&nbsp;setRespawnTime&#8203;(int&nbsp;time)</pre>
<div class="block">Sets the number of ticks before the NPC respawns.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>time</code> - the respawn time.</dd>
</dl>
</li>
</ul>
<a id="getRespawnCycle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRespawnCycle</h4>
<pre class="methodSignature">int&nbsp;getRespawnCycle()</pre>
<div class="block">Returns the NPC's respawn cycle.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the respawn cycle (0: Always, 1: Day, 2: Night, 3: No respawn).</dd>
</dl>
</li>
</ul>
<a id="setRespawnCycle(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRespawnCycle</h4>
<pre class="methodSignature">void&nbsp;setRespawnCycle&#8203;(int&nbsp;cycle)</pre>
<div class="block">Sets the NPC's respawn cycle.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cycle</code> - the respawn cycle (0: Always, 1: Day, 2: Night, 3: No respawn).</dd>
</dl>
</li>
</ul>
<a id="getHideKilledBody()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHideKilledBody</h4>
<pre class="methodSignature">boolean&nbsp;getHideKilledBody()</pre>
<div class="block">Returns whether the NPC's body is hidden upon death.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the body is hidden, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="hideKilledBody(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hideKilledBody</h4>
<pre class="methodSignature">void&nbsp;hideKilledBody&#8203;(boolean&nbsp;hide)</pre>
<div class="block">Sets whether the NPC's body should be hidden upon death.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hide</code> - true to hide the body, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="naturallyDespawns()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>naturallyDespawns</h4>
<pre class="methodSignature">boolean&nbsp;naturallyDespawns()</pre>
<div class="block">Returns whether the NPC naturally despawns.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it naturally despawns, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setNaturallyDespawns(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNaturallyDespawns</h4>
<pre class="methodSignature">void&nbsp;setNaturallyDespawns&#8203;(boolean&nbsp;canDespawn)</pre>
<div class="block">Sets whether the NPC should naturally despawn.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>canDespawn</code> - true to allow natural despawning, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="spawnedFromSoulStone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spawnedFromSoulStone</h4>
<pre class="methodSignature">boolean&nbsp;spawnedFromSoulStone()</pre>
<div class="block">Returns whether the NPC was spawned using a soul stone.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if spawned from a soul stone, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getSoulStonePlayerName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSoulStonePlayerName</h4>
<pre class="methodSignature">java.lang.String&nbsp;getSoulStonePlayerName()</pre>
<div class="block">Returns the name of the player who spawned this NPC using a soul stone.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the player's name, or null if not spawned by soul stone.</dd>
</dl>
</li>
</ul>
<a id="isSoulStoneInit()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSoulStoneInit</h4>
<pre class="methodSignature">boolean&nbsp;isSoulStoneInit()</pre>
<div class="block">Returns whether the NPC has been initialized after a soul stone spawn.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if initialized, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="getRefuseSoulStone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefuseSoulStone</h4>
<pre class="methodSignature">boolean&nbsp;getRefuseSoulStone()</pre>
<div class="block">Returns whether the NPC refuses to be captured by a soul stone.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it refuses, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setRefuseSoulStone(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRefuseSoulStone</h4>
<pre class="methodSignature">void&nbsp;setRefuseSoulStone&#8203;(boolean&nbsp;refuse)</pre>
<div class="block">Sets whether the NPC refuses to be captured by a soul stone.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>refuse</code> - true to refuse, false to allow.</dd>
</dl>
</li>
</ul>
<a id="getMinPointsToSoulStone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinPointsToSoulStone</h4>
<pre class="methodSignature">int&nbsp;getMinPointsToSoulStone()</pre>
<div class="block">Returns the minimum faction points required to capture the NPC with a soul stone.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the minimum points (default -1 means use the faction's friendly points).</dd>
</dl>
</li>
</ul>
<a id="setMinPointsToSoulStone(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinPointsToSoulStone</h4>
<pre class="methodSignature">void&nbsp;setMinPointsToSoulStone&#8203;(int&nbsp;points)</pre>
<div class="block">Sets the minimum faction points required to capture the NPC with a soul stone.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>points</code> - the minimum faction points.</dd>
</dl>
</li>
</ul>
<a id="giveItem(noppes.npcs.api.entity.IPlayer,noppes.npcs.api.item.IItemStack)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>giveItem</h4>
<pre class="methodSignature">void&nbsp;giveItem&#8203;(<a href="IPlayer.html" title="interface in noppes.npcs.api.entity">IPlayer</a>&nbsp;player,
<a href="../item/IItemStack.html" title="interface in noppes.npcs.api.item">IItemStack</a>&nbsp;item)</pre>
<div class="block">Gives an item to the specified player.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>player</code> - the recipient.</dd>
<dd><code>item</code> - the item to give.</dd>
</dl>
</li>
</ul>
<a id="executeCommand(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeCommand</h4>
<pre class="methodSignature">void&nbsp;executeCommand&#8203;(java.lang.String&nbsp;command)</pre>
<div class="block">Executes a command as the NPC.
<p>
Note: On servers the enable-command-block option must be set to true.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - the command to execute.</dd>
</dl>
</li>
</ul>
<a id="getModelData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModelData</h4>
<pre class="methodSignature"><a href="data/IModelData.html" title="interface in noppes.npcs.api.entity.data">IModelData</a>&nbsp;getModelData()</pre>
<div class="block">Returns the model data associated with the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the model data, or null if not available.</dd>
</dl>
</li>
</ul>
<a id="setHeadScale(float,float,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeadScale</h4>
<pre class="methodSignature">@Deprecated
void&nbsp;setHeadScale&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">(Deprecated) Sets the head scale of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - scale factor along the X-axis.</dd>
<dd><code>y</code> - scale factor along the Y-axis.</dd>
<dd><code>z</code> - scale factor along the Z-axis.</dd>
</dl>
</li>
</ul>
<a id="setBodyScale(float,float,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBodyScale</h4>
<pre class="methodSignature">@Deprecated
void&nbsp;setBodyScale&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">(Deprecated) Sets the body scale of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - scale factor along the X-axis.</dd>
<dd><code>y</code> - scale factor along the Y-axis.</dd>
<dd><code>z</code> - scale factor along the Z-axis.</dd>
</dl>
</li>
</ul>
<a id="setArmsScale(float,float,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setArmsScale</h4>
<pre class="methodSignature">@Deprecated
void&nbsp;setArmsScale&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">(Deprecated) Sets the arms scale of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - scale factor along the X-axis.</dd>
<dd><code>y</code> - scale factor along the Y-axis.</dd>
<dd><code>z</code> - scale factor along the Z-axis.</dd>
</dl>
</li>
</ul>
<a id="setLegsScale(float,float,float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLegsScale</h4>
<pre class="methodSignature">@Deprecated
void&nbsp;setLegsScale&#8203;(float&nbsp;x,
float&nbsp;y,
float&nbsp;z)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span></div>
<div class="block">(Deprecated) Sets the legs scale of the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - scale factor along the X-axis.</dd>
<dd><code>y</code> - scale factor along the Y-axis.</dd>
<dd><code>z</code> - scale factor along the Z-axis.</dd>
</dl>
</li>
</ul>
<a id="setExplosionResistance(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExplosionResistance</h4>
<pre class="methodSignature">void&nbsp;setExplosionResistance&#8203;(float&nbsp;resistance)</pre>
<div class="block">Sets the NPC's explosion resistance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resistance</code> - the resistance (0–2, default is 1).</dd>
</dl>
</li>
</ul>
<a id="getExplosionResistance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExplosionResistance</h4>
<pre class="methodSignature">float&nbsp;getExplosionResistance()</pre>
<div class="block">Returns the NPC's explosion resistance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the explosion resistance.</dd>
</dl>
</li>
</ul>
<a id="setMeleeResistance(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMeleeResistance</h4>
<pre class="methodSignature">void&nbsp;setMeleeResistance&#8203;(float&nbsp;resistance)</pre>
<div class="block">Sets the NPC's melee resistance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resistance</code> - the resistance (0–2, default is 1).</dd>
</dl>
</li>
</ul>
<a id="getMeleeResistance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMeleeResistance</h4>
<pre class="methodSignature">float&nbsp;getMeleeResistance()</pre>
<div class="block">Returns the NPC's melee resistance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the melee resistance.</dd>
</dl>
</li>
</ul>
<a id="setArrowResistance(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setArrowResistance</h4>
<pre class="methodSignature">void&nbsp;setArrowResistance&#8203;(float&nbsp;resistance)</pre>
<div class="block">Sets the NPC's arrow resistance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resistance</code> - the resistance (0–2, default is 1).</dd>
</dl>
</li>
</ul>
<a id="getArrowResistance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getArrowResistance</h4>
<pre class="methodSignature">float&nbsp;getArrowResistance()</pre>
<div class="block">Returns the NPC's arrow resistance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the arrow resistance.</dd>
</dl>
</li>
</ul>
<a id="setKnockbackResistance(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKnockbackResistance</h4>
<pre class="methodSignature">void&nbsp;setKnockbackResistance&#8203;(double&nbsp;resistance)</pre>
<div class="block">Sets the NPC's knockback resistance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#setKnockbackResistance(double)">setKnockbackResistance</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resistance</code> - the resistance (0–2, default is 1).</dd>
</dl>
</li>
</ul>
<a id="getKnockbackResistance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKnockbackResistance</h4>
<pre class="methodSignature">double&nbsp;getKnockbackResistance()</pre>
<div class="block">Returns the NPC's knockback resistance.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#getKnockbackResistance()">getKnockbackResistance</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the knockback resistance.</dd>
</dl>
</li>
</ul>
<a id="setRetaliateType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRetaliateType</h4>
<pre class="methodSignature">void&nbsp;setRetaliateType&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the NPC's retaliation type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the retaliation type (0: normal, 1: panic, 2: retreat, 3: nothing).</dd>
</dl>
</li>
</ul>
<a id="getCombatRegen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCombatRegen</h4>
<pre class="methodSignature">float&nbsp;getCombatRegen()</pre>
<div class="block">Returns the NPC's combat health regeneration per second.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the combat regen rate.</dd>
</dl>
</li>
</ul>
<a id="setCombatRegen(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCombatRegen</h4>
<pre class="methodSignature">void&nbsp;setCombatRegen&#8203;(float&nbsp;regen)</pre>
<div class="block">Sets the NPC's combat health regeneration per second.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regen</code> - the combat regen rate.</dd>
</dl>
</li>
</ul>
<a id="getHealthRegen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHealthRegen</h4>
<pre class="methodSignature">float&nbsp;getHealthRegen()</pre>
<div class="block">Returns the NPC's health regeneration per second when not in combat.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the health regen rate.</dd>
</dl>
</li>
</ul>
<a id="setHealthRegen(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHealthRegen</h4>
<pre class="methodSignature">void&nbsp;setHealthRegen&#8203;(float&nbsp;regen)</pre>
<div class="block">Sets the NPC's health regeneration per second when not in combat.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>regen</code> - the health regen rate.</dd>
</dl>
</li>
</ul>
<a id="getAge()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAge</h4>
<pre class="methodSignature">long&nbsp;getAge()</pre>
<div class="block">Returns the age of the NPC in ticks.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntity.html#getAge()">getAge</a></code>&nbsp;in interface&nbsp;<code><a href="IEntity.html" title="interface in noppes.npcs.api.entity">IEntity</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the age.</dd>
</dl>
</li>
</ul>
<a id="getTimers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimers</h4>
<pre class="methodSignature"><a href="../ITimers.html" title="interface in noppes.npcs.api">ITimers</a>&nbsp;getTimers()</pre>
<div class="block">Returns the timers associated with the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the timers.</dd>
</dl>
</li>
</ul>
<a id="setFly(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFly</h4>
<pre class="methodSignature">void&nbsp;setFly&#8203;(int&nbsp;fly)</pre>
<div class="block">Sets the NPC's flying ability.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fly</code> - 1 to enable flying, 0 to disable.</dd>
</dl>
</li>
</ul>
<a id="canFly()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canFly</h4>
<pre class="methodSignature">boolean&nbsp;canFly()</pre>
<div class="block">Returns whether the NPC can fly.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if flying is enabled, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setFlySpeed(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFlySpeed</h4>
<pre class="methodSignature">void&nbsp;setFlySpeed&#8203;(double&nbsp;flySpeed)</pre>
<div class="block">Sets the NPC's flying speed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>flySpeed</code> - the fly speed.</dd>
</dl>
</li>
</ul>
<a id="getFlySpeed(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFlySpeed</h4>
<pre class="methodSignature">double&nbsp;getFlySpeed&#8203;(double&nbsp;unused)</pre>
<div class="block">Returns the NPC's flying speed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>unused</code> - unused parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fly speed.</dd>
</dl>
</li>
</ul>
<a id="setFlyGravity(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFlyGravity</h4>
<pre class="methodSignature">void&nbsp;setFlyGravity&#8203;(double&nbsp;flyGravity)</pre>
<div class="block">Sets the gravity effect on the NPC while flying.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>flyGravity</code> - the fly gravity (0.0–1.0).</dd>
</dl>
</li>
</ul>
<a id="getFlyGravity(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFlyGravity</h4>
<pre class="methodSignature">double&nbsp;getFlyGravity&#8203;(double&nbsp;unused)</pre>
<div class="block">Returns the gravity effect on the NPC while flying.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>unused</code> - unused parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fly gravity.</dd>
</dl>
</li>
</ul>
<a id="setFlyHeightLimit(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFlyHeightLimit</h4>
<pre class="methodSignature">void&nbsp;setFlyHeightLimit&#8203;(int&nbsp;flyHeightLimit)</pre>
<div class="block">Sets the maximum flying height for the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>flyHeightLimit</code> - the height limit.</dd>
</dl>
</li>
</ul>
<a id="getFlyHeightLimit(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFlyHeightLimit</h4>
<pre class="methodSignature">int&nbsp;getFlyHeightLimit&#8203;(int&nbsp;unused)</pre>
<div class="block">Returns the maximum flying height for the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>unused</code> - unused parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fly height limit.</dd>
</dl>
</li>
</ul>
<a id="limitFlyHeight(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>limitFlyHeight</h4>
<pre class="methodSignature">void&nbsp;limitFlyHeight&#8203;(boolean&nbsp;limit)</pre>
<div class="block">Enables or disables flying height limitation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - true to enable limitation, false to disable.</dd>
</dl>
</li>
</ul>
<a id="isFlyHeightLimited(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFlyHeightLimited</h4>
<pre class="methodSignature">boolean&nbsp;isFlyHeightLimited&#8203;(boolean&nbsp;unused)</pre>
<div class="block">Checks if flying height is limited.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>unused</code> - unused parameter.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if limited, false otherwise.</dd>
</dl>
</li>
</ul>
<a id="setSpeed(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpeed</h4>
<pre class="methodSignature">void&nbsp;setSpeed&#8203;(double&nbsp;speed)</pre>
<div class="block">Sets the NPC's walking speed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#setSpeed(double)">setSpeed</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>speed</code> - the walking speed.</dd>
</dl>
</li>
</ul>
<a id="getSpeed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpeed</h4>
<pre class="methodSignature">double&nbsp;getSpeed()</pre>
<div class="block">Returns the NPC's walking speed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="IEntityLivingBase.html#getSpeed()">getSpeed</a></code>&nbsp;in interface&nbsp;<code><a href="IEntityLivingBase.html" title="interface in noppes.npcs.api.entity">IEntityLivingBase</a>&lt;<a href="ICustomNpc.html" title="type parameter in ICustomNpc">T</a> extends net.minecraft.entity.EntityCreature&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the walking speed.</dd>
</dl>
</li>
</ul>
<a id="setSkinType(byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSkinType</h4>
<pre class="methodSignature">void&nbsp;setSkinType&#8203;(byte&nbsp;type)</pre>
<div class="block">Sets the NPC's skin type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the skin type.</dd>
</dl>
</li>
</ul>
<a id="getSkinType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSkinType</h4>
<pre class="methodSignature">byte&nbsp;getSkinType()</pre>
<div class="block">Returns the NPC's skin type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the skin type.</dd>
</dl>
</li>
</ul>
<a id="setSkinUrl(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSkinUrl</h4>
<pre class="methodSignature">void&nbsp;setSkinUrl&#8203;(java.lang.String&nbsp;url)</pre>
<div class="block">Sets the NPC's skin URL.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - the skin URL.</dd>
</dl>
</li>
</ul>
<a id="getSkinUrl()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSkinUrl</h4>
<pre class="methodSignature">java.lang.String&nbsp;getSkinUrl()</pre>
<div class="block">Returns the NPC's skin URL.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the skin URL.</dd>
</dl>
</li>
</ul>
<a id="setCloakTexture(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCloakTexture</h4>
<pre class="methodSignature">void&nbsp;setCloakTexture&#8203;(java.lang.String&nbsp;cloakTexture)</pre>
<div class="block">Sets the NPC's cloak texture.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cloakTexture</code> - the cloak texture.</dd>
</dl>
</li>
</ul>
<a id="getCloakTexture()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCloakTexture</h4>
<pre class="methodSignature">java.lang.String&nbsp;getCloakTexture()</pre>
<div class="block">Returns the NPC's cloak texture.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the cloak texture.</dd>
</dl>
</li>
</ul>
<a id="setOverlayTexture(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOverlayTexture</h4>
<pre class="methodSignature">void&nbsp;setOverlayTexture&#8203;(java.lang.String&nbsp;overlayTexture)</pre>
<div class="block">Adds an overlay texture to the NPC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>overlayTexture</code> - the overlay texture.</dd>
</dl>
</li>
</ul>
<a id="getOverlayTexture()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOverlayTexture</h4>
<pre class="methodSignature">java.lang.String&nbsp;getOverlayTexture()</pre>
<div class="block">Returns the first overlay texture of the NPC.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the overlay texture, or an empty string if none.</dd>
</dl>
</li>
</ul>
<a id="getOverlays()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOverlays</h4>
<pre class="methodSignature"><a href="../handler/IOverlayHandler.html" title="interface in noppes.npcs.api.handler">IOverlayHandler</a>&nbsp;getOverlays()</pre>
<div class="block">Returns the NPC's overlay handler.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the overlay handler.</dd>
</dl>
</li>
</ul>
<a id="setCollisionType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCollisionType</h4>
<pre class="methodSignature">void&nbsp;setCollisionType&#8203;(int&nbsp;type)</pre>
<div class="block">Sets the NPC's collision type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the collision type.</dd>
</dl>
</li>
</ul>
<a id="getCollisionType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollisionType</h4>
<pre class="methodSignature">int&nbsp;getCollisionType()</pre>
<div class="block">Returns the NPC's collision type.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the collision type.</dd>
</dl>
</li>
</ul>
<a id="updateClient()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateClient</h4>
<pre class="methodSignature">void&nbsp;updateClient()</pre>
<div class="block">Updates the client with the latest NPC state.</div>
</li>
</ul>
<a id="updateAI()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateAI</h4>
<pre class="methodSignature">void&nbsp;updateAI()</pre>
<div class="block">Updates the NPC's AI tasks.</div>
</li>
</ul>
<a id="getActionManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActionManager</h4>
<pre class="methodSignature"><a href="../handler/IActionManager.html" title="interface in noppes.npcs.api.handler">IActionManager</a>&nbsp;getActionManager()</pre>
<div class="block">Returns the action manager used for scheduling NPC actions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the action manager.</dd>
</dl>
</li>
</ul>
<a id="getMagicData()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMagicData</h4>
<pre class="methodSignature"><a href="../handler/data/IMagicData.html" title="interface in noppes.npcs.api.handler.data">IMagicData</a>&nbsp;getMagicData()</pre>
<div class="block">Returns the Magic Data of an NPC</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Magic data</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&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>