|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.Entity
net.minecraft.entity.EntityLiving
net.minecraft.entity.EntityCreature
net.minecraft.entity.monster.EntityMob
net.minecraft.entity.monster.EntityZombie
public class EntityZombie
Field Summary |
---|
Fields inherited from interface net.minecraft.entity.monster.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.entity.monster.EntityMob |
---|
attackEntityAsMob, attackEntityFrom, getBlockPathWeight, getCanSpawnHere |
Methods inherited from class net.minecraft.entity.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 setChild(boolean par1)
public boolean isVillager()
public void setVillager(boolean par1)
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void onUpdate()
onUpdate
in class EntityMob
public int getAttackStrength(Entity par1Entity)
getAttackStrength
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 initCreature()
initCreature
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 |