public interface IItemHandlerFiltered
extends net.minecraftforge.items.IItemHandler
IItemHandler that has a single valid stack per slot, as specified by getFilter(int).| Modifier and Type | Method and Description |
|---|---|
default net.minecraft.item.ItemStack |
getFilter(int slot) |
default net.minecraft.item.ItemStack getFilter(int slot)
slot - the slot to testItemStack.EMPTY if this is not filtered to a single item (for
example if this will match against a few stacks, or nothing is allowed). Will be equal to
IItemHandler.getStackInSlot(int) if the slot currently contains an item.