| 
||||||||||
| 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 | 
|---|
mobSelector | 
| Constructor Summary | |
|---|---|
EntityZombie(World par1World)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
func_82230_o()
 | 
 int | 
getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal.  | 
 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)
 | 
 void | 
initCreature()
Initialize this creature.  | 
 boolean | 
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.  | 
 boolean | 
isChild()
If Animal, checks if the age timer is negative  | 
 boolean | 
isVillager()
Return whether this zombie is a villager.  | 
 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 | 
setChild(boolean par1)
Set whether this zombie is a child.  | 
 void | 
setVillager(boolean par1)
Set whether this zombie is a villager.  | 
 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 EntityCreaturepublic String getTexture()
getTexture in class EntityLivingpublic int getMaxHealth()
getMaxHealth in class EntityLivingpublic int getTotalArmorValue()
getTotalArmorValue in class EntityLivingpublic boolean isChild()
isChild in class EntityLivingpublic void setChild(boolean par1)
public boolean isVillager()
public void setVillager(boolean par1)
public void onLivingUpdate()
onLivingUpdate in class EntityMobpublic void onUpdate()
onUpdate in class EntityMobpublic int getAttackStrength(Entity par1Entity)
getAttackStrength in class EntityMobpublic EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityLivingpublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityLivingpublic void onKillEntity(EntityLiving par1EntityLiving)
onKillEntity in class Entitypublic void initCreature()
initCreature in class EntityLivingpublic boolean interact(EntityPlayer par1EntityPlayer)
interact in class Entitypublic void handleHealthUpdate(byte par1)
handleHealthUpdate in class EntityLivingpublic boolean func_82230_o()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||