Posted June 14, 201213 yr Hey guys! Anyone here that knows how to add multiple potion effects to a food item? I could add one with this code: .setPotionEffect(Potion.regeneration.id, 100, 2, 1.0F) but more didn't work.
June 15, 201213 yr should be a function that when player eats an item it adds an effect. In the function just switch the effect by meta value of the item. http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
June 15, 201213 yr Author In the function just switch the effect by meta value of the item. I didn't understand this part. Can you explain it a bit more?
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.