YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.ai.EntityAIWatchClosest Class Reference
Inheritance diagram for net.minecraft.entity.ai.EntityAIWatchClosest:
net.minecraft.entity.ai.EntityAIBase net.minecraft.entity.ai.EntityAILookAtTradePlayer net.minecraft.entity.ai.EntityAIWatchClosest2

Public Member Functions

 EntityAIWatchClosest (EntityLiving par1EntityLiving, Class par2Class, float par3)
 
 EntityAIWatchClosest (EntityLiving par1EntityLiving, Class par2Class, float par3, float par4)
 
boolean shouldExecute ()
 
boolean continueExecuting ()
 
void startExecuting ()
 
void resetTask ()
 
void updateTask ()
 
- Public Member Functions inherited from net.minecraft.entity.ai.EntityAIBase
boolean continueExecuting ()
 
boolean isInterruptible ()
 
void startExecuting ()
 
void resetTask ()
 
void updateTask ()
 
void setMutexBits (int par1)
 
int getMutexBits ()
 

Protected Attributes

Entity closestEntity
 

Constructor & Destructor Documentation

net.minecraft.entity.ai.EntityAIWatchClosest.EntityAIWatchClosest ( EntityLiving  par1EntityLiving,
Class  par2Class,
float  par3 
)
net.minecraft.entity.ai.EntityAIWatchClosest.EntityAIWatchClosest ( EntityLiving  par1EntityLiving,
Class  par2Class,
float  par3,
float  par4 
)

Member Function Documentation

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

Returns whether an in-progress EntityAIBase should continue executing

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

Resets the task

boolean net.minecraft.entity.ai.EntityAIWatchClosest.shouldExecute ( )
virtual

Returns whether the EntityAIBase should begin execution.

Implements net.minecraft.entity.ai.EntityAIBase.

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

Execute a one shot task or start executing a continuous task

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

Updates the task

Member Data Documentation

Entity net.minecraft.entity.ai.EntityAIWatchClosest.closestEntity
protected

The closest entity which is being watched by this one.


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