|
||||||||||
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
net.minecraft.src.EntityAnimal
net.minecraft.src.EntityCow
public class EntityCow
Field Summary |
---|
Fields inherited from class net.minecraft.src.EntityAnimal |
---|
inLove |
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 | |
---|---|
EntityCow(World par1World)
|
Method Summary | |
---|---|
int |
getMaxHealth()
|
boolean |
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
isAIEnabled()
Returns true if the newer Entity AI code should be run |
EntityAnimal |
spawnBabyAnimal(EntityAnimal par1EntityAnimal)
This function is used when two same-species animals in 'love mode' breed to generate the new baby animal. |
Methods inherited from class net.minecraft.src.EntityAnimal |
---|
attackEntityFrom, canMateWith, getBlockPathWeight, getCanSpawnHere, getTalkInterval, isInLove, isWheat, onLivingUpdate, readEntityFromNBT, resetInLove, writeEntityToNBT |
Methods inherited from class net.minecraft.src.EntityAgeable |
---|
getGrowingAge, isChild, setGrowingAge |
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 EntityCow(World par1World)
Method Detail |
---|
public boolean isAIEnabled()
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public boolean interact(EntityPlayer par1EntityPlayer)
interact
in class EntityAnimal
public EntityAnimal spawnBabyAnimal(EntityAnimal par1EntityAnimal)
spawnBabyAnimal
in class EntityAnimal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |