Uses of Class
net.glowstone.entity.ai.EntityTask
-
Uses of EntityTask in net.glowstone.entity.ai
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionTaskManager.getNewTask(String name)
Returns a new instance of the task with a given name.TaskManager.getTask(Class<? extends EntityTask> clazz)
Returns the existing task whose class is exactly a given class (and not a subclass -- this will always return null for an abstract type).Returns the existing task with a given name.Modifier and TypeMethodDescriptionstatic Class<? extends EntityTask>
EntityDirector.getEntityTask(String name)
Returns the class registered for a given task name.Modifier and TypeMethodDescriptionvoid
TaskManager.addTask(EntityTask task)
Add the given task, replacing any existing task with the same name.void
TaskManager.cancel(EntityTask task)
Cancels and unregisters the given task.int
EntityTask.compareTo(EntityTask other)
Modifier and TypeMethodDescriptionTaskManager.getTask(Class<? extends EntityTask> clazz)
Returns the existing task whose class is exactly a given class (and not a subclass -- this will always return null for an abstract type).static void
EntityDirector.registerEntityTask(@NonNls String name, Class<? extends EntityTask> task)
Registers a class for a given task name.