Jump to content

[1.7.10] Custom dimension crashing on loading WorldProvider


crafter6789

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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