public class InventoryMoistener extends InventoryAdapterTile<TileMoistener>
| Modifier and Type | Field and Description |
|---|---|
static short |
SLOT_PRODUCT |
static short |
SLOT_RESERVOIR_1 |
static short |
SLOT_RESERVOIR_COUNT |
static short |
SLOT_RESOURCE |
static short |
SLOT_STASH_1 |
static short |
SLOT_STASH_COUNT |
static short |
SLOT_WORKING |
tile| Constructor and Description |
|---|
InventoryMoistener(TileMoistener moistener) |
| 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 short SLOT_STASH_1
public static final short SLOT_STASH_COUNT
public static final short SLOT_RESERVOIR_1
public static final short SLOT_RESERVOIR_COUNT
public static final short SLOT_WORKING
public static final short SLOT_PRODUCT
public static final short SLOT_RESOURCE
public InventoryMoistener(TileMoistener moistener)
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<TileMoistener>