Jump to content

Minecraft crashes after adding ore generation


kemika1girl

Recommended Posts

Hi all,

I just finished work on generating the very first ore in my mod, after which i went to check how it works. Minecraft loaded succesfully, but when i created a new world, the game suddenly crashed. Here is my crash report: https://pastebin.com/tiGkrMBa. I don't know, what's the problem, so i'm asking for help.

Edited by kemika1girl
Link to comment
Share on other sites

Please post your debug.log (pref as something like a github gist) and the code where you add your ore feature.

 

Best way to share code is a github repository, if you aren't familiar with it, just google for a git/github tutorial, and start using it, you will not be disappointed! Great way to share code (just share a link to the github repository), and branches are great. Even if you don't plan on sharing your code or collaborating, using a git repository locally can save headaches and effort. :)

Link to comment
Share on other sites

Quote
  1. java.lang.IllegalArgumentException: bound must be positive
  2.     at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_251] {}

Post your code. You tried to send a negative value into a random call (this is the result of giving a maxY lower than minY in the cluster config, usually).

Edited by Draco18s

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

 

18 minutes ago, Ugdhar said:

Please post your debug.log (pref as something like a github gist) and the code where you add your ore feature.

 

Best way to share code is a github repository, if you aren't familiar with it, just google for a git/github tutorial, and start using it, you will not be disappointed! Great way to share code (just share a link to the github repository), and branches are great. Even if you don't plan on sharing your code or collaborating, using a git repository locally can save headaches and effort. :)

oh, sorry, if i knew where to see this debug.log, I'd publish it
thanks for the github explanation, i knew about it but wasn't registered on it!

15 minutes ago, Draco18s said:

Post your code. You tried to send a negative value into a random call (this is the result of giving a maxY lower than minY in the cluster config, usually).

And of course, here is my code: https://gist.github.com/kemika1girl/17fa633cf87fc720315a3f4b995e2393

Edited by kemika1girl
Link to comment
Share on other sites

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.