Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted (edited)
  On 8/26/2017 at 8:03 AM, 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.

Expand  

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
Posted
  On 8/26/2017 at 5:07 PM, 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.

Expand  

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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