|
||||||||||
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.boss.EntityWither
public class EntityWither
Field Summary |
---|
Fields inherited from interface net.minecraft.entity.monster.IMob |
---|
mobSelector |
Constructor Summary | |
---|---|
EntityWither(World par1World)
|
Method Summary | |
---|---|
void |
addPotionEffect(PotionEffect par1PotionEffect)
adds a PotionEffect to the entity |
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
void |
attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
Attack the specified entity using a ranged attack. |
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity. |
void |
func_82206_m()
|
float |
func_82207_a(int par1)
|
float |
func_82210_r(int par1)
|
void |
func_82211_c(int par1,
int par2)
|
int |
func_82212_n()
|
void |
func_82215_s(int par1)
|
int |
getBrightnessForRender(float par1)
|
EnumCreatureAttribute |
getCreatureAttribute()
Get this Entity's EnumCreatureAttribute |
int |
getDragonHealth()
Returns the health points of the dragon. |
int |
getMaxHealth()
|
float |
getShadowSize()
|
String |
getTexture()
|
int |
getTotalArmorValue()
Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue |
int |
getWatchedTargetId(int par1)
Returns the target entity ID if present, or -1 if not @param par1 The target offset, should be from 0-2 |
boolean |
isArmored()
Returns whether the wither is armored with its boss armor or not by checking whether its health is below half of its maximum. |
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 |
setInWeb()
Sets the Entity inside a web block. |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class net.minecraft.entity.monster.EntityMob |
---|
attackEntityAsMob, getAttackStrength, 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 |
Methods inherited from interface net.minecraft.entity.boss.IBossDisplayData |
---|
getEntityName |
Constructor Detail |
---|
public EntityWither(World par1World)
Method Detail |
---|
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityLiving
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityLiving
public float getShadowSize()
getShadowSize
in class Entity
public String getTexture()
getTexture
in class EntityLiving
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void func_82206_m()
public void setInWeb()
setInWeb
in class Entity
public int getTotalArmorValue()
getTotalArmorValue
in class EntityLiving
public void attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
attackEntityWithRangedAttack
in interface IRangedAttackMob
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class EntityMob
public int getBrightnessForRender(float par1)
getBrightnessForRender
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class EntityLiving
public int getDragonHealth()
getDragonHealth
in interface IBossDisplayData
public void addPotionEffect(PotionEffect par1PotionEffect)
addPotionEffect
in class EntityLiving
public int getMaxHealth()
getMaxHealth
in interface IBossDisplayData
getMaxHealth
in class EntityLiving
public float func_82207_a(int par1)
public float func_82210_r(int par1)
public int func_82212_n()
public void func_82215_s(int par1)
public int getWatchedTargetId(int par1)
public void func_82211_c(int par1, int par2)
public boolean isArmored()
public EnumCreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |