|
||||||||||
| 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 EntityLivingpublic boolean attackEntityAsMob(Entity par1Entity)
attackEntityAsMob in class EntityMobpublic int getAttackStrength(Entity par1Entity)
getAttackStrength in class EntityMobpublic EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute in class EntityLivingpublic void onLivingUpdate()
onLivingUpdate in class EntityMobpublic void onDeath(DamageSource par1DamageSource)
onDeath in class EntityLivingpublic String getTexture()
getTexture in class EntityLivingpublic void initCreature()
initCreature in class EntityLivingpublic void func_85036_m()
public void attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
attackEntityWithRangedAttack in interface IRangedAttackMobpublic int getSkeletonType()
public void setSkeletonType(int par1)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityLivingpublic 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 | |||||||||