1

Generation problem [FIXED]

That Martin Guy 4/18/14 4:43 am
208
4/18/2014 5:22 am
So, I made an ore generator. However, whenever i try to make a new world with the generator, i crash. source: https://github.com/adudewithapc/PeopleMod
I only committed the necessary files, so some stuff will be missing.
Posted by
That Martin Guy
Level 1 : New Crafter
0

  Have something to say?

JoinSign in

7

Leikaru
04/18/2014 5:18 am
Level 37 : Artisan Modder
From the code I can see, you don't ever seem to call People_Gen.initialize(). You'll need to initialize that in order for the world gen to work.

Or:

You can just do:

GameRegistry.registerWorldGenerator(new WorldGenAmber());

In your initializegen function in the Registry Class. It'll save a class as well.
1
That Martin Guy
04/18/2014 5:22 am
Level 1 : New Crafter
Oh >.< Im so stupid. Completely forgot about that. Thanks
1
PrisonPro45
04/18/2014 5:17 am
Level 1 : New Network
Is your mod made to be 1.6.4?
1
That Martin Guy
04/18/2014 5:18 am
Level 1 : New Crafter
Yes
1
Leikaru
04/18/2014 5:01 am
Level 37 : Artisan Modder
It's quite hard to help without the crash log, because we won't know why it's crashing. When we know why it's crashing, the cause will be easier to find.
1
That Martin Guy
04/18/2014 5:09 am
Level 1 : New Crafter
1
PrisonPro45
04/18/2014 5:07 am
Level 1 : New Network
isnt the cause the same as why its crashing anyway?:P
1

Welcome