Posted August 26, 20178 yr 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 August 26, 20178 yr by Insane96MCP
August 26, 20178 yr 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 August 26, 20178 yr by MrBendelScrolls
August 26, 20178 yr 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. ^ Before removing src ^ after removing src
August 26, 20178 yr 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 August 26, 20178 yr by MrBendelScrolls Lagg
August 26, 20178 yr 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 August 26, 20178 yr by Insane96MCP
August 26, 20178 yr Read http://mcforge.readthedocs.io/en/latest/gettingstarted/ It explicitly tells you which files to move to your new project folder (steps 2 and 3)
August 26, 20178 yr 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/
August 27, 20178 yr 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.