public class InventoryApiary extends InventoryBeeHousing implements IApiaryInventory
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_FRAMES_1 |
static int |
SLOT_FRAMES_COUNT |
SLOT_DRONE, SLOT_PRODUCT_1, SLOT_PRODUCT_COUNT, SLOT_QUEEN| Constructor and Description |
|---|
InventoryApiary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
java.util.Collection<net.minecraft.util.Tuple<IHiveFrame,net.minecraft.item.ItemStack>> |
getFrames() |
boolean |
isItemValidForSlot(int slotIndex,
net.minecraft.item.ItemStack itemStack) |
void |
wearOutFrames(IBeeHousing beeHousing,
int amount) |
addProduct, canExtractItem, getDrone, getQueen, setDrone, setQueencanInsertItemclear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, hasCustomName, isEmpty, isLocked, isUsableByPlayer, markDirty, openInventory, readData, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeData, writeToNBTclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProduct, getDrone, getQueen, setDrone, setQueenpublic static final int SLOT_FRAMES_1
public static final int SLOT_FRAMES_COUNT
public boolean canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
IFilterSlotDelegateCombine this with Forestry's access permissions to implement isItemValidForSlot.
canSlotAccept in interface IFilterSlotDelegatecanSlotAccept in class InventoryBeeHousingpublic boolean isItemValidForSlot(int slotIndex,
net.minecraft.item.ItemStack itemStack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class InventoryAdapterRestrictedpublic java.util.Collection<net.minecraft.util.Tuple<IHiveFrame,net.minecraft.item.ItemStack>> getFrames()
public void wearOutFrames(IBeeHousing beeHousing, int amount)
wearOutFrames in interface IApiaryInventory