need help with swicthing locations procedure, also maybe a bug

Started by HamburgerKitty on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
need help with swicthing locations procedure, also maybe a bug
Sun, 12/18/2022 - 00:15 (edited)

I am working on a mod, there are two items I am currently having an issue with, one takes you to the nether, the other brings you back to the surface.. I stripped the rest of the code out because that doesn't cause an issue, and it's a secret... :D.. Below is a screenshot of the procedures, the one on the left gets used with the item in the Nether and takes you back to the surface, that part actually works fine, and brings you to the world spawn or bed spawn, the one on the right gets used with the item on the surface and takes you to the Nether..

The problem that i am having is the water blocks (I'm not using water, this is only there for demonstration purposes) don't spawn when you go to the Nether, but instead spawn when you use the item to return back to the Surface..

I have used new worlds to test multiple times, but I cannot get it to work right, and I don't know what to do..

I don't mind changing things a bit in my mod to get it working how it needs to work for user satisfaction, and I've already thought up lore for why the items work how they do, doing it a different way than intended or would feel "normal".. But I'd rather do it the primary way...

If Klemen or a moderator would like to see my workspace so you can see it in person, I'd gladly share it, in private. The mod that i am working on is special to me, and I don't want people to see under the covers.. :P

Thank you for your time.. Also, I am working on 2022.3  MC1.19.2..

 

Edited by HamburgerKitty on Sun, 12/18/2022 - 00:15