Jump to content

Recommended Posts

Posted

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.

Posted

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

  • 2 weeks later...
  • 1 month later...
Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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