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, canCollideWith, doesSave, doesSync, getAdditionalData, getBoundingBox, getMaxInteractionDistance, getOrCreateAdditionalData, getRenderer, getRenderPriority, getSyncFrequency, getUniqueId, hasAdditionalData, isDead, kill, moveToChunk, onCollideWithEntity, onCollideWithTile, onEntityCollision, onGroundHit, onInteractWith, onRemoveFromWorld, onTileCollision, setAdditionalData, setDead, shouldBeRemoved, shouldRender, shouldStartClimbingmove, setPospublic boolean jumping
protected int jumpTimeout
protected int health
public EntityLiving(IWorld world)
public abstract int getMaxHealth()
public void update(IGameInstance game)
protected int getJumpTimeout()
public abstract int getRegenRate()
public void jump(double motion)
public void takeDamage(int amount)
public int getHealth()
public void setHealth(int health)