Jump to content

Viper283

Forge Modder
  • Posts

    118
  • Joined

  • Last visited

Everything posted by Viper283

  1. not a forge problem, they can't do anything untill risu brings out a more stable version and releases his javadoc for cpw to implement into FML
  2. a mod file must be either a .zip or .jar, it seems you are using .rar 2012-08-27 14:14:38 [FINE] [ForgeModLoader] Ignoring unknown file AsgardShieldMod[b].rar[/b] in mods directory
  3. doesn't work like that, put it on pastebin or something
  4. the link is messed up delete the 'it' at the end of it
  5. i am doing forge tutorials, i shall be replying to as amny comments as i can and i am always happy to help. these should be coming out every couple of days. these are by far not the best but i have been getting alot of good feedback You can find my tutorials HERE
  6. it's what forge and fml use to create the annotations i think. correct me if i'm wrong
  7. this is the way i do my configs @PreInit public void initConfig(FMLPreInitializationEvent evt) { evt.getModMetadata().version = Resources.version; Configuration cfg = new Configuration(new File(Loader.instance().getConfigDir() + "/Viper283/CvC/config.cfg")); try { cfg.load(); debugText = cfg.getOrCreateBooleanProperty("Debug Text", cfg.CATEGORY_GENERAL, true).getBoolean(true); } catch(Exception e) { System.out.println(logger + "Failed to load config for reason: "); e.printStackTrace(); } finally { cfg.save(); } } FYI logger is "[CvC]: " also this is in my mod file
  8. that doesn't work server side
  9. now its included in Item.java or Block.java. the only problem, is your using 'return "/mods/item.png";' your returning only the ingot. you need a terrain like 'terrain.png' in minecraft.jar, and then add the item overthere. look up the iconIndex (start counting from zero to 256) untill you hit the item, and the number is your iconIndex. I hope I helped you terrain like terrain.png............. Do you mean this: or this: ? And I already try this too: but the ingot is invisible, and I'm using iconIndex 102, which is the place of the ingot instaed of setIconIndex use setIconCoord(7, 6) for the above items.png
  10. thats how i know that it's meant to be creating the config. i'm glad i'm not the only to lol
  11. I am trying to use sided configs, if i run the server through eclipse it creates the config but if i run it on obfuscated code it does not, it outputs that it is but it never does. CommonProxy ClientProxy ViperCore If i am just being a noob them please treat me so. also it does create the config on the client side
  12. 1 word, update also in your mod_ file you preload the items.png but in your item file you use item.png you either missed the 's' in the item or you added an 's' when you preloaded it
  13. what is the last number in the forge zip you downloaded, I.E, 4.0.0.217 thats the version i'm using untill later
  14. from what i gathered you installed modloader along with forge. don't do that!
  15. i don't think your mod doesn't fully support textures above 16x not sure how to fix it though
  16. Just adding to this You also need this in your client proxy to avoid rendering glitches. (I've called mine after loading my config and before registering my blocks) MinecraftForgeClient.preloadTexture("GSM/textures/blocks/blocks.png"); i;ve never got the rendering glitch before, what happens, does it just not load the texture or something
  17. Thank you, i would have googled it but i was on my laptop and not on the computer i use for programming so at the time it wasn't a big deal if you didn't link it
  18. could you link it, or is it in the tutorials section, i need a good metadata tutorial
  19. make sure that the file is in the exact same place as you specified
  20. i would prefer if it was in the @Mod as it makes it easier and you it's easier to maintain, but they should keep the ability for a mcmod.info just for compatibility
  21. Wait, i don't have to put it in the jar? i don't think so, you used to have to but i only have it in the source and it works
  22. youmdo it exeactly as you did in 1.2.5 but instaed of ModLoader.registerBlock you do GameRegistry.registerBlock and instaed of ModLoader.addName you do LanguageRegistry.addName, and you dont need to import ITextureProvider as it's now included in Block
  23. No problem, i thought it was one of the registry classes
  24. Try using GameRegistry instaed of modloader
  25. can you post the error log?
×
×
  • Create New...

Important Information

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