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

Posted

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

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. :)

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.

  • Author

 

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

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...

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.