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 > IAnimal</ 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 = "IAnimal" ;
}
}
catch ( err ) {
}
//-->
var data = { "i0" : 6 , "i1" : 6 , "i2" : 6 , "i3" : 6 , "i4" : 6 , "i5" : 6 , "i6" : 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 IAnimal" class = "title" > Interface IAnimal< T extends net.minecraft.entity.passive.EntityAnimal> </ 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 EntityAnimal type.</ dd >
</ dl >
< dl >
2024-03-20 02:28:51 -04:00
< dt > All Superinterfaces:</ dt >
< dd >< code >< a href = "IEntity.html" title = "interface in noppes.npcs.api.entity" > IEntity</ a > < T> </ code > , < code >< a href = "IEntityLiving.html" title = "interface in noppes.npcs.api.entity" > IEntityLiving</ a > < T> </ code > , < code >< a href = "IEntityLivingBase.html" title = "interface in noppes.npcs.api.entity" > IEntityLivingBase</ a > < T> </ code ></ dd >
</ dl >
< dl >
< dt > All Known Subinterfaces:</ dt >
< dd >< code >< a href = "IPixelmon.html" title = "interface in noppes.npcs.api.entity" > IPixelmon</ a > < T> </ code ></ dd >
</ dl >
< hr >
< pre > public interface < span class = "typeNameLabel" > IAnimal< T extends net.minecraft.entity.passive.EntityAnimal> </ span >
extends < a href = "IEntityLiving.html" title = "interface in noppes.npcs.api.entity" > IEntityLiving</ a > < T> </ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Represents an animal entity with additional behavior such as breeding,
following, and mating.</ 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 = "#canMateWith(noppes.npcs.api.entity.IAnimal)" > canMateWith</ a ></ span > ​ (< a href = "IAnimal.html" title = "interface in noppes.npcs.api.entity" > IAnimal</ a > animal)</ code ></ th >
2025-05-29 16:27:42 -04:00
< td class = "colLast" >
< div class = "block" > Checks if this animal can mate with another animal.</ div >
</ td >
2024-03-20 02:28:51 -04:00
</ tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" >< code >< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a ></ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#followingPlayer()" > followingPlayer</ a ></ span > ()</ code ></ th >
2025-05-29 16:27:42 -04:00
< td class = "colLast" >
< div class = "block" > Returns the player that this animal is currently following.</ div >
</ td >
2024-03-20 02:28:51 -04:00
</ tr >
< tr id = "i2" class = "altColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#interact(noppes.npcs.api.entity.IPlayer)" > interact</ a ></ span > ​ (< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a > player)</ code ></ th >
< td class = "colLast" >
2025-05-29 16:27:42 -04:00
< div class = "block" > Called when a player interacts with the animal.</ div >
2024-03-20 02:28:51 -04:00
</ td >
</ tr >
< tr id = "i3" class = "rowColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#isBreedingItem(noppes.npcs.api.item.IItemStack)" > isBreedingItem</ a ></ span > ​ (< a href = "../item/IItemStack.html" title = "interface in noppes.npcs.api.item" > IItemStack</ a > itemStack)</ code ></ th >
< td class = "colLast" >
2025-05-29 16:27:42 -04:00
< div class = "block" > Checks whether the specified item can be used to breed this animal.</ div >
2024-03-20 02:28:51 -04:00
</ td >
</ tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#isInLove()" > isInLove</ a ></ span > ()</ code ></ th >
2025-05-29 16:27:42 -04:00
< td class = "colLast" >
< div class = "block" > Checks if the animal is currently in a "love" state,
indicating readiness to mate.</ 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 = "#resetInLove()" > resetInLove</ a ></ span > ()</ code ></ th >
2025-05-29 16:27:42 -04:00
< td class = "colLast" >
< div class = "block" > Resets the animal's love state.</ div >
</ td >
2024-03-20 02:28:51 -04:00
</ tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#setFollowPlayer(noppes.npcs.api.entity.IPlayer)" > setFollowPlayer</ a ></ span > ​ (< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a > player)</ code ></ th >
2025-05-29 16:27:42 -04:00
< td class = "colLast" >
< div class = "block" > Sets the specified player as the one to follow.</ div >
</ td >
2024-03-20 02:28:51 -04:00
</ tr >
</ table >
< ul class = "blockList" >
< li class = "blockList" >< a id = "methods.inherited.from.class.noppes.npcs.api.entity.IEntity" >
<!-- -->
</ a >
< h3 > Methods inherited from interface noppes.npcs.api.entity.< a href = "IEntity.html" title = "interface in noppes.npcs.api.entity" > IEntity</ a ></ h3 >
< code >< a href = "IEntity.html#capturesDrops()" > capturesDrops</ a > , < a href = "IEntity.html#clearStoredData()" > clearStoredData</ a > , < a href = "IEntity.html#clearTempData()" > clearTempData</ a > , < a href = "IEntity.html#despawn()" > despawn</ a > , < a href = "IEntity.html#dropItem(noppes.npcs.api.item.IItemStack)" > dropItem</ a > , < a href = "IEntity.html#extinguish()" > extinguish</ a > , < a href = "IEntity.html#getAge()" > getAge</ a > , < a href = "IEntity.html#getAllNbt()" > getAllNbt</ a > , < a href = "IEntity.html#getBlockX()" > getBlockX</ a > , < a href = "IEntity.html#getBlockY()" > getBlockY</ a > , < a href = "IEntity.html#getBlockZ()" > getBlockZ</ a > , < a href = "IEntity.html#getCapturedDrops()" > getCapturedDrops</ a > , < a href = "IEntity.html#getDimension()" > getDimension</ a > , < a href = "IEntity.html#getEntityId()" > getEntityId</ a > , < a href = "IEntity.html#getHeight()" > getHeight</ a > , < a href = "IEntity.html#getMotion()" > getMotion</ a > , < a href = "IEntity.html#getMotionX()" > getMotionX</ a > , < a href = "IEntity.html#getMotionY()" > getMotionY</ a > , < a href = "IEntity.html#getMotionZ()" > getMotionZ</ a > , < a href = "IEntity.html#getMount()" > getMount</ a > , < a href = "IEntity.html#getNbt()" > getNbt</ a > , < a href = "IEntity.html#getNbtOptional()" > getNbtOptional</ a > , < a href = "IEntity.html#getPitch()" > getPitch</ a > , < a href = "IEntity.html#getPosition()" > getPosition</ a > , < a href = "IEntity.html#getRider()" > getRider</ a > , < a href = "IEntity.html#getRotation()" > getRotation</ a > , < a href = "IEntity.html#getStoredData(java.lang.String)" > getStoredData</ a > , < a href = "IEntity.html#getStoredDataKeys()" > getStoredDataKeys</ a > , < a href = "IEntity.html#getSurroundingEntities(int)" > getSurroundingEntities</ a > , < a href = "IEntity.html#getSurroundingEntities(int,int)" > getSurroundingEntities</ a > , < a href = "IEntity.html#getTempData(java.lang.String)" > getTempData</ a > , < a href = "IEntity.html#getTempDataKeys()" > getTempDataKeys</ a > , < a href = "IEntity.html#getTypeName()" > getTypeName</ a > , < a href = "IEntity.html#getUniqueID()" > getUniqueID</ a > , < a href = "IEntity.html#getWidth()" > getWidth</ a > , < a href = "IEntity.html#getWorld()" > getWorld</ a > , < a href = "IEntity.html#getX()" > getX</ a > , < a href = "IEntity.html#getY()" > getY</ a > , < a href = "IEntity.html#getYOffset()" > getYOffset</ a > , < a href = "IEntity.html#getZ()" > getZ</ a > , < a href = "IEntity.html#hasCollided()" > hasCollided</ a > , < a href = "IEntity.html#hasCollidedHorizontally()" > hasCollidedHorizontally</ a > , < a href = "IEntity.html#hasCollidedVertically()" > hasCollidedVertically</ a > , < a href = "IEntity.html#hasStoredData(java.lang.String)" > hasStoredData</ a > , < a href = "IEntity.html#hasTempData(java.lang.String)" > hasTempData</ a > , < a href = "IEntity.html#inFire()" > inFire</ a > , < a href = "IEntity.html#inLava()" > inLava</ a > , < a href = "IEntity.html#inWater()" > inWater</ a > , < a href = "IEntity.html#isAirborne()" > isAirborne</ a > , < a href = "IEntity.html#isAlive()" > isAlive</ a > , < a href = "IEntity.html#isBurning()" > isBurning</ a > , < a href = "IEntity.html#isSneaking()" > isSneaking</ a > , < a href = "IEntity.html#isSprinting()" > isSprinting</ a > , < a href = "IEntity.html#knockback(double,double,double,float)" > knockback</ a > , < a href = "IEntity.html#knockback(int,float)" > knockback</ a > , < a href = "IEntity.html#knockback(noppes.npcs.api.IPos,float)" > knockback</ a > , < a href = "IEntity.html#removeStoredData(java.lang.String)" > removeStoredData</ a > , < a href = "IEntity.html#removeTempData(java.lang.String)" > removeTempData</ a > , < a href = "IEntity.html#setBurning(int)" > setBurning</ a > , < a href = "IEntity.html#setCapturedDrops(noppes.npcs.api.entity.IEntity%5B%5D)" > setCapturedDrops</ a > , < a href = "IEntity.html#setCapturesDrops(boolean)" > setCapturesDrops</ a > , < a href = "IEntity.html#setDimension(int)" > setDimension</ a > , < a href = "IEntity.html#setImmune(int)" > setImmune</ a > , < a href = "IEntity.html#setInvisible(boolean)" > setInvisible</ a > , < a href = "IEntity.html#setMotion(double,double,double)" > setMotion</ a > , < a href = "IEntity.html#setMotion(noppes.npcs.api.IPos)" > setMotion</ a > , < a href = "IEntity.html#setMotionX(double)" > setMotionX</ a > , < a href = "IEntity.html#setMotionY(double)" > setMotionY</ a > , < a href = "IEntity.html#setMotionZ(double)" > setMotionZ</ a > , < a href = "IEntity.html#setMount(noppes.npcs.api.entity.IEntity)" > setMount< /
</ ul >
< ul class = "blockList" >
< li class = "blockList" >< a id = "methods.inherited.from.class.noppes.npcs.api.entity.IEntityLiving" >
<!-- -->
</ a >
< h3 > Methods inherited from interface noppes.npcs.api.entity.< a href = "IEntityLiving.html" title = "interface in noppes.npcs.api.entity" > IEntityLiving</ a ></ h3 >
< code >< a href = "IEntityLiving.html#allowLeashing()" > allowLeashing</ a > , < a href = "IEntityLiving.html#canBeSteered()" > canBeSteered</ a > , < a href = "IEntityLiving.html#canPickUpLoot()" > canPickUpLoot</ a > , < a href = "IEntityLiving.html#clearLeashed(boolean,boolean)" > clearLeashed</ a > , < a href = "IEntityLiving.html#clearNavigation()" > clearNavigation</ a > , < a href = "IEntityLiving.html#enablePersistence()" > enablePersistence</ a > , < a href = "IEntityLiving.html#faceEntity(noppes.npcs.api.entity.IEntity,float,float)" > faceEntity</ a > , < a href = "IEntityLiving.html#getAlwaysRenderNameTag()" > getAlwaysRenderNameTag</ a > , < a href = "IEntityLiving.html#getCustomNameTag()" > getCustomNameTag</ a > , < a href = "IEntityLiving.html#getLeashed()" > getLeashed</ a > , < a href = "IEntityLiving.html#getLeashedTo()" > getLeashedTo</ a > , < a href = "IEntityLiving.html#getMCEntity()" > getMCEntity</ a > , < a href = "IEntityLiving.html#hasCustomNameTag()" > hasCustomNameTag</ a > , < a href = "IEntityLiving.html#isNavigating()" > isNavigating</ a > , < a href = "IEntityLiving.html#isPersistent()" > isPersistent</ a > , < a href = "IEntityLiving.html#navigateTo(double,double,double,double)" > navigateTo</ a > , < a href = "IEntityLiving.html#playLivingSound()" > playLivingSound</ a > , < a href = "IEntityLiving.html#setAlwaysRenderNameTag(boolean)" > setAlwaysRenderNameTag</ a > , < a href = "IEntityLiving.html#setCanPickUpLoot(boolean)" > setCanPickUpLoot</ a > , < a href = "IEntityLiving.html#setCustomNameTag(java.lang.String)" > setCustomNameTag</ a > , < a href = "IEntityLiving.html#setLeashedTo(noppes.npcs.api.entity.IEntity,boolean)" > setLeashedTo</ a > , < a href = "IEntityLiving.html#setMoveForward(float)" > setMoveForward</ a > , < a href = "IEntityLiving.html#spawnExplosionParticle()" > spawnExplosionParticle</ a ></ code ></ li >
</ ul >
< ul class = "blockList" >
< li class = "blockList" >< a id = "methods.inherited.from.class.noppes.npcs.api.entity.IEntityLivingBase" >
<!-- -->
</ a >
< h3 > Methods inherited from interface noppes.npcs.api.entity.< a href = "IEntityLivingBase.html" title = "interface in noppes.npcs.api.entity" > IEntityLivingBase</ a ></ h3 >
2025-05-29 16:27:42 -04:00
< code >< a href = "IEntityLivingBase.html#addPotionEffect(int,int,int,boolean)" > addPotionEffect</ a > , < a href = "IEntityLivingBase.html#canBreatheUnderwater()" > canBreatheUnderwater</ a > , < a href = "IEntityLivingBase.html#clearPotionEffects()" > clearPotionEffects</ a > , < a href = "IEntityLivingBase.html#dismountEntity(noppes.npcs.api.entity.IEntity)" > dismountEntity</ a > , < a href = "IEntityLivingBase.html#getAbsorptionAmount()" > getAbsorptionAmount</ a > , < a href = "IEntityLivingBase.html#getAIMoveSpeed()" > getAIMoveSpeed</ a > , < a href = "IEntityLivingBase.html#getArmor(int)" > getArmor</ a > , < a href = "IEntityLivingBase.html#getArrowCountInEntity()" > getArrowCountInEntity</ a > , < a href = "IEntityLivingBase.html#getAttackTarget()" > getAttackTarget</ a > , < a href = "IEntityLivingBase.html#getAttackTargetTime()" > getAttackTargetTime</ a > , < a href = "IEntityLivingBase.html#getFollowRange()" > getFollowRange</ a > , < a href = "IEntityLivingBase.html#getHealth()" > getHealth</ a > , < a href = "IEntityLivingBase.html#getHeldItem()" > getHeldItem</ a > , < a href = "IEntityLivingBase.html#getKnockbackResistance()" > getKnockbackResistance</ a > , < a href = "IEntityLivingBase.html#getLastAttacker()" > getLastAttacker</ a > , < a href = "IEntityLivingBase.html#getLastAttackerTime()" > getLastAttackerTime</ a > , < a href = "IEntityLivingBase.html#getLookingAtBlock(int)" > getLookingAtBlock</ a > , < a href = "IEntityLivingBase.html#getLookingAtBlock(int,boolean,boolean,boolean)" > getLookingAtBlock</ a > , < a href = "IEntityLivingBase.html#getLookingAtEntities(int,double,double)" > getLookingAtEntities</ a > , < a href = "IEntityLivingBase.html#getLookingAtEntities(int,double,double,boolean,boolean,boolean)" > getLookingAtEntities</ a > , < a href = "IEntityLivingBase.html#getLookingAtEntities(noppes.npcs.api.entity.IEntity%5B%5D,int,double,double,boolean,boolean,boolean)" > getLookingAtEntities</ a > , < a href = "IEntityLivingBase.html#getLookingAtPos(int)" > getLookingAtPos</ a > , < a href = "IEntityLivingBase.html#getLookingAtPos(int,boolean,boolean,boolean)" > getLookingAtPos</ a > , < a href = "IEntityLivingBase.html#getLookVector()" > getLookVector</ a > , < a href = "IEntityLivingBase.html#getMaxHealth()" > getMaxHealth</ a > , < a href = "IEntityLivingBase.html#getMaxHurtTime()" > getMaxHurtTime</ a > , < a href = "IEntityLivingBase.html#getMeleeStrength()" > getMeleeStrength</ a > , < a href = "IEntityLivingBase.html#getPotionEffect(int)" > getPotionEffect</ a > , < a href = "IEntityLivingBase.html#getSpeed()" > getSpeed</ a > , < a href = "IEntityLivingBase.html#getTotalArmorValue()" > getTotalArmorValue</ a > , < a href = "IEntityLivingBase.html#getType()" > getType</ a > , < a href = "IEntityLivingBase.html#hurt(float)" > hurt</ a > , < a href = "IEntityLivingBase.html#hurt(float,noppes.npcs.api.entity.IEntity)" > hurt</ a > , < a href = "IEntityLivingBase.html#hurt(float,noppes.npcs.api.IDamageSource)" > hurt</ a > , < a href = "IEntityLivingBase.html#isAttacking()" > isAttacking</ a > , < a href = "IEntityLivingBase.html#isChild()" > isChild</ a > , < a href = "IEntityLivingBase.html#isOnLadder()" > isOnLadder</ a > , < a href = "IEntityLivingBase.html#renderBrokenItemStack(noppes.npcs.api.item.IItemStack)" > renderBrokenItemStack</ a > , < a href = "IEntityLivingBase.html#setAbsorptionAmount(float)" > setAbsorptionAmount</ a > , < a href = "IEntityLivingBase.html#setAIMoveSpeed(float)" > setAIMoveSpeed</ a > , < a href = "IEntityLivingBase.html#setArmor(int,noppes.npcs.api.item.IItemStack)" > setArmor</ a > , < a href = "IEntityLivingBase.html#setArrowCountInEntity(int)" > setArrowCountInEntity</ a > , < a href = "IEntityLivingBase.html#setAttackTarget(noppes.npcs.api.entity.IEntityLivingBase)" > setAttackTarget</ a > , < a href = "IEntityLivingBase.html#setFollowRange(double)" > setFollowRange</ a > , < a href = "IEntityLivingBase.html#setHealth(float)" > setHealth</ a > , < a href = "IEntityLivingBase.html#setHeldItem(noppes.npcs.api.item.IItemStack)" > setHeldItem</ a > , < a href = "IEntityLivingBase.html#setKnockbackResistance(double)" > setKnockbackResistance</ a > , < a href = "IEntityLivingBase.html#setLastAttacker(noppes.npcs.api.entity.IEntity)" > setLastAttacker</ a > , < a href = "IEntityLivingBase.html#setMaxHealth(double)" > setMaxHealth</ a > , < a href = "IEntityLivingBase.html#setMaxHurtTime(int)" > setMaxHurtTime</ a > , < a href = "IEntityLivingBase
2024-03-20 02:28:51 -04:00
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class=" details " >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ METHOD DETAIL ========== -->
< section >
< ul class = "blockList" >
< li class = "blockList" >< a id = "method.detail" >
<!-- -->
</ a >
< h3 > Method Detail</ h3 >
< a id = "isBreedingItem(noppes.npcs.api.item.IItemStack)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isBreedingItem</ h4 >
< pre class = "methodSignature" > boolean isBreedingItem​ (< a href = "../item/IItemStack.html" title = "interface in noppes.npcs.api.item" > IItemStack</ a > itemStack)</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Checks whether the specified item can be used to breed this animal.
(e.g. wheat, carrots or seeds depending on the animal type)</ div >
< dl >
< dt >< span class = "paramLabel" > Parameters:</ span ></ dt >
< dd >< code > itemStack</ code > - the item to test.</ dd >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > true if the item is a breeding item; false otherwise.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "interact(noppes.npcs.api.entity.IPlayer)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > interact</ h4 >
< pre class = "methodSignature" > boolean interact​ (< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a > player)</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Called when a player interacts with the animal.
For example, this might return true if the player milks a cow or saddles a pig.</ div >
< dl >
< dt >< span class = "paramLabel" > Parameters:</ span ></ dt >
< dd >< code > player</ code > - the interacting player.</ dd >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > true if the interaction was handled; false otherwise.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "setFollowPlayer(noppes.npcs.api.entity.IPlayer)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFollowPlayer</ h4 >
< pre class = "methodSignature" > void setFollowPlayer​ (< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a > player)</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Sets the specified player as the one to follow.</ div >
< dl >
< dt >< span class = "paramLabel" > Parameters:</ span ></ dt >
< dd >< code > player</ code > - the player to follow.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "followingPlayer()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > followingPlayer</ h4 >
< pre class = "methodSignature" >< a href = "IPlayer.html" title = "interface in noppes.npcs.api.entity" > IPlayer</ a > followingPlayer()</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Returns the player that this animal is currently following.</ div >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > the following player, or null if not following anyone.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "isInLove()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isInLove</ h4 >
< pre class = "methodSignature" > boolean isInLove()</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Checks if the animal is currently in a "love" state,
indicating readiness to mate.</ div >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > true if the animal is in love; false otherwise.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "resetInLove()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > resetInLove</ h4 >
< pre class = "methodSignature" > void resetInLove()</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Resets the animal's love state.</ div >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
< a id = "canMateWith(noppes.npcs.api.entity.IAnimal)" >
<!-- -->
</ a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > canMateWith</ h4 >
< pre class = "methodSignature" > boolean canMateWith​ (< a href = "IAnimal.html" title = "interface in noppes.npcs.api.entity" > IAnimal</ a > animal)</ pre >
2025-05-29 16:27:42 -04:00
< div class = "block" > Checks if this animal can mate with another animal.</ div >
< dl >
< dt >< span class = "paramLabel" > Parameters:</ span ></ dt >
< dd >< code > animal</ code > - the other animal.</ dd >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > true if mating is possible; false otherwise.</ dd >
</ dl >
2024-03-20 02:28:51 -04:00
</ li >
</ ul >
</ li >
</ ul >
</ section >
</ li >
</ ul >
</ div >
</ div >
</ main >
<!-- ========= END OF CLASS DATA ========= -->
< footer role = "contentinfo" >
< nav role = "navigation" >
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< div class = "bottomNav" >< a id = "navbar.bottom" >
<!-- -->
</ a >
< div class = "skipNav" >< a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links</ a ></ div >
< a id = "navbar.bottom.firstrow" >
<!-- -->
</ a >
< ul class = "navList" title = "Navigation" >
< li >< a href = "../../../../index.html" > Overview</ a ></ li >
< li >< a href = "package-summary.html" > Package</ a ></ li >
< li class = "navBarCell1Rev" > Class</ li >
< li >< a href = "package-tree.html" > Tree</ a ></ li >
< li >< a href = "../../../../deprecated-list.html" > Deprecated</ a ></ li >
< li >< a href = "../../../../index-files/index-1.html" > Index</ a ></ li >
< li >< a href = "../../../../help-doc.html" > Help</ a ></ li >
</ ul >
</ div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_bottom" >
< li >< a href = "../../../../allclasses.html" > All Classes</ a ></ li >
</ ul >
< div >
< script type = "text/javascript" > <!--
allClassesLink = document . getElementById ( "allclasses_navbar_bottom" );
if ( window == top ) {
allClassesLink . style . display = "block" ;
}
else {
allClassesLink . style . display = "none" ;
}
//-->
</ script >
< noscript >
< div > JavaScript is disabled on your browser.</ div >
</ noscript >
</ div >
< div >
< ul class = "subNavList" >
< li > Summary: </ li >
< li > Nested | </ li >
< li > Field | </ li >
< li > Constr | </ li >
< li >< a href = "#method.summary" > Method</ a ></ li >
</ ul >
< ul class = "subNavList" >
< li > Detail: </ li >
< li > Field | </ li >
< li > Constr | </ li >
< li >< a href = "#method.detail" > Method</ a ></ li >
</ ul >
</ div >
< a id = "skip.navbar.bottom" >
<!-- -->
</ a ></ div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</ nav >
</ footer >
</ body >
</ html >