Jump to content

Recommended Posts

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.

Posted

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/

Posted (edited)

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
Posted

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.

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

Posted

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

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