-
[Solved]Configuration Trouble
...And... Got It! What I did was I took out the "int" before the config initialization. The reason it wasn't working was I was initializing the integer twice, instead of changing it with the config! Thank you so much Draco18s!!! Now to fix in-game bugs!
-
[Solved]Configuration Trouble
Am I misusing the integers?
-
[Solved]Configuration Trouble
Is the Item ID "0" different then the Block "0"? Edit: Never Mind I'm being stupid, give me a bit.
-
[Solved]Configuration Trouble
5 then.
-
[Solved]Configuration Trouble
Does it not output anything?
-
[Solved]Configuration Trouble
Did I get the first right? Because if I did, then 16... again. But if not, then I'm not sure I know.
-
[Solved]Configuration Trouble
16 is printed... why?
-
[Solved]Configuration Trouble
I don't understand... Is there something wrong with how I have made the configuration or something? Or am I just being stupid?
-
[Solved]Configuration Trouble
It is: GameRegistry.registerBlock(aluminumBlock, "aluminumBlock");
-
[Solved]Configuration Trouble
Oh, you meant when everything was in the preinit method, that would be: zincIngot = (new ItemZincIngot(zincIngotID));
-
[Solved]Configuration Trouble
Line 406 when just the initializations are in the PreInit is: OreDictionary.registerOre("zincIngot", new ItemStack(zincIngot)); When all the block and item registers are in pre Init it is, I believe, the same thing.
-
[Solved]Configuration Trouble
Okay, so when it crashes, when I put all the item and block initializations in, but not the game registries, language registries, and those methods. It gives me this: When I put in all the block and item registration methods it gives me this: Sorry for not prieviously showing this, geneventor
-
[Solved]Configuration Trouble
So how do I use the game registry then, because when I do it the way you are doing, it crashes again.
-
[Solved]Configuration Trouble
The error on the load method is "Syntax error on token "load", Identifier expected after this token" The error on the save method is "Syntax error on token "save", Identifier expected after this token" Edit: also, the only thing I changed was I took the integers out of the method turned FML into a variable, and deleted the public static integers.
-
[Solved]Configuration Trouble
Okay so I solved that(I think) but it now has an error under the load and save configuration functions. Do you know what is wrong?
IPS spam blocked by CleanTalk.