|
||||||||||
| 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.EntityAgeable
net.minecraft.entity.passive.EntityAnimal
net.minecraft.entity.passive.EntityTameable
net.minecraft.entity.passive.EntityWolf
public class EntityWolf
| Field Summary |
|---|
| Fields inherited from class net.minecraft.entity.passive.EntityAnimal |
|---|
inLove |
| 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. |
EntityAgeable |
createChild(EntityAgeable par1EntityAgeable)
|
void |
func_70918_i(boolean par1)
|
boolean |
func_70922_bv()
|
int |
getCollarColor()
Return this wolf's collar color. |
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 |
isBreedingItem(ItemStack par1ItemStack)
Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type) |
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 |
void |
setCollarColor(int par1)
Set this wolf's collar color. |
EntityWolf |
spawnBabyAnimal(EntityAgeable par1EntityAgeable)
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.entity.passive.EntityTameable |
|---|
func_70907_r, getOwner, getOwnerName, isSitting, isTamed, setOwner, setSitting, setTamed |
| Methods inherited from class net.minecraft.entity.passive.EntityAnimal |
|---|
getBlockPathWeight, getCanSpawnHere, getTalkInterval, isInLove, resetInLove |
| Methods inherited from class net.minecraft.entity.EntityAgeable |
|---|
getGrowingAge, isChild, setGrowingAge |
| Methods inherited from class net.minecraft.entity.EntityCreature |
|---|
getEntityToAttack, getSpeedModifier, 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 EntityLivingpublic int getMaxHealth()
getMaxHealth in class EntityLivingpublic String getTexture()
getTexture in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityTameablepublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityTameablepublic void onLivingUpdate()
onLivingUpdate in class EntityAnimalpublic void onUpdate()
onUpdate in class EntityLivingpublic 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 EntityLivingpublic int getVerticalFaceSpeed()
getVerticalFaceSpeed in class EntityLiving
public boolean attackEntityFrom(DamageSource par1DamageSource,
int par2)
attackEntityFrom in class EntityAnimalpublic boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob in class EntityLivingpublic boolean interact(EntityPlayer par1EntityPlayer)
interact in class EntityAnimalpublic void handleHealthUpdate(byte par1)
handleHealthUpdate in class EntityTameablepublic float getTailRotation()
public boolean isBreedingItem(ItemStack par1ItemStack)
isBreedingItem in class EntityAnimalpublic int getMaxSpawnedInChunk()
getMaxSpawnedInChunk in class EntityLivingpublic boolean isAngry()
public void setAngry(boolean par1)
public int getCollarColor()
public void setCollarColor(int par1)
public EntityWolf spawnBabyAnimal(EntityAgeable par1EntityAgeable)
public void func_70918_i(boolean par1)
public boolean canMateWith(EntityAnimal par1EntityAnimal)
canMateWith in class EntityAnimalpublic boolean func_70922_bv()
public EntityAgeable createChild(EntityAgeable par1EntityAgeable)
createChild in class EntityAgeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||