public EnumItemRarity f(ItemStack itemstack) { return itemstack.hasEnchantments() ? EnumItemRarity.RARE : EnumItemRarity.COMMON; }