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.

MonsterCreeper

Members
  • Joined

  • Last visited

  1. does it matter if what i did follows convention, I think you will find that starting your mod_XXX class with a lower case m is against the normal java naming convention. This was following a tutorial for something I didn't know much about, by someone I would expect to have more experience than me when it comes to modding, so it is unlikely I would question a simple break of convention.
  2. it wasn't copy and paste. I've used java before this for other stuff, I'm rather new to modding though and I don't know the minecraft forge/modloader api very well yet as it's only my first day of using forge. This was done following a tutorial on youtube. Please find evidence before you make such accusations.
  3. I've run into a problem when writing my first mod. I'm trying to get my ore to generate but no matter what I try it won't show in the world. This is the code I'm using to generate my ore in the world (everything in my mod_ file seems to be set up fine) public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ) { for(int L = 0; L < 5; L++) { int i1 = chunkX + rand.nextInt(16); int j1 = rand.nextInt(20); int k1 = chunkZ + rand.nextInt(16); new WorldGenMinable(voidOre.blockID, 4).generate(world, rand, i1, j1, k1); } } any advice??

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.