public class InventoryCentrifuge extends InventoryAdapterTile<TileCentrifuge>
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_PRODUCT_1 |
static int |
SLOT_PRODUCT_COUNT |
static int |
SLOT_RESOURCE |
tile| Constructor and Description |
|---|
InventoryCentrifuge(TileCentrifuge centrifuge) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side) |
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
markDirtycanInsertItem, isItemValidForSlotclear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, hasCustomName, isEmpty, isLocked, isUsableByPlayer, openInventory, readData, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeData, writeToNBTpublic static final int SLOT_RESOURCE
public static final int SLOT_PRODUCT_1
public static final int SLOT_PRODUCT_COUNT
public InventoryCentrifuge(TileCentrifuge centrifuge)
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 InventoryAdapterpublic boolean canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterTile<TileCentrifuge>