Jump to content

OwnAgePau

Forge Modder
  • Posts

    217
  • Joined

  • Last visited

Everything posted by OwnAgePau

  1. Well unfortunately theres only Java 7 Update 16, Java 7 Update 25, SE Dev kit 7 Update 17, Se Dev kit 7 Update 17 (64 bit) and SE Dev kit 7 Update 25(64 bit) to select from. Edit: i am not sure if this has anything to do with it, but when i had this new forge and mcp setup i did recompiled and reobfuscated sucessfully once, but once i tried to run minecraft with my mod it wouldn't start. So i downloaded the newest JDK (which untill then was 1.6) and then i could run my minecraft, but now i can't recompile the source.
  2. Windows, and theres no 1.6 on my path anymore i think it got replaced automatically or something. I tried finding any jdk or jre1.6 but i can't find any. If there are more then 2 installation folders (as i have program files and program files(86x) which both contain a Java folder with jdk1.7.0_17 and jre1.7, then i am not sure where these 1.6 folders would be located.
  3. I have 3 folders in java folder which are jdk1.7.0_17, jdk1.7.0_25 and jre7 which one should i delete? and jdk1.6.0_16 is on my path
  4. I am not sure what this means : Use compliance from execution environment 'JavaSE-1.6' on 'Java Build Path'. Does that mean its still on java 1.6? and if so how would i change that to the newest version? Edit: i found where to change it and it now says 1.7, but it still shows these 100 errors.
  5. I have already downloaded and installed the newest JRE & JDK 1.7, although i am not sure what version my eclipse currently uses where can i see and or change it?
  6. When you use the forge installer it will install all the folders and files you need (including the ones from mcp) so you don't need to download mcp before forge anymore.
  7. So i am calling that method iconRegister and it comes up with an error in BlockFence? and BlockEnderChest?? If i were to call a method that would throw errors wouldn't that be in IconRegister.java ? Edit: @GotoLink Well i tried recompiling the minecraft source without my mod, same errors.
  8. Well, its not that i don't want to change errors and stuff but this is within minecraft classes which i did never change at all, i just get those when i have just installed forge along with mcp (fresh) and put my mod files in, when i recompile i get those errors...
  9. are these errors you get when recompile are all with IconRegister? and are they inside minecraft classes? because i keep getting that too.
  10. Any ideas on how to solve this other issue??
  11. You would want to create a portal block and a teleporter class, which you can find in the minecraft source under World/Teleporter.java and Block/BlockPortal.java. If you start giving that a look and check some tutorials on youtube (there are more then enough) you should get that working.
  12. Is there a list of colour codes as you discribe them or do i just put that little code infront of §? and what about the other issue, which as a bit more of a porblem.
  13. Hi everyone, So a couple of days ago i recompiled and deobfuscated my mod fine in the current version of forge that i have. (forge 9.10.0.804 and with that automatically comes the mcp installation) So i made some changes after this and i wanted to test that aswell, but suddenly it gave errors (about 100) in the minecraft source saying the following: symbol: class IconRegister location: class BlockFenceGate (one of the many) E:\McpFolders\Soul Forest Mod 1.6.2\forge\mcp\src\minecraft_server\net\minecraft\util\ChatMessageComponent.java:260: warning: non-varargs call of varargs method with inexact argument type for last parameter: var7.append(StatCollector.translateToLocalFormatted(this.field_111090_h, var13)); cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning // Well i am not sure what the last thing actually means but i don't want to go change 100 errors in the minecraft source... If anyone knows what causes this and how to fix it please help. Edit: the problem below is now fixed. I also have a little problem with recompile addinformation "colours" i have found this: http://www.minecraftwiki.net/wiki/Formatting_codes where the codes to get coloured information are listed, so i used that in eclipse whic looks something like: par3List.add("§3Max Uses"); when recompiling that it says that it doesn't recognise the "§" as a symbol. So while it is sayd to be used and works in eclipse, it can't be recompiled. Any idea how to fix that?
  14. Shouldn't you just get the itemID of the current worn boots, helmets etc and compare those with the itemID's of the armor id's which have the special effect? I have not tried to but i am not sure if theres a .getItemID for items. Otherwise you will have to find a different way to get the items ID. Perhaps you can even use boots.itemID.
  15. bump...... Sorry for another double post but i really need help
  16. I have tried to do what you sayd although i am not completely sure if this is the way to do it: But it still gives out a nullpointer this time in addGemcutterRecipe() this is where this error occurs : public void addGemcutterSmelting(ItemStack input1, ItemStack input2, ItemStack output) { this.gemcutterSmeltingList1.put(Arrays.asList(input1.itemID, input1.getItemDamage()), output); this.gemcutterSmeltingList2.put(Arrays.asList(input2.itemID, input2.getItemDamage()), output); this.gemcutterSmeltingCheckList1.put(Arrays.asList(input2.itemID, input2.getItemDamage()), input1); this.gemcutterSmeltingCheckList2.put(Arrays.asList(input2.itemID, input2.getItemDamage()), input2); }
  17. So i am doing it right ? And if i get you right, you are saying that i should do a check on lets say gemcutterItemStack wether or not it is in the smeltingList?
  18. Hi there, I am making a double input furnace that has 2 inputs and 1 fuel that lead to 1 output, i have figured out quite some of this by now but i seem to get just this nullpointer exception that i can't figure out. I will place the code of the TileEntityGemcutter, GemcutterRecipes, ContainerGemcutter and the code of the block itself as last. The error i get is a null-pointer exception, normally i can figure out most of them but on this one i haven't gotten to a solution yet: First i will give the file where the error occurs which is the TileEntityGemcutter : The GemcutterRecipes : The ContainerGemcutter : And last but not least the BlockGemcutterBench : I hope that someone can help me trace the error to what the problem is that is causing this error as i haven't found it yet. Thanks for your effort and time.
  19. Hi there, I used to have my few WorldGenVines inside the chunkprovider but i desided that whenever i am going to add more biomes that it would be much better to have those in a custom BiomeDecorator, so off i go. First i tried just to use the BiomeDecorator grassperchunk and treeperchunk. but whenever i look in my custom dimenson they did not show up anywhere in the world. I tried making a custom one and added my WorldGenVines to it but they wouldn't show aswell. Whenever i moved those for loops back to the chunkprovider they would appear. So i guess that something goes wrong when the chunks are being created. That it doesn't get its information right from TheBiomeDeco (my custom BiomeDecorator) as i debugged TheBiomeDeco and it ran through the grassGen functions just fine. Even though i think that the problem lies in the chunk creation i still will put TheBiomeDeco and one of my Biomes in here: Biome: TheBiomeDeco: ChunkProviderMarona: And yes i am still on 1.5.2, using forge version 7.8.0.686
  20. Okay i will zip them for ya can i send them to you through a dropbox link , EDIT: I'll send you a PM instead.
  21. I remember the GUI showing which biome the player is in, so if you would look at how the gui gets it you could just copy that. EDIT: I ofcourse mean the GUI you get when pressing f3.
  22. I tried commenting out entities but that didn't do a think it still keeps crashing when trying to create the player. I have no idea why it does that and where it came from. If theres someone willing to help out by looking at the code that would be MUCH appreciated.
  23. It seems your doing something wrong there.
  24. My pc has 4GB of ram, and minecraft somehow goes out of memory... Now it says "Ticking Entity" as an error and right before that it says "Fetching addPacket for removed entity" 4 times Also when i create a new world this error is created: I keep finding EntityMP in there... I guess it keeps trying to spawn me but that doesn't work? Is there someone who would want to help me find the problem in my code? as theres probably something I'm missing. Or are there any files that you might want to see?
  25. Well, the errors are all listed above, but what i can't understand is that everything worked before i started working on this tree. Then while i was working on the tree and kept testing my world creation over and over again to see if i was doing it right, and when the tree was done it was all fine. The water worked once and then crashed i did something wrong there which i then noticed. So i removed it and didn't add any water at all (commented it out) but after that i made another world and it didn't seem to give any problems. Untill the day after when i started it up again suddenly it wouldn't let me create a new world or visit my existing once. If it is something that is being created a lot i have no idea what, cause i have tried removing this hole tree-file that i made that day. And yet it won't work, while i haven't changed a single other thing. I also tried refreshing my minecraft.jar file and making a new mcp folder + forge etc etc, then run without my mod, everything works fine. I put in my mod files and i get the error again, now i can't even run my minecraft (It just says java heap space error). Sorry if it is a lot to read. I was just confused when i woke up willing to continue working on that true while all of a sudden it wouldn't work anymore.
×
×
  • Create New...

Important Information

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