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.

Featured Replies

  • Author

line 35:

 

    public WorldType terrainType;

When you get a DiscoveredNoobException, make sure you ask the wrong question, get a stupid answer, and waste other people's time with them looking through the one unrelated class you posted in the body of your thread.

  • Author

Ok, so I was really stupid.

I shouldn't have copied WorldProvider and also extended it too. --_--

I found WorldProviderFlat in net.minecraft.world and copied that, changed package declaration and class name, and it works perfectly.

 

As I had portals for that dimension set up, I gave it a go and the dimension changing works too.

 

What a waste of three hours... >:( >:(>:(

 

The WHOLE custom world provider class is this:

package com.crafter6789.loztwiprincess.world.dimension;

import net.minecraft.world.WorldProvider;

public class WorldProviderTwilightPrincess extends WorldProvider {
    private static final String __OBFID = "CL_00000388";
    public String getDimensionName(){
        return "Hyrule";
    }
}

 

I don't know why I didn't think of this earlier.

 

Edit: reiterating GitHub link

When you get a DiscoveredNoobException, make sure you ask the wrong question, get a stupid answer, and waste other people's time with them looking through the one unrelated class you posted in the body of your thread.

Guest
This topic is now closed to further replies.

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.