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