Jump to content

geneventor

Members
  • Posts

    32
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

geneventor's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. ...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!
  2. Am I misusing the integers?
  3. Is the Item ID "0" different then the Block "0"? Edit: Never Mind I'm being stupid, give me a bit.
  4. Does it not output anything?
  5. Did I get the first right? Because if I did, then 16... again. But if not, then I'm not sure I know.
  6. 16 is printed... why?
  7. I don't understand... Is there something wrong with how I have made the configuration or something? Or am I just being stupid?
  8. It is: GameRegistry.registerBlock(aluminumBlock, "aluminumBlock");
  9. Oh, you meant when everything was in the preinit method, that would be: zincIngot = (new ItemZincIngot(zincIngotID));
  10. 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.
  11. 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
  12. So how do I use the game registry then, because when I do it the way you are doing, it crashes again.
  13. 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.
  14. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.