|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.entity.ai.EntityAIBase
net.minecraft.entity.ai.EntityAIControlledByPlayer
public class EntityAIControlledByPlayer
| Constructor Summary | |
|---|---|
EntityAIControlledByPlayer(EntityLiving par1EntityLiving,
float par2)
|
|
| Method Summary | |
|---|---|
void |
boostSpeed()
Boost the entity's movement speed. |
boolean |
isControlledByPlayer()
Return whether the entity is being controlled by a player. |
boolean |
isSpeedBoosted()
Return whether the entity's speed is boosted. |
void |
resetTask()
Resets the task |
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution. |
void |
startExecuting()
Execute a one shot task or start executing a continuous task |
void |
updateTask()
Updates the task |
| Methods inherited from class net.minecraft.entity.ai.EntityAIBase |
|---|
continueExecuting, getMutexBits, isContinuous, setMutexBits |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityAIControlledByPlayer(EntityLiving par1EntityLiving,
float par2)
| Method Detail |
|---|
public void startExecuting()
startExecuting in class EntityAIBasepublic void resetTask()
resetTask in class EntityAIBasepublic boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBasepublic boolean isSpeedBoosted()
public void boostSpeed()
public boolean isControlledByPlayer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||