public final class SidedInventoryWrapper extends AbstractInvItemTransactor
IItemTransactor.IItemExtractable, IItemTransactor.IItemInsertable
Constructor and Description |
---|
SidedInventoryWrapper(net.minecraft.inventory.ISidedInventory sided,
net.minecraft.util.EnumFacing face) |
Modifier and Type | Method and Description |
---|---|
protected net.minecraft.item.ItemStack |
extract(int externalSlot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
protected int |
getSlots() |
protected net.minecraft.item.ItemStack |
insert(int externalSlot,
net.minecraft.item.ItemStack stack,
boolean simulate) |
protected boolean |
isEmpty(int slot) |
asValid, extract, insert, insert, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canFullyAccept, canPartiallyAccept
public SidedInventoryWrapper(net.minecraft.inventory.ISidedInventory sided, net.minecraft.util.EnumFacing face)
@Nonnull protected net.minecraft.item.ItemStack insert(int externalSlot, @Nonnull net.minecraft.item.ItemStack stack, boolean simulate)
insert
in class AbstractInvItemTransactor
@Nonnull protected net.minecraft.item.ItemStack extract(int externalSlot, IStackFilter filter, int min, int max, boolean simulate)
extract
in class AbstractInvItemTransactor
protected int getSlots()
getSlots
in class AbstractInvItemTransactor
protected boolean isEmpty(int slot)
isEmpty
in class AbstractInvItemTransactor