public final class ItemHandlerWrapper extends AbstractInvItemTransactor
IItemTransactor.IItemExtractable, IItemTransactor.IItemInsertable| Constructor and Description |
|---|
ItemHandlerWrapper(net.minecraftforge.items.IItemHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.item.ItemStack |
extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate) |
protected int |
getSlots() |
protected net.minecraft.item.ItemStack |
insert(int slot,
net.minecraft.item.ItemStack stack,
boolean simulate) |
protected boolean |
isEmpty(int slot) |
asValid, extract, insert, insert, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanFullyAccept, canPartiallyAcceptpublic ItemHandlerWrapper(net.minecraftforge.items.IItemHandler handler)
@Nonnull
protected net.minecraft.item.ItemStack insert(int slot,
@Nonnull
net.minecraft.item.ItemStack stack,
boolean simulate)
insert in class AbstractInvItemTransactor@Nonnull
protected net.minecraft.item.ItemStack extract(int slot,
IStackFilter filter,
int min,
int max,
boolean simulate)
extract in class AbstractInvItemTransactorprotected int getSlots()
getSlots in class AbstractInvItemTransactorprotected boolean isEmpty(int slot)
isEmpty in class AbstractInvItemTransactor