public ItemStack apply(Integer potionID) {
return new ItemStack(potionitem, 1, potionID);
}
}));
API.addSubset("Items.Potions", new ItemStackSet().with(potionitem));
API.addSubset("Items.Potions.Splash", new ItemFilter()
{
@Override
public boolean matches(ItemStack item) {
return item.getItem() == potionitem && (item.getItemDamage() & 0x4000) != 0;
}