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