How to make potion effects last fovever?

Started by minecraftepic on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make potion effects last fovever?

I'm trying to procedure where when you enter my custom dimension it gives you an effect that last forever and goes away when you leave the dimension. so far i can only make the effect last for 13 hours

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you can do -1 for…
Mon, 10/13/2025 - 18:12

I think you can do -1 for the duration, but it'd be better to just on player tick apply the effect for one second if they're in the dimension.