public class ComparatorItemStackHandler extends BaseItemStackHandler
te| Constructor and Description |
|---|
ComparatorItemStackHandler(net.minecraft.tileentity.TileEntity te,
int invSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeNBT(net.minecraft.nbt.CompoundNBT nbt) |
int |
getComparatorValue()
Get the comparator level for this inventory.
|
void |
invalidateComparatorValue()
Force a recalculation of the comparator level.
|
protected void |
onContentsChanged(int slot) |
insertItempublic ComparatorItemStackHandler(net.minecraft.tileentity.TileEntity te,
int invSize)
protected void onContentsChanged(int slot)
onContentsChanged in class BaseItemStackHandlerpublic void deserializeNBT(net.minecraft.nbt.CompoundNBT nbt)
deserializeNBT in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>deserializeNBT in class net.minecraftforge.items.ItemStackHandlerpublic int getComparatorValue()
public void invalidateComparatorValue()