execute unless entity @s[nbt={SelectedItem:{id:"minecraft:potion"}}] unless entity @s[nbt={equipment:{offhand:{id:"minecraft:potion"}}}] run summon experience_orb ~ ~ ~ {Value:3s}
advancement revoke @s only survivalplus:tools/armor/foodrobes