YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.ai.EntityAIBase Class Referenceabstract
Inheritance diagram for net.minecraft.entity.ai.EntityAIBase:
net.minecraft.entity.ai.EntityAIArrowAttack net.minecraft.entity.ai.EntityAIAttackOnCollide net.minecraft.entity.ai.EntityAIAvoidEntity net.minecraft.entity.ai.EntityAIBeg net.minecraft.entity.ai.EntityAIControlledByPlayer net.minecraft.entity.ai.EntityAICreeperSwell net.minecraft.entity.ai.EntityAIDoorInteract net.minecraft.entity.ai.EntityAIEatGrass net.minecraft.entity.ai.EntityAIFleeSun net.minecraft.entity.ai.EntityAIFollowGolem net.minecraft.entity.ai.EntityAIFollowOwner net.minecraft.entity.ai.EntityAIFollowParent net.minecraft.entity.ai.EntityAILeapAtTarget net.minecraft.entity.ai.EntityAILookAtVillager net.minecraft.entity.ai.EntityAILookIdle net.minecraft.entity.ai.EntityAIMate net.minecraft.entity.ai.EntityAIMoveIndoors net.minecraft.entity.ai.EntityAIMoveThroughVillage net.minecraft.entity.ai.EntityAIMoveTowardsTarget net.minecraft.entity.ai.EntityAIMoveTwardsRestriction net.minecraft.entity.ai.EntityAIOcelotAttack net.minecraft.entity.ai.EntityAIOcelotSit net.minecraft.entity.ai.EntityAIPanic net.minecraft.entity.ai.EntityAIPlay net.minecraft.entity.ai.EntityAIRestrictOpenDoor net.minecraft.entity.ai.EntityAIRestrictSun net.minecraft.entity.ai.EntityAISit net.minecraft.entity.ai.EntityAISwimming net.minecraft.entity.ai.EntityAITarget net.minecraft.entity.ai.EntityAITempt net.minecraft.entity.ai.EntityAITradePlayer net.minecraft.entity.ai.EntityAIVillagerMate net.minecraft.entity.ai.EntityAIWander net.minecraft.entity.ai.EntityAIWatchClosest

Public Member Functions

abstract boolean shouldExecute ()
 
boolean continueExecuting ()
 
boolean isInterruptible ()
 
void startExecuting ()
 
void resetTask ()
 
void updateTask ()
 
void setMutexBits (int par1)
 
int getMutexBits ()
 

Member Function Documentation

boolean net.minecraft.entity.ai.EntityAIBase.continueExecuting ( )

Returns whether an in-progress EntityAIBase should continue executing

int net.minecraft.entity.ai.EntityAIBase.getMutexBits ( )

Get a bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other.

boolean net.minecraft.entity.ai.EntityAIBase.isInterruptible ( )

Determine if this AI Task is interruptible by a higher (= lower value) priority task.

void net.minecraft.entity.ai.EntityAIBase.resetTask ( )

Resets the task

void net.minecraft.entity.ai.EntityAIBase.setMutexBits ( int  par1)

Sets a bitmask telling which other tasks may not run concurrently. The test is a simple bitwise AND - if it yields zero, the two tasks may run concurrently, if not - they must run exclusively from each other.

abstract boolean net.minecraft.entity.ai.EntityAIBase.shouldExecute ( )
pure virtual

Returns whether the EntityAIBase should begin execution.

Implemented in net.minecraft.entity.ai.EntityAIArrowAttack, net.minecraft.entity.ai.EntityAIControlledByPlayer, net.minecraft.entity.ai.EntityAITempt, net.minecraft.entity.ai.EntityAIAvoidEntity, net.minecraft.entity.ai.EntityAIAttackOnCollide, net.minecraft.entity.ai.EntityAINearestAttackableTarget, net.minecraft.entity.ai.EntityAIOcelotSit, net.minecraft.entity.ai.EntityAIWatchClosest, net.minecraft.entity.ai.EntityAIMate, net.minecraft.entity.ai.EntityAIFollowOwner, net.minecraft.entity.ai.EntityAIMoveThroughVillage, net.minecraft.entity.ai.EntityAIDoorInteract, net.minecraft.entity.ai.EntityAILookIdle, net.minecraft.entity.ai.EntityAIFleeSun, net.minecraft.entity.ai.EntityAIBeg, net.minecraft.entity.ai.EntityAIMoveTowardsTarget, net.minecraft.entity.ai.EntityAILeapAtTarget, net.minecraft.entity.ai.EntityAIVillagerMate, net.minecraft.entity.ai.EntityAIDefendVillage, net.minecraft.entity.ai.EntityAIEatGrass, net.minecraft.entity.ai.EntityAIHurtByTarget, net.minecraft.entity.ai.EntityAIPlay, net.minecraft.entity.ai.EntityAICreeperSwell, net.minecraft.entity.ai.EntityAIMoveIndoors, net.minecraft.entity.ai.EntityAIMoveTwardsRestriction, net.minecraft.entity.ai.EntityAIFollowGolem, net.minecraft.entity.ai.EntityAIFollowParent, net.minecraft.entity.ai.EntityAIPanic, net.minecraft.entity.ai.EntityAIWander, net.minecraft.entity.ai.EntityAIOcelotAttack, net.minecraft.entity.ai.EntityAISit, net.minecraft.entity.ai.EntityAILookAtVillager, net.minecraft.entity.ai.EntityAIOwnerHurtByTarget, net.minecraft.entity.ai.EntityAIOwnerHurtTarget, net.minecraft.entity.ai.EntityAIRestrictOpenDoor, net.minecraft.entity.ai.EntityAITradePlayer, net.minecraft.entity.ai.EntityAILookAtTradePlayer, net.minecraft.entity.ai.EntityAISwimming, net.minecraft.entity.ai.EntityAIBreakDoor, net.minecraft.entity.ai.EntityAITargetNonTamed, and net.minecraft.entity.ai.EntityAIRestrictSun.

void net.minecraft.entity.ai.EntityAIBase.startExecuting ( )

Execute a one shot task or start executing a continuous task

void net.minecraft.entity.ai.EntityAIBase.updateTask ( )

Updates the task


The documentation for this class was generated from the following file: