Posted July 16, 20169 yr setPotionEffect has changed with 1.9.4. It doesn't work with the renames of the potion effects. this.setPotionEffect(MobEffects.POISON, 10, 0, 0.6F);
July 16, 20169 yr It would help if you told us which class this method is a part of. If it's ItemFood , the new signature is ItemFood#setPotionEffect(PotionEffect, float) ; i.e. you need to create the PotionEffect yourself instead of passing the Potion , amplifier and duration to ItemFood . Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.