public abstract class LivingEntityAPI<L,V> extends EntityAPI<L,V>
entity, registryNamewrappedFORGE, FORGE_OR_NEOFORGE, NAMED_ENV, SRG_ENV| Modifier | Constructor and Description |
|---|---|
protected |
LivingEntityAPI(L entity,
V type) |
| Modifier and Type | Method and Description |
|---|---|
abstract float |
getHealth() |
float |
getHealthPercent() |
abstract float |
getMaxHealth() |
canTarget, equals, getActiveEffects, getAttackTarget, getBoundingBox, getData, getDimension, getDistanceTo, getDistanceTo, getDistanceTo, getName, getPos, getPosExact, getPosRounded, getRegistryName, getRootVehicle, getVehicle, getWorld, isAlive, isAnimal, isHostile, isLiving, isOwnedBy, isPlayer, setLocalRegistryName, setPosition, setPosition, setPosition, setPosition, unwrapEntity, x, y, zgetWrapped, getWrappedClass, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getRegistry, getRegistryName, setRegistryNamegetWrapped, getWrappedClass, unwrap