Started by
pedrolanza
on
Topic category: Help with Minecraft modding (Java Edition)
I'm creating a mod that add a new dimension, but I want the play get a weakness effect when he is at the dimension, how I do that?
Topic category: Help with Minecraft modding (Java Edition)
I'm creating a mod that add a new dimension, but I want the play get a weakness effect when he is at the dimension, how I do that?
This should work,
By using the global trigger On player tick update, you can actively check the player every tick for if they're in your custom dimension, and then apply the potion effect, as shows in the image below:
https://imgur.com/a/wIRwb1z
hope this helps!