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

It's giving some troubles for the Server, so I would like to remove it. If I remove the src folder it starts throwing errors everywhere it doesn't run anymore as it's missing the src folder.

Edited by Insane96MCP

Where 'everywhere'? Your whole project is basically in src folder, except gradle. So removing it should not cause any problems. Post a screenshot or something.

Edited by MrBendelScrolls

  • Author
18 minutes ago, MrBendelScrolls said:

Where 'everywhere'? Your whole project is basically in src folder, except gradle. So removing it should not cause any problems. Post a screenshot or something.

Immagine2.thumb.png.3b0f3ae9cedf6e71705c128d4ed796e0.png

^ Before removing src

 

Immagine1.thumb.png.41070bf0935235abf0ea1ad13701eb85.png

^ after removing src

You need to create src/main/java and src/main/resources. Also, your project tree looks very strange... Are you launching minecraft in the same folder as mod? Where is your code if you deleted src?

 

Only things required from forge mdk is:

  • gradle/
  • build.gradle
  • gradlew
  • gradlew.bat
  • .gitignore (if you think about using git, see there why you do)
  • eclipse/ (I'm not sure about this one, never used eclipse for minecraft)

When you're starting a project, just remove everything else. Create src/main/java and src/main/resources and write your code there.

Edited by MrBendelScrolls
Lagg

  • Author
7 minutes ago, MrBendelScrolls said:

You need to create src/main/java and src/main/resources. Also, your project tree looks very strange... Are you launching minecraft in the same folder as mod? Where is your code if you deleted src?

 

Only things required from forge mdk is:

  • gradle/
  • build.gradle
  • gradlew
  • gradlew.bat
  • .gitignore (if you think about using git, see there why you do)
  • eclipse/ (I'm not sure about this one, never used eclipse for minecraft)

When you're starting a project, just remove everything else. Create src/main/java and src/main/resources and write your code there.

I have my code in a different folder, it's not in the same folder as Forge, so I can keep more project in a Workspace

The src folder is from the ExampleMod, that's why I removed it, as said, my sources are in another foler

Edited by Insane96MCP

Yeah, ExampleMod isn't intended to be "removed" it is intended to be overwritten with your own code. Simply updating the mod info file and start editing the file with the @Mod annotation and you should be up and running.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author
15 hours ago, jabelar said:

Yeah, ExampleMod isn't intended to be "removed" it is intended to be overwritten with your own code. Simply updating the mod info file and start editing the file with the @Mod annotation and you should be up and running.

Oh well, Next mod I'll make I'll edit those files

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.