Posted January 25, 201411 yr OK, so I'm kind of new to forge (I'm a noob ) and my Eclipse doesn't want to import anything. I press ctrl + shift and o, but it doesn't work. @EventHandler public void preInit(FMLPreInitializationEvent event) {} @EventHandler public void init(FMLInitializationEvent event) {} @EventHandler public void postInit(FMLPostInitializationEvent event) {} I did the usual but The option i had was to do this: public class bsurvival<FMLInitializationEvent, FMLPreInitializationEvent, FMLPostInitializationEvent> Make a .class or add a parameter to the thing( '' ). I think it might be because i still haven't played with 1.7.2 and I didn't add the libraries correctly. I would appreciate any help from others. If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr Author I figured that forge does it, then i tried importing FML init thing. It didn't work so i tried doing it myself but as i said i think i did it wrong or something. If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr Author Ohh fail, I heard it in a video that forge does all the imports. -.- Anyway is there a way to fix it? If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr Author I linked the libraries and it doesn't want to work. ;( If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr This works if your modding 1.6.4. No garentees for 1.7, also This will only work if you have your mod in a separate project. ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Did you add forge or minecraft as a required project for your mod. If not then right-click on your project. Hover over build path and then click configure build path. Click on the project tab and click add and select minecraft. Good Luck! Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
January 25, 201411 yr Author Hmmm, thats what i forgot. -.- Thanks for the help, I'm sorry for any hassle. If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr Author Ok, first of all, sorry for posting here again and annoying you guys again. If this is a very simple fix or I'm just blind then I'm sorry..... Again. I'm having random errors (red lines) show up under my code... @EventHandler public void postInit(FMLPostInitializationEvent event) {} This is one of them. (There is many more) There is a red line under the p in "public". If I helped then you help, hit that Thank You button or Applaud.
January 25, 201411 yr Author Never mind guys I figured everything out! Thanks for all the help! If I helped then you help, hit that Thank You button or Applaud.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.