|
||||||||||
| 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.EntityCreeper
public class EntityCreeper
| 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 | |
|---|---|
EntityCreeper(World par1World)
|
|
| Method Summary | |
|---|---|
boolean |
attackEntityAsMob(Entity par1Entity)
|
int |
getCreeperState()
Returns the current state of creeper, -1 is idle, 1 is 'in fuse' |
int |
getMaxHealth()
|
boolean |
getPowered()
Returns true if the creeper is powered by a lightning bolt. |
boolean |
isAIEnabled()
Returns true if the newer Entity AI code should be run |
void |
onDeath(DamageSource par1DamageSource)
Called when the mob's health reaches 0. |
void |
onStruckByLightning(EntityLightningBolt par1EntityLightningBolt)
Called when a lightning bolt hits the entity. |
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. |
float |
setCreeperFlashTime(float par1)
|
void |
setCreeperState(int par1)
Sets the state of creeper, -1 to idle and 1 to be 'in fuse' |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
| Methods inherited from class net.minecraft.src.EntityMob |
|---|
attackEntityFrom, getBlockPathWeight, getCanSpawnHere, onLivingUpdate |
| 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 EntityCreeper(World par1World)
| Method Detail |
|---|
public boolean isAIEnabled()
public int getMaxHealth()
getMaxHealth in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityLivingpublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityLivingpublic void onUpdate()
onUpdate in class EntityMobpublic void onDeath(DamageSource par1DamageSource)
onDeath in class EntityLivingpublic boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob in class EntityMobpublic boolean getPowered()
public float setCreeperFlashTime(float par1)
public int getCreeperState()
public void setCreeperState(int par1)
public void onStruckByLightning(EntityLightningBolt par1EntityLightningBolt)
onStruckByLightning in class Entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||