public abstract class EntityLiving extends Entity
| Modifier and Type | Field and Description |
|---|---|
protected int |
health |
boolean |
jumping |
protected int |
jumpTimeout |
boundingBox, canClimb, chunkX, chunkY, dead, facing, fallStartY, isClimbing, isFalling, lastX, lastY, ticksExisted, uniqueIdcollidedHor, collidedVert, motionX, motionY, onGround, world, x, y| Constructor and Description |
|---|
EntityLiving(IWorld world) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHealth() |
protected int |
getJumpTimeout() |
abstract int |
getMaxHealth() |
abstract int |
getRegenRate() |
void |
jump(double motion) |
void |
load(DataSet set) |
void |
save(DataSet set) |
void |
setHealth(int health) |
void |
takeDamage(int amount) |
void |
update(IGameInstance game) |
applyMotion, canClimb, doesSave, doesSync, getAdditionalData, getBoundingBox, getOrCreateAdditionalData, getRenderer, getRenderPriority, getSyncFrequency, getUniqueId, hasAdditionalData, isDead, kill, moveToChunk, onCollideWithTile, onGroundHit, onInteractWith, onRemoveFromWorld, onTileCollision, setAdditionalData, setDead, shouldBeRemoved, shouldRendermove, setPospublic boolean jumping
protected int jumpTimeout
protected int health
public EntityLiving(IWorld world)
public void update(IGameInstance game)
public void jump(double motion)
protected int getJumpTimeout()
public int getHealth()
public void setHealth(int health)
public void takeDamage(int amount)
public abstract int getMaxHealth()
public abstract int getRegenRate()