public abstract class EntityLiving extends Entity
| Modifier and Type | Field and Description |
|---|---|
float |
attackedAtYaw |
int |
attackTime |
float |
cameraPitch |
int |
deathTime |
protected float |
defaultPitch |
protected int |
entityAge |
float |
field_703_S |
float |
field_704_R |
float |
field_705_Q |
float |
field_9325_U |
int |
field_9326_T |
float |
field_9328_R |
protected float |
field_9345_F |
protected int |
field_9346_af |
protected float |
field_9349_D |
protected java.lang.String |
field_9351_C |
protected float |
field_9353_B |
protected boolean |
field_9355_A |
protected boolean |
field_9358_y |
protected float |
field_9359_x |
protected float |
field_9360_w |
protected float |
field_9361_v |
protected float |
field_9362_u |
float |
field_9363_r |
float |
field_9365_p |
int |
health |
int |
heartsHalvesLife |
int |
hurtTime |
protected boolean |
isJumping |
boolean |
isMultiplayerEntity |
int |
maxHurtTime |
protected float |
moveForward |
protected float |
moveSpeed |
protected float |
moveStrafing |
protected int |
newPosRotationIncrements |
protected double |
newPosX |
protected double |
newPosY |
protected double |
newPosZ |
protected double |
newRotationPitch |
protected double |
newRotationYaw |
protected int |
numTicksToChaseTarget |
int |
prevHealth |
float |
prevRenderYawOffset |
float |
prevSwingProgress |
protected float |
randomYawVelocity |
float |
renderYawOffset |
protected int |
scoreValue |
float |
swingProgress |
protected java.lang.String |
texture |
protected boolean |
unused_flag |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityLiving(World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attackEntityFrom(Entity entity,
int i) |
boolean |
canBeCollidedWith() |
boolean |
canBePushed() |
boolean |
canBreatheUnderwater() |
protected boolean |
canDespawn() |
boolean |
canEntityBeSeen(Entity entity) |
protected void |
damageEntity(int i) |
protected void |
dropFewItems() |
protected void |
entityInit() |
void |
faceEntity(Entity entity,
float f,
float f1) |
protected void |
fall(float f) |
protected int |
func_25026_x() |
protected void |
func_27021_X() |
boolean |
getCanSpawnHere() |
Entity |
getCurrentTarget() |
protected java.lang.String |
getDeathSound() |
protected int |
getDropItemId() |
java.lang.String |
getEntityTexture() |
float |
getEyeHeight() |
ItemStack |
getHeldItem() |
protected java.lang.String |
getHurtSound() |
int |
getItemIcon(ItemStack itemstack) |
protected java.lang.String |
getLivingSound() |
Vec3D |
getLook(float f) |
Vec3D |
getLookVec() |
int |
getMaxSpawnedInChunk() |
Vec3D |
getPosition(float f) |
protected float |
getSoundVolume() |
float |
getSwingProgress(float f) |
int |
getTalkInterval() |
void |
handleHealthUpdate(byte byte0) |
boolean |
hasCurrentTarget() |
void |
heal(int i) |
boolean |
isEntityAlive() |
protected boolean |
isMovementBlocked() |
boolean |
isOnLadder() |
boolean |
isPlayerSleeping() |
protected void |
jump() |
protected void |
kill() |
void |
knockBack(Entity entity,
int i,
double d,
double d1) |
void |
moveEntityWithHeading(float f,
float f1) |
void |
onDeath(Entity entity) |
void |
onEntityDeath() |
void |
onEntityUpdate() |
void |
onLivingUpdate() |
void |
onUpdate() |
void |
performHurtAnimation() |
void |
playLivingSound() |
MovingObjectPosition |
rayTrace(double d,
float f) |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i) |
protected void |
setSize(float f,
float f1) |
void |
spawnExplosionParticle() |
protected void |
updatePlayerActionState() |
void |
updateRidden() |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getMountedYOffset, getShadowSize, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onKillEntity, onStruckByLightning, outfitWithItem, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setVelocity, setWorld, updateCloak, updateFallState, updateRiderPosition, writeToNBTpublic int heartsHalvesLife
public float field_9365_p
public float field_9363_r
public float renderYawOffset
public float prevRenderYawOffset
protected float field_9362_u
protected float field_9361_v
protected float field_9360_w
protected float field_9359_x
protected boolean field_9358_y
protected java.lang.String texture
protected boolean field_9355_A
protected float field_9353_B
protected java.lang.String field_9351_C
protected float field_9349_D
protected int scoreValue
protected float field_9345_F
public boolean isMultiplayerEntity
public float prevSwingProgress
public float swingProgress
public int health
public int prevHealth
public int hurtTime
public int maxHurtTime
public float attackedAtYaw
public int deathTime
public int attackTime
public float cameraPitch
public float field_9328_R
protected boolean unused_flag
public int field_9326_T
public float field_9325_U
public float field_705_Q
public float field_704_R
public float field_703_S
protected int newPosRotationIncrements
protected double newPosX
protected double newPosY
protected double newPosZ
protected double newRotationYaw
protected double newRotationPitch
protected int field_9346_af
protected int entityAge
protected float moveStrafing
protected float moveForward
protected float randomYawVelocity
protected boolean isJumping
protected float defaultPitch
protected float moveSpeed
protected int numTicksToChaseTarget
public EntityLiving(World world)
protected void entityInit()
entityInit in class Entitypublic boolean canEntityBeSeen(Entity entity)
public java.lang.String getEntityTexture()
getEntityTexture in class Entitypublic boolean canBeCollidedWith()
canBeCollidedWith in class Entitypublic boolean canBePushed()
canBePushed in class Entitypublic float getEyeHeight()
getEyeHeight in class Entitypublic int getTalkInterval()
public void playLivingSound()
public void onEntityUpdate()
onEntityUpdate in class Entitypublic void spawnExplosionParticle()
public void updateRidden()
updateRidden in class Entitypublic void setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i)
setPositionAndRotation2 in class Entitypublic void heal(int i)
public boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom in class Entitypublic void performHurtAnimation()
performHurtAnimation in class Entityprotected void damageEntity(int i)
protected float getSoundVolume()
protected java.lang.String getLivingSound()
protected java.lang.String getHurtSound()
protected java.lang.String getDeathSound()
public void knockBack(Entity entity, int i, double d, double d1)
public void onDeath(Entity entity)
protected void dropFewItems()
protected int getDropItemId()
public void moveEntityWithHeading(float f,
float f1)
public boolean isOnLadder()
public void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic boolean isEntityAlive()
isEntityAlive in class Entitypublic boolean canBreatheUnderwater()
public void onLivingUpdate()
protected boolean isMovementBlocked()
protected void jump()
protected boolean canDespawn()
protected void func_27021_X()
protected void updatePlayerActionState()
protected int func_25026_x()
public void faceEntity(Entity entity, float f, float f1)
public boolean hasCurrentTarget()
public Entity getCurrentTarget()
public void onEntityDeath()
public boolean getCanSpawnHere()
public float getSwingProgress(float f)
public Vec3D getPosition(float f)
public Vec3D getLookVec()
getLookVec in class Entitypublic Vec3D getLook(float f)
public MovingObjectPosition rayTrace(double d, float f)
public int getMaxSpawnedInChunk()
public ItemStack getHeldItem()
public void handleHealthUpdate(byte byte0)
handleHealthUpdate in class Entitypublic boolean isPlayerSleeping()
public int getItemIcon(ItemStack itemstack)