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.

[1.7.10][Eclipse]Src folder appears in the Package Explorer, but is Empty

Featured Replies

Posted

I've been following along with the Basic Modding tutorial on the Forge Wiki and it says the following:

 

"Eclipse will start with one project "Minecraft" already in its Package Explorer on the left side of the screen. Expand the project, and you will see a source directory named 'src'. Expand it, and you'll see quite a lot of packages that make of Minecraft and Minecraft Forge. While you will not be editing any of these classes, feel free to read these classes to figure out what you can do or to see how Minecraft works. "

 

I do see the src folder but it is totally empty as far as I can tell. Have a screenshot:

 

I don't think I'm in the wrong workspace because I can't even see the src folder or the Minecraft folder unless I put it here where the tutorial says. Is this portion of the tutorial outdated?

You are following an old tutorial for 1.6.4 or below. Follow a 1.7 tutorial. The Minecraft source is now in Referenced Libraries/Forge-src-somenumber.jar and your mod files go in src/main/java

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

i have that src folder too, it's where your mod code is saved (but it will be displayed in your src folders)

to see the vanilla code go to Referenced library's and then to forgeSrc in that file ,that's where you have all your minecraft+forge code is.

(some tutorials don't do "gradlew setupDecompWorkspace" do that one too see the vanilla code)

  • Author

You are following an old tutorial for 1.6.4 or below. Follow a 1.7 tutorial. The Minecraft source is now in Referenced Libraries/Forge-src-somenumber.jar and your mod files go in src/main/java

 

Oops, I saw that the installation tutorial had been updated and I assumed the others had been too :P. Thanks for the catch!

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.