|
||||||||||
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.EntityAgeable
public abstract class EntityAgeable
Field Summary |
---|
Fields inherited from class net.minecraft.src.EntityLiving |
---|
arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, field_70730_aX, field_70731_aW, field_70754_ba, field_70769_ao, field_70770_ap, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, legYaw, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, tasks |
Constructor Summary | |
---|---|
EntityAgeable(World par1World)
|
Method Summary | |
---|---|
int |
getGrowingAge()
The age value may be negative or positive or zero. |
boolean |
isChild()
If Animal, checks if the age timer is negative |
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 |
setGrowingAge(int par1)
The age value may be negative or positive or zero. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.src.EntityCreature |
---|
getBlockPathWeight, getCanSpawnHere, getEntityToAttack, hasPath, setPathToEntity, setTarget |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityAgeable(World par1World)
Method Detail |
---|
public int getGrowingAge()
public void setGrowingAge(int par1)
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public void onLivingUpdate()
onLivingUpdate
in class EntityLiving
public boolean isChild()
isChild
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |