Package noppes.npcs.api.entity
Interface IEntityLiving<T extends net.minecraft.entity.EntityLiving>
- All Superinterfaces:
IEntity<T>
,IEntityLivingBase<T>
- All Known Subinterfaces:
IAnimal<T>
,ICustomNpc<T>
,IMonster<T>
,IPixelmon<T>
,IVillager<T>
public interface IEntityLiving<T extends net.minecraft.entity.EntityLiving> extends IEntityLivingBase<T>
-
Method Summary
Modifier and Type Method Description void
clearNavigation()
Stop navigating wherever this npc was walking toT
getMCEntity()
Expert users onlyIPos
getNavigationPath()
boolean
isNavigating()
void
jump()
void
navigateTo(double x, double y, double z, double speed)
Start path finding toward this targetMethods inherited from interface noppes.npcs.api.entity.IEntity
addRider, addTag, clearRiders, damage, despawn, dropItem, extinguish, generateNewUUID, getAge, getAllRiders, getBlockX, getBlockY, getBlockZ, getEntityName, getEntityNbt, getEyeHeight, getHeight, getMotionX, getMotionY, getMotionZ, getMount, getName, getNbt, getPitch, getPos, getRiders, getRotation, getStoreddata, getTags, getTempdata, getType, getTypeName, getUUID, getWidth, getWorld, getX, getY, getZ, hasCustomName, hasTag, inFire, inLava, inWater, isAlive, isBurning, isSneaking, isSprinting, kill, knockback, playAnimation, rayTraceBlock, rayTraceEntities, removeTag, setBurning, setEntityNbt, setMotionX, setMotionY, setMotionZ, setMount, setName, setPitch, setPos, setPosition, setRotation, setX, setY, setZ, spawn, storeAsClone, typeOf
Methods inherited from interface noppes.npcs.api.entity.IEntityLivingBase
addMark, addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getLastAttacked, getLastAttackedTime, getMainhandItem, getMarks, getMaxHealth, getMoveForward, getMoveStrafing, getMoveVertical, getOffhandItem, getPotionEffect, isAttacking, isChild, removeMark, setArmor, setAttackTarget, setHealth, setMainhandItem, setMaxHealth, setMoveForward, setMoveStrafing, setMoveVertical, setOffhandItem, swingMainhand, swingOffhand
-
Method Details
-
jump
void jump() -
getMCEntity
T getMCEntity()Description copied from interface:IEntity
Expert users only- Specified by:
getMCEntity
in interfaceIEntity<T extends net.minecraft.entity.EntityLiving>
- Specified by:
getMCEntity
in interfaceIEntityLivingBase<T extends net.minecraft.entity.EntityLiving>
- Returns:
- Returns minecrafts entity