Jump to content

LoneWolf58

Members
  • Posts

    3
  • Joined

  • Last visited

LoneWolf58's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. SOLVED With the help of some people on Discord I got this solved. it's if (entity.level().dimension() == Level.OVERWORLD) to test if your player is in the overworld, and you would change that depending on need. Thanks for the help!
  2. 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!
  3. I am trying to do the same thing but it's telling me that "level" in player.level.levelinfo.dimension. is private. I am on 1.20.1 with parchment mappings 2023.09.03-1.20.1 Thanks in advance for any help!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.