Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.7.10] and [1.8] Overworld doesn't load with custom teleporter

Featured Replies

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.

If you log out and log back in, does the world look right?

Long time Bukkit & Forge Programmer

Happy to try and help

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...
  • 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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.