|
||||||||||
| 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
net.minecraft.src.EntityPigZombie
public class EntityPigZombie
| Field Summary |
|---|
| Fields inherited from class net.minecraft.src.EntityLiving |
|---|
arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, legSwing, legYaw, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, tasks |
| Constructor Summary | |
|---|---|
EntityPigZombie(World par1World)
|
|
| Method Summary | |
|---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
boolean |
getCanSpawnHere()
Checks if the entity's current position is a valid location to spawn this entity. |
ItemStack |
getHeldItem()
|
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.EntityZombie |
|---|
getCreatureAttribute, getMaxHealth, getTotalArmorValue, onLivingUpdate |
| Methods inherited from class net.minecraft.src.EntityMob |
|---|
attackEntityAsMob, getBlockPathWeight |
| 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 EntityPigZombie(World par1World)
| Method Detail |
|---|
public void onUpdate()
onUpdate in class EntityMobpublic boolean getCanSpawnHere()
getCanSpawnHere in class EntityMobpublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityLivingpublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityLiving
public boolean attackEntityFrom(DamageSource par1DamageSource,
int par2)
attackEntityFrom in class EntityMobpublic ItemStack getHeldItem()
getHeldItem in class EntityLiving
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||