Everything posted by geneventor
-
[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?
-
[Solved]Configuration Trouble
I have been modding for a while-ish (about a month) and I have done a bit with blocks, items, recipies ore generation, and custom furnaces. I got a crash report that says: Here is the main class: Here is the two classes that it is talking about: The aluminumBlock: And the titaniumBlock: Thank you for your time, geneventor
-
[Unsolved]6 Output Furnace
Thank you for that! But I am not sure how to fix the errors in the smeltItem method, and the canSmelt() in the can smelt method. But thank you for helping me with the other stuff! thank you.
-
[Unsolved]6 Output Furnace
Could you maybe explain how to do that? Not sure I understand.
-
[Unsolved]6 Output Furnace
Now I've fixed that, but it still has errors. They are all in the tile entity class and are marked with an * after the semicolon with the error's line. Thank you, geneventor
-
[Unsolved]6 Output Furnace
Okay, so I backed up and fixed all the errors except the one in the tile entity class. I think I kind of know how to fix it, but I need to know how to reference a hashmap from another class. I've changed the hashmap type to public, but I am not sure what else to do. If you have any ideas, please tell me.
-
[Unsolved]6 Output Furnace
Sorry never mind that error is solved, but unfortunately there is now more errors in the container class, the slot class, and the tile entity class. They are all problems that are the methods you deleted earlier. Is there some way to figure out how to fix it?
-
[Unsolved]6 Output Furnace
No... not that is there anything else I have to change?
-
[Unsolved]6 Output Furnace
Okay... that solved everything, except for the error that I was trying to fix in the first place, however it now says "The method put(Integer, ItemStack[]) in the type HashMap<Integer,ItemStack[]> is not applicable for the arguments (Integer, ItemStack, ItemStack, ItemStack, ItemStack, ItemStack, ItemStack)" do you happen to know what that means? By the way, thanks so much for solving the other errors!!!! But I'm still not sure what to do with this one.
-
[Unsolved]6 Output Furnace
I do understand the doNothing method. Thank you for helping though . Here is the new custom furnace recipes class: btw there are errors on the lines with *s after the semicolon with that described. Thank you again! -geneventor
-
[Unsolved]6 Output Furnace
I'm sorry redria7 but I just don't understand what you are asking me to do. If you could explain to me what to do, then explain to me how it works, I would be very greatful. But I don't know what you are asking me to do, and I don't know what TO do. I have read over your post three or four times, and I don't really know what it is telling me to do. I am sorry. :'(
IPS spam blocked by CleanTalk.