|
||||||||||
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.EntityGolem
net.minecraft.entity.monster.EntityIronGolem
public class EntityIronGolem
Field Summary |
---|
Fields inherited from class net.minecraft.entity.EntityLiving |
---|
arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, experienceValue, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, field_82181_as, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, landMovementFactor, legSwing, legYaw, livingSoundTime, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, swingProgressInt, tasks |
Constructor Summary | |
---|---|
EntityIronGolem(World par1World)
|
Method Summary | |
---|---|
boolean |
attackEntityAsMob(Entity par1Entity)
|
boolean |
canAttackClass(Class par1Class)
Returns true if this entity can attack entities of the specified class. |
int |
getAttackTimer()
|
int |
getHoldRoseTick()
|
int |
getMaxHealth()
|
Village |
getVillage()
|
void |
handleHealthUpdate(byte par1)
|
boolean |
isAIEnabled()
Returns true if the newer Entity AI code should be run |
boolean |
isPlayerCreated()
|
void |
onDeath(DamageSource par1DamageSource)
Called when the mob's health reaches 0. |
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required. |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT. |
void |
setHoldingRose(boolean par1)
|
void |
setPlayerCreated(boolean par1)
|
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.entity.monster.EntityGolem |
---|
getTalkInterval |
Methods inherited from class net.minecraft.entity.EntityCreature |
---|
getBlockPathWeight, getCanSpawnHere, getEntityToAttack, getSpeedModifier, hasPath, setPathToEntity, setTarget |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityIronGolem(World par1World)
Method Detail |
---|
public boolean isAIEnabled()
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public void onLivingUpdate()
onLivingUpdate
in class EntityLiving
public boolean canAttackClass(Class par1Class)
canAttackClass
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob
in class EntityLiving
public Village getVillage()
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class EntityLiving
public int getAttackTimer()
public void setHoldingRose(boolean par1)
public int getHoldRoseTick()
public boolean isPlayerCreated()
public void setPlayerCreated(boolean par1)
public void onDeath(DamageSource par1DamageSource)
onDeath
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |