Posted August 18, 20205 yr As the title suggests, I'm having no luck trying to figure this one out. Edited August 25, 20205 yr by squidlex
August 18, 20205 yr 26 minutes ago, squidlex said: As the title suggests, I'm having no luck trying to figure this one out. You could perhaps listen to the PotionRemoveEvent and check for a specific effect, and then cancel the event.
August 25, 20205 yr Author On 8/18/2020 at 1:32 PM, vemerion said: PotionRemoveEvent Thanks for the tip! I tried this out but it also means it can't be cured by commands which could be useful for another case if you're looking at this in the future On 8/18/2020 at 2:09 PM, diesieben07 said: Override getCurativeItems in your Effect class and do not include the milk bucket. I went for this and it worked a charm, thank you both!
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.