public class BaseItemStackHandler
extends net.minecraftforge.items.ItemStackHandler
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.tileentity.TileEntity |
te |
| Constructor and Description |
|---|
BaseItemStackHandler(int size) |
BaseItemStackHandler(net.minecraft.tileentity.TileEntity te,
int size) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
insertItem(int slot,
net.minecraft.item.ItemStack stack,
boolean simulate) |
protected void |
onContentsChanged(int slot) |
public BaseItemStackHandler(int size)
public BaseItemStackHandler(net.minecraft.tileentity.TileEntity te,
int size)
protected void onContentsChanged(int slot)
onContentsChanged in class net.minecraftforge.items.ItemStackHandler@Nonnull
public net.minecraft.item.ItemStack insertItem(int slot,
@Nonnull
net.minecraft.item.ItemStack stack,
boolean simulate)
insertItem in interface net.minecraftforge.items.IItemHandlerinsertItem in class net.minecraftforge.items.ItemStackHandler