|
||||||||||
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.EntityTameable
net.minecraft.src.EntityWolf
public class EntityWolf
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_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 | |
---|---|
EntityWolf(World par1World)
|
Method Summary | |
---|---|
boolean |
attackEntityAsMob(Entity par1Entity)
|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
boolean |
canMateWith(EntityAnimal par1EntityAnimal)
Returns true if the mob is currently able to mate with the specified mob. |
void |
func_70918_i(boolean par1)
|
boolean |
func_70922_bv()
|
float |
getEyeHeight()
|
float |
getInterestedAngle(float par1)
|
int |
getMaxHealth()
|
int |
getMaxSpawnedInChunk()
Will return how many at most can spawn in a chunk at once. |
float |
getShadingWhileShaking(float par1)
|
float |
getShakeAngle(float par1,
float par2)
|
float |
getTailRotation()
|
String |
getTexture()
|
int |
getVerticalFaceSpeed()
The speed it takes to move the entityliving's rotationPitch through the faceEntity method. |
boolean |
getWolfShaking()
|
void |
handleHealthUpdate(byte par1)
|
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 |
boolean |
isAngry()
Determines whether this wolf is angry or not. |
boolean |
isWheat(ItemStack par1ItemStack)
Checks if the parameter is an wheat item. |
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required. |
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 |
setAngry(boolean par1)
Sets whether this wolf is angry or not. |
void |
setAttackTarget(EntityLiving par1EntityLiving)
Sets the active target the Task system uses for tracking |
EntityAnimal |
spawnBabyAnimal(EntityAnimal par1EntityAnimal)
This function is used when two same-species animals in 'love mode' breed to generate the new baby animal. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.src.EntityTameable |
---|
func_70907_r, getOwner, getOwnerName, isSitting, isTamed, setOwner, setSitting, setTamed |
Methods inherited from class net.minecraft.src.EntityAnimal |
---|
getBlockPathWeight, getCanSpawnHere, getTalkInterval, isInLove, resetInLove |
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 EntityWolf(World par1World)
Method Detail |
---|
public boolean isAIEnabled()
public void setAttackTarget(EntityLiving par1EntityLiving)
setAttackTarget
in class EntityLiving
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public String getTexture()
getTexture
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityTameable
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityTameable
public void onLivingUpdate()
onLivingUpdate
in class EntityAnimal
public void onUpdate()
onUpdate
in class EntityLiving
public boolean getWolfShaking()
public float getShadingWhileShaking(float par1)
public float getShakeAngle(float par1, float par2)
public float getInterestedAngle(float par1)
public float getEyeHeight()
getEyeHeight
in class EntityLiving
public int getVerticalFaceSpeed()
getVerticalFaceSpeed
in class EntityLiving
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class EntityAnimal
public boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob
in class EntityLiving
public boolean interact(EntityPlayer par1EntityPlayer)
interact
in class EntityAnimal
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class EntityTameable
public float getTailRotation()
public boolean isWheat(ItemStack par1ItemStack)
isWheat
in class EntityAnimal
public int getMaxSpawnedInChunk()
getMaxSpawnedInChunk
in class EntityLiving
public boolean isAngry()
public void setAngry(boolean par1)
public EntityAnimal spawnBabyAnimal(EntityAnimal par1EntityAnimal)
spawnBabyAnimal
in class EntityAnimal
public void func_70918_i(boolean par1)
public boolean canMateWith(EntityAnimal par1EntityAnimal)
canMateWith
in class EntityAnimal
public boolean func_70922_bv()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |