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

A bit of background: Some time ago I followed a couple of tutorials for getting started which got me through to creating the mod from scratch and adding a single new block. 95% of that stuff was boilerplate, so a few tangential questions:

  1. Is there a boilerplate/template project I can fork from git or something so that I don't have to spend an hour setting up a mod from scratch?
  2. There are thousands of tutorials out there; which ones are the better ones?

 

And back to what I actually want to do: I want to over-ride the biome generation. Not the placing of blocks according to the biome, but instead, I want whatever procedure plucks the biome value out of Perlin noise or whatever to instead look up a value from a file based on co-ordinates. I'm hoping that the end result will be that I can create world maps myself and have the game generate the land for me from that map.

 

I'm hoping someone will tell me: "fork this repo, then go straight to X class, Y method". But I'll be okay with "Follow X tutorial to get set up, then got to Y class" etc.

  • Author

To partially answer my own question, it looks like I can download and install the MDK and go from there.

Edited by Uncle Gus

Yes, there is an example mod included in the MDK. 

 

I have a number of tutorials. Can't say they're the best, but I also link to some others. http://jabelarminecraft.blogspot.com/p/minecraft-forge-172-quick-tips-gl11-and.html

 

Different tutorial authors focus on different topics, so for example I like entities whereas other people might have better stuff related to tesslators. Also, it is really tough keeping up with the new versions. I've converted much of my stuff to 1.12, and many concepts are still valid over other versions, but different tutorials have varying up-to-datedness.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

Okay, next hurdle.

 

I downloaded the MDK and ran gradlew setupDecompWorkspace and it failed with an error saying that it had no java compiler, so I figured I'd need to install the JDK, which I did. But now when I run the command again, it fails straight away with:

 

Could not determine java version from '9.0.1'.

Is JDK 9 too new? I found some forums posts where people have had this error and the solution was to upgrade gradle. But I haven't installed gradle. Is it somehow built into that gradlew script?

Edited by Uncle Gus

  • Author

Ah, I see that the first thing it does is download a gradle bin zip, defined in the properties file. I changed that version to 4.4; we'll see how that goes.

  • Author

And there you have it folks:

> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
   > ForgeGradle does not currently support Java 9

I guess I'll find out what Java version I should be using and install that one.

  • Author

Okay, reverted the properties file and I am now downloading and installing Java 8 JDK. Fingers crossed.

8 hours ago, Uncle Gus said:

Is JDK 9 too new? 

Yes, it is. 

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.

As for tutorials, for the very basics (custom blocks, items, containers) I usually recommend Shadowfacts. Jabelar has a ton of great stuff. Also look up Choonser's TestMod3 and The Grey Ghost's Minecraft by Example for lots of great example code.

 

What you want to do sounds something like the mod Open Terrain Generator. Maybe look it up and see if there's anything useful.

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.