Jump to content

[Forge] Error when I startup the game after adding a Dimension. Please Help


Recommended Posts

Posted

Hello! Today I followed a tutorial to make a dimension. After following every step, there were no errors, So i started the game then i got the crash:

 

 

  Reveal hidden contents

 

 

Code:

 

Main Class:

 

 

  Reveal hidden contents

 

 

Biome Gen:

 

 

  Reveal hidden contents

 

 

Portal Position:

 

 

  Reveal hidden contents

 

 

Chunk Provider:

 

 

  Reveal hidden contents

 

 

 

World Provider:

 

 

  Reveal hidden contents

 

 

Teleporter Ze-Craft:

 

 

  Reveal hidden contents

 

 

 

Ok, thats pretty much everything I added to make a Dimension

 

Please Help!!!!

 

If you need anymore code just ask!

Not new to java >> New to modding.

Posted

Error here: at mod.gmod622.biome.BiomeGenZecraft.<init>(BiomeGenZecraft.java:24)

You have a null at line 24 of your BiomeGenZecraft class, in your constructor.

 

Your initialized your biome before anything else in your main mod class.

public static final BiomeGenBase ZeBiome = new BiomeGenZecraft(25);

Which gives you null for anything that is not yet initialized.

Posted

ok I did that but i still got the same error here is my main class and what i changed:

 

 

  Reveal hidden contents

 

Not new to java >> New to modding.

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.