|
||||||||||
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.monster.EntityMob
net.minecraft.entity.monster.EntitySkeleton
public class EntitySkeleton
Field Summary |
---|
Fields inherited from interface net.minecraft.entity.monster.IMob |
---|
mobSelector |
Constructor Summary | |
---|---|
EntitySkeleton(World par1World)
|
Method Summary | |
---|---|
boolean |
attackEntityAsMob(Entity par1Entity)
|
void |
attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
Attack the specified entity using a ranged attack. |
void |
func_85036_m()
|
int |
getAttackStrength(Entity par1Entity)
Returns the amount of damage a mob should deal. |
EnumCreatureAttribute |
getCreatureAttribute()
Get this Entity's EnumCreatureAttribute |
int |
getMaxHealth()
|
int |
getSkeletonType()
Return this skeleton's type. |
String |
getTexture()
|
void |
initCreature()
Initialize this creature. |
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 |
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 |
setCurrentItemOrArmor(int par1,
ItemStack par2ItemStack)
Sets the held item, or an armor slot. |
void |
setSkeletonType(int par1)
Set this skeleton's type. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.entity.monster.EntityMob |
---|
attackEntityFrom, getBlockPathWeight, getCanSpawnHere, onUpdate |
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 EntitySkeleton(World par1World)
Method Detail |
---|
public boolean isAIEnabled()
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob
in class EntityMob
public int getAttackStrength(Entity par1Entity)
getAttackStrength
in class EntityMob
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLiving
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void onDeath(DamageSource par1DamageSource)
onDeath
in class EntityLiving
public String getTexture()
getTexture
in class EntityLiving
public void initCreature()
initCreature
in class EntityLiving
public void func_85036_m()
public void attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
attackEntityWithRangedAttack
in interface IRangedAttackMob
public int getSkeletonType()
public void setSkeletonType(int par1)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
setCurrentItemOrArmor
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |