public class ChargeableItemHandler extends BaseItemStackHandler
te| Constructor and Description |
|---|
ChargeableItemHandler(TileEntityChargingStation te) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItemValid(int slot,
net.minecraft.item.ItemStack itemStack) |
protected void |
onContentsChanged(int slot) |
void |
writeToNBT() |
insertItempublic ChargeableItemHandler(TileEntityChargingStation te)
protected void onContentsChanged(int slot)
onContentsChanged in class BaseItemStackHandlerpublic void writeToNBT()
public boolean isItemValid(int slot,
net.minecraft.item.ItemStack itemStack)
isItemValid in interface net.minecraftforge.items.IItemHandlerisItemValid in class net.minecraftforge.items.ItemStackHandler