Started by
Aieauwastaken
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make an effect that harms the player when the effect ends with time, but doesn't affect them when they drink milk. Is there a way to do this?
As far as i can see there is like 2 things wrong with what I did, The milk bucket gets ticked at 31 instead of 32 because if you set it to 32 it does not work, using an 'on player tick update' procedure I believe can lead to performance issues. Also replace weakness with whatever your effect is. I hope this can hold you over until you find better help or figure it out.