| 
 | ||||||||||
| 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
net.minecraft.entity.monster.EntityPigZombie
public class EntityPigZombie
| Field Summary | 
|---|
| Fields inherited from interface net.minecraft.entity.monster.IMob | 
|---|
| mobSelector | 
| Constructor Summary | |
|---|---|
| EntityPigZombie(World par1World) | |
| Method Summary | |
|---|---|
|  boolean | attackEntityFrom(DamageSource par1DamageSource,
                                 int par2)Called when the entity is attacked. | 
|  int | getAttackStrength(Entity par1Entity)Returns the amount of damage a mob should deal. | 
|  boolean | getCanSpawnHere()Checks if the entity's current position is a valid location to spawn this entity. | 
|  String | getTexture() | 
|  void | initCreature()Initialize this creature. | 
|  boolean | interact(EntityPlayer par1EntityPlayer)Called when a player interacts with a mob. | 
|  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.entity.monster.EntityZombie | 
|---|
| func_82230_o, getCreatureAttribute, getMaxHealth, getSpeedModifier, getTotalArmorValue, handleHealthUpdate, isChild, isVillager, onKillEntity, onLivingUpdate, setChild, setVillager | 
| Methods inherited from class net.minecraft.entity.monster.EntityMob | 
|---|
| attackEntityAsMob, getBlockPathWeight | 
| 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 EntityPigZombie(World par1World)
| Method Detail | 
|---|
public void onUpdate()
onUpdate in class EntityZombiepublic String getTexture()
getTexture in class EntityZombiepublic boolean getCanSpawnHere()
getCanSpawnHere in class EntityMobpublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityZombiepublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityZombie
public boolean attackEntityFrom(DamageSource par1DamageSource,
                                int par2)
attackEntityFrom in class EntityMobpublic boolean interact(EntityPlayer par1EntityPlayer)
interact in class EntityZombiepublic void initCreature()
initCreature in class EntityZombiepublic int getAttackStrength(Entity par1Entity)
getAttackStrength in class EntityZombie| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||