public interface IRequestProvider
offerItem(int, ItemStack), but it is not
recommended that this is frequent, since the request delivery won't fail
until it is offered the previous request.| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getRequest(int slot)
Return a stack with the request in the slot.
|
int |
getRequestsCount()
Return the total number of request slots available from this provider.
|
net.minecraft.item.ItemStack |
offerItem(int slot,
net.minecraft.item.ItemStack stack)
Fulfill the request in slot with the stack given and return any excess.
|
int getRequestsCount()
net.minecraft.item.ItemStack getRequest(int slot)
slot - net.minecraft.item.ItemStack offerItem(int slot,
net.minecraft.item.ItemStack stack)
slot - stack -