|
||||||||||
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.EntityWitch
public class EntityWitch
Field Summary |
---|
Fields inherited from interface net.minecraft.entity.monster.IMob |
---|
mobSelector |
Constructor Summary | |
---|---|
EntityWitch(World par1World)
|
Method Summary | |
---|---|
void |
attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
Attack the specified entity using a ranged attack. |
boolean |
getAggressive()
Return whether this witch is aggressive at an entity. |
int |
getMaxHealth()
|
float |
getSpeedModifier()
This method returns a value to be applied directly to entity speed, this factor is less than 1 when a slowdown potion effect is applied, more than 1 when a haste potion effect is applied and 2 for fleeing entities. |
void |
handleHealthUpdate(byte par1)
|
boolean |
isAIEnabled()
Returns true if the newer Entity AI code should be run |
void |
onLivingUpdate()
Called frequently so the entity can update its state every tick as required. |
void |
setAggressive(boolean par1)
Set whether this witch is aggressive at an entity. |
Methods inherited from class net.minecraft.entity.monster.EntityMob |
---|
attackEntityAsMob, attackEntityFrom, getAttackStrength, getBlockPathWeight, getCanSpawnHere, onUpdate |
Methods inherited from class net.minecraft.entity.EntityCreature |
---|
getEntityToAttack, hasPath, setPathToEntity, setTarget |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityWitch(World par1World)
Method Detail |
---|
public void setAggressive(boolean par1)
public boolean getAggressive()
public int getMaxHealth()
getMaxHealth
in class EntityLiving
public boolean isAIEnabled()
public void onLivingUpdate()
onLivingUpdate
in class EntityMob
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class EntityLiving
public float getSpeedModifier()
getSpeedModifier
in class EntityCreature
public void attackEntityWithRangedAttack(EntityLiving par1EntityLiving)
attackEntityWithRangedAttack
in interface IRangedAttackMob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |