public interface IRobotTaskProvider
| Modifier and Type | Method and Description |
|---|---|
IRobotTask |
getNextTask(EntityRobot robot)
Returns the next task that can be given to the robot in parameter.
|
net.minecraft.world.World |
getWorld() |
double |
getX()
Robots will pick up tasks that are provided within a certain range.
|
double |
getY() |
double |
getZ() |
boolean |
isActive()
If the provider is not active, it will be eventually removed from the
list of potential providers.
|
void |
popNextTask()
This is called once a task has been accepted, to be removed from the
list of available tasks.
|
double getX()
double getY()
double getZ()
net.minecraft.world.World getWorld()
boolean isActive()
IRobotTask getNextTask(EntityRobot robot)
void popNextTask()