@Override public boolean isItemValidForSlot(int slotID, ItemStack stack) { if (slotID == 3) { return PotionType.isPotionIngredient(stack); } else { return stack.getItem() instanceof ItemPotion2; } }
@Override public boolean isItemValidForSlot(int slotID, ItemStack stack) { if (slotID == 3) { return PotionType.isPotionIngredient(stack); } else { return stack.getItem() instanceof ItemPotion2; } }