|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Entity
net.minecraft.src.EntityLiving
net.minecraft.src.EntityCreature
public abstract class EntityCreature
Field Summary |
---|
Fields inherited from class net.minecraft.src.EntityLiving |
---|
arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, legSwing, legYaw, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, tasks |
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 |
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |