#Get potion effects from PotionItem 1.21
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
As title suggests, I'm trying to get potion effects from my PotionItem object, but I can't seem to find a way to do that. I saw that there used to be the PotionUtil class that could easily do that for me, but unfortunately it doesn't exists anymore. Can anyone help me find a way to do that ?
get the potion component and there's a method like getCustomEffects
How do I do that ?