So I've been following the tutorials on World Generation on the wiki and it doesn't seem to work (perhaps not with 1.7.2?) and I can't see why?
I'm registering my World Generators under FMLPreInitializationEvent and here is my generator https://gist.github.com/anonymous/6fcac69c2bbf1e534e0c
I also have this problem, my ore and trees wont generate at all. My code is very similar to yours, I also register my World Generators under the FMLIntializationEvent, I'm guessing you're doing something similar?
Here https://gist.github.com/anonymous/9586964
It would appear its having an issue with getting the Item Id ? I'm not sure how 1.7 handles Item IDs fully.
Take a look at public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune) in your block class. Simply create an ArrayList<ItemStack> and add the items you want to drop.
So I'm playing around with Forge, not used it much before and I quite like it so far. I currently have an ore that is generated into the world and a dust that I would like people to obtain when they smelt that ore. I have this all done and it seems to work fine right up until I take the dust out of the furnace output slot. This causes me to crash throwing an ArrayIndexOutOfBoundsException: -1
Full stacktrace: https://gist.github.com/anonymous/0879940318d2fa6e45af
Ore Class: https://gist.github.com/anonymous/9584188
Dust Class: https://gist.github.com/anonymous/9584179
I'm using Forge 1.7.2 and this only happens when I go to pickup the item from the furnace output slot, If I break the furnace once it has finished smelting I get the item just fine.
Thanks