Started by
Skittlq
on
Topic category: Help with Minecraft modding (Java Edition)
Pretty self-explanatory, I just need a way for a potion effect to not be cured when the player drinks Milk. Any ideas?
Topic category: Help with Minecraft modding (Java Edition)
Pretty self-explanatory, I just need a way for a potion effect to not be cured when the player drinks Milk. Any ideas?
put an nbt tag on the entity called "time left of effect" or something and decrease it each tick
and on when effect expires event (in potion effect's triggers) check if time left is more than 0, reapply the effect
Just do a procedure that gets the time left for the potion, and when players finishes drinking milk, give the effect again with the time left.