|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Entity
net.minecraft.src.EntityLiving
net.minecraft.src.EntityCreature
net.minecraft.src.EntityMob
net.minecraft.src.EntityZombie
public class EntityZombie
Field Summary |
---|
Fields inherited from interface net.minecraft.src.IMob |
---|
field_82192_a |
Constructor Summary | |
---|---|
EntityZombie(World par1World)
|
Method Summary | |
---|---|
void |
func_82163_bD()
|
int |
func_82193_c(Entity par1Entity)
|
void |
func_82227_f(boolean par1)
|
void |
func_82229_g(boolean par1)
|
boolean |
func_82230_o()
|
boolean |
func_82231_m()
|
EnumCreatureAttribute |
getCreatureAttribute()
Get this Entity's EnumCreatureAttribute |
int |
getMaxHealth()
|
float |
getSpeedModifier()
This method returns a value to be applied directly to entity speed, this factor is less than 1 when a slowdown potion effect is applied, more than 1 when a haste potion effect is applied and 2 for fleeing entities. |
String |
getTexture()
|
int |
getTotalArmorValue()
Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue |
void |
handleHealthUpdate(byte par1)
|
boolean |
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
isChild()
If Animal, checks if the age timer is negative |
void |
onKillEntity(EntityLiving par1EntityLiving)
This method gets called when the entity kills another one. |
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required. |
void |
onUpdate()
Called to update the entity's position/logic. |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.src.EntityMob |
---|
attackEntityAsMob, attackEntityFrom, getBlockPathWeight, getCanSpawnHere |
Methods inherited from class net.minecraft.src.EntityCreature |
---|
getEntityToAttack, hasPath, setPathToEntity, setTarget |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityZombie(World par1World)
Method Detail |
---|
public float getSpeedModifier()
getSpeedModifier
in class EntityCreature
public String getTexture()
getTexture
in class EntityLiving
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public int getTotalArmorValue()
getTotalArmorValue
in class EntityLiving
public boolean isChild()
isChild
in class EntityLiving
public void func_82227_f(boolean par1)
public boolean func_82231_m()
public void func_82229_g(boolean par1)
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void onUpdate()
onUpdate
in class EntityMob
public int func_82193_c(Entity par1Entity)
func_82193_c
in class EntityMob
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public void onKillEntity(EntityLiving par1EntityLiving)
onKillEntity
in class Entity
public void func_82163_bD()
func_82163_bD
in class EntityLiving
public boolean interact(EntityPlayer par1EntityPlayer)
interact
in class Entity
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class EntityLiving
public boolean func_82230_o()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |