Posted August 18, 201510 yr I been working on a mod that allows you to teleport between the nether and the overworld without the use of a nether portal. However, while this seems to work with the nether, when going into the Overworld, the chunks don't appear to be loading and it resembles what mystcraft worlds look like before there chunks load. Anyone know what I am doing wrong. Here is my code: http://pastebin.com/mpxchyvj Note, I am making this mod for both 1.7.10 and 1.8, so I kinda backported the BlockPos from 1.8 to 1.7.10 for my own purposes, which is why its in the 1.7.10 code. Edit: Pastebin link changed, due to link expired. Also ignore the LoadChuck Method, I just put that in when testing out a few ideas.
August 18, 201510 yr If you log out and log back in, does the world look right? Long time Bukkit & Forge Programmer Happy to try and help
August 18, 201510 yr Author Yes, you see the chunk loading when you re-log the game. But I like to prevent the need to do that.
August 18, 201510 yr I've been fighting that too. I haven't figured out the exact cause yet, but have narrowed it down. It only seems to happen going back to world 0. I have multiple overworld/nether/end world sets and it doesn't happen with any of them. It also doesn't seem to happen when going through a portal. It only really seems to happen on teleport to world 0 without a portal. I'll post my relevant code when i get home tonight and maybe between the two of us comparing, we can figure it out. That is unless some other kind soul had the solution. Long time Bukkit & Forge Programmer Happy to try and help
August 18, 201510 yr Sorry, but the code you have posted just creates portal blocks. So i can't figure out what's wrong, because my non portal interdimensional teleporter works fine... Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
August 30, 201510 yr Author There is no other code besides the transferPlayer function with using this teleporter, the other dim id, and the other dim's world server.
October 25, 20159 yr Author I know its been a while, but I still can't figure this out. The only other code besides what I have posted is the transfer player code, which is. entityPlayerMP.mcServer.getConfigurationManager().transferPlayerToDimension(entityPlayerMP, resultId, new SpaceGemTeleporter(worldServer.getMinecraftServer().worldServerForDimension(resultId)));
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.