public interface IRequestProvider
| Modifier and Type | Method and Description |
|---|---|
StackRequest |
getAvailableRequest(int i)
Return the stack requested in slot i, provided that this request is not
in process of being provided by a robot.
|
int |
getNumberOfRequests()
Return the total number of request slots available from this provider.
|
net.minecraft.item.ItemStack |
provideItemsForRequest(int i,
net.minecraft.item.ItemStack stack)
Provide a stack to fulfill request at index i.
|
boolean |
takeRequest(int i,
EntityRobotBase robot)
Allocate the request at slot i to the robot given in parameter, and
return true if the allocation is successful.
|
int getNumberOfRequests()
StackRequest getAvailableRequest(int i)
boolean takeRequest(int i,
EntityRobotBase robot)
net.minecraft.item.ItemStack provideItemsForRequest(int i,
net.minecraft.item.ItemStack stack)