so I am trying to set up a sword with a withering effect on left click or attack, but the idea is that the effect will be stronger or weaker depending on the dimension. so I want it to see which dimension the player is in if it is the right one then test for living entity and if both are true then add withering. I have the living entity tester, but I can't figure out how to add the dimension checker. I am on Minecraft version 1.20.1 and Forge version 47.2.0, with parchment mappings version 2023.09.03-1.20.1
Thanks in advance for any help!