|
||||||||||
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
public abstract class EntityCreature
Field Summary |
---|
Constructor Summary | |
---|---|
EntityCreature(World par1World)
|
Method Summary | |
---|---|
float |
getBlockPathWeight(int par1,
int par2,
int par3)
Takes a coordinate in and returns a weight to determine how likely this creature will try to path to the block. |
boolean |
getCanSpawnHere()
Checks if the entity's current position is a valid location to spawn this entity. |
Entity |
getEntityToAttack()
Returns current entities target |
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. |
boolean |
hasPath()
Returns true if entity has a path to follow |
void |
setPathToEntity(PathEntity par1PathEntity)
sets the Entities walk path in EntityCreature |
void |
setTarget(Entity par1Entity)
Sets the entity which is to be attacked. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityCreature(World par1World)
Method Detail |
---|
public float getBlockPathWeight(int par1, int par2, int par3)
public boolean getCanSpawnHere()
getCanSpawnHere
in class EntityLiving
public boolean hasPath()
public void setPathToEntity(PathEntity par1PathEntity)
public Entity getEntityToAttack()
public void setTarget(Entity par1Entity)
public float getSpeedModifier()
getSpeedModifier
in class EntityLiving
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |