Jump to content

[SOLVED][1.7.10]Minecraft world generator crashing on addOre function.


Recommended Posts

Posted

Ok, so the title says it. I get a world generator crash every time i try to create a world, or enter on unloaded chunk.

The log file:

 

  Reveal hidden contents

 

 

and heres the code that im using for mod

 

  Reveal hidden contents

 

 

WorldGenerator class:

  Reveal hidden contents

 

 

Also every time I delete the 

addOre(Ores.nOre, Blocks.stone, random, world, chunkX, chunkZ, 10, 30, 10, 9, 8);

addOre(Ores.aOre, Blocks.stone, random, world, chunkX, chunkZ, 20, 40, 10, 10, 9);

line, the world generator works as normal

Sarcasm doesn't always means what you think it means!

Posted
  On 6/28/2015 at 6:44 PM, diesieben07 said:

For aOre you pass a minVein that is bigger than maxVein. Therefor maxVein - minVein returns a negative number. Which you then pass to random.nextInt, which is not allowed.

 

Please learn to read stack traces, this should be obvious to you.

OK thanks ill try to fix it now

 

Sarcasm doesn't always means what you think it means!

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.