effect package Item, and wrapper around it is ItemStack.Also, I personally prefer EffectDamageModifier to EffectDamage, despite it's a bit longer.
List of classes to cnange:
PotionEffect -> EffectStack
PotionEffectType -> Effect
PotionEffectTypeAbsorption -> EffectAbsorption
PotionEffectTypeDamage -> EffectDamageModifier
PotionEffectTypeHealthBoost -> EffectHealthBoost
PotionEffectTypeInstant -> EffectInstant
PotionEffectTypes -> Effects
PotionEffectUtil -> EffectUtils
There's another precedent: AttributeInstance. Likewise, we could use EffectInstance. ItemStack relates to the stackability of Items, which potion effects, well, don't.
In fact, official nomenclature refers to them as "mob effects". So MobEffect and MobEffectInstance it is.
Most helpful comment
There's another precedent: AttributeInstance. Likewise, we could use EffectInstance. ItemStack relates to the stackability of Items, which potion effects, well, don't.