Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

  • 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.

  • 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.

  • 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.

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!

  • 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.

  • 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.

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.