Thank you very much for that information! Cleaning up my code and removing "final Block" from all instances in which it appeared seemed to do the trick. Testonium ore is spawning like usual.
Changed "public static Block testoniumOre;" in my main class to "public static Block testoniumOre = new TestoniumOre(0, Material.rock);", and instead of my expected testonium ore spawning, I get chunks of air spawning underground, but at least it isn't throwing null pointer exceptions anymore.
Hello there,
I am having trouble with my ore generation class. Whenever I create a new world, the game crashes. OreGenerator class code can be found at http://pastebin.com/7YyxbN80
Crash report can be found at http://pastebin.com/13neAut7
5 replies
Important Information
By using this site, you agree to our Terms of Use.