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

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

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