NikolaTheProgrammerNoob Posted November 29, 2015 Posted November 29, 2015 Hello, fellow forum addicts! I've been making a mod and I had a lot of problems which I spent a lot of time to fix. Now for some reason there are no Minecraft files in the workspace and because of that I can't launch the mod to test it. Anyone know how to fix this? I tryed reseting the wsorkspace and creating a new one but it didn't work ! To Craft, or not to Craft. That is the question.
shadowfacts Posted November 29, 2015 Posted November 29, 2015 1. Stop with the weird-ass formatting 2. What do you mean "there are no Minecraft files in the workspace" 3. How did you setup your workspace? Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 Created a .bat file Setup Workspace and in it typed: "gradlew setupDecompWorkspace" and then created a .bat file Setup Eclipse and in it typed: "gradlew eclipse". Then just ran them (not at the same tyme ofc) To Craft, or not to Craft. That is the question.
ovikk Posted November 29, 2015 Posted November 29, 2015 Just open cmd in the folder and write: gradlew setupDecompWorkspace eclipse --refesh-dependencies No need to mess with .bat files. You only need to run the gradlew command once.. I might be terribly wrong.. Like really, really wrong. But I'm just trying to help.
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 Typed than in and it didn't work and It said to try writing: "gradlew help --task :eclipse" and it said that it Generated all Eclipse files but when I refreshed the Workspace everything was the same To Craft, or not to Craft. That is the question.
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 Umm... here buildscript { repositories { mavenCentral() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } maven { name = "sonatype" url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' } } apply plugin: 'forge' version = "1.0" group= "com.nikola.carbonmod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "carbonmod" minecraft { version = "1.8-11.14.3.1502" runDir = "eclipse" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not allways work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20141130" } dependencies { // you may put jars on which you depend on in ./libs // or you may define them like so.. //compile "some.group:artifact:version:classifier" //compile "some.group:artifact:version" // real examples //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env // for more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } To Craft, or not to Craft. That is the question.
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 Yea, I copyed it off of a previous project of mine. To Craft, or not to Craft. That is the question.
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 The code for setting up eclipse and the workspace... duh... To Craft, or not to Craft. That is the question.
larsgerrits Posted November 29, 2015 Posted November 29, 2015 I see your Forge version is also pretty old (1st of August). Try updating to the recommended version (1.8-11.14.4.1563), to the latest for 1.8.0 (1.8-11.14.4.1577). You can also try to update to Minecraft 1.8.8, but there's no recommended build for that yet. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
NikolaTheProgrammerNoob Posted November 29, 2015 Author Posted November 29, 2015 @larsegerrits I can't find the source code for that version @diesieben07 bro u trying to get your a** kicked? To Craft, or not to Craft. That is the question.
larsgerrits Posted November 29, 2015 Posted November 29, 2015 @larsegerrits I can't find the source code for that version If you go to files.minecraftforge.net, you see the Latest Build and the Recommended Build. MDK is the pacakge you want. How can you not find that? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
RANKSHANK Posted November 29, 2015 Posted November 29, 2015 Are you running a clean up before re-running all the install tasks? I think its my java of the variables.
NikolaTheProgrammerNoob Posted November 30, 2015 Author Posted November 30, 2015 Thanks man, downloaded the new version To Craft, or not to Craft. That is the question.
Cerandior Posted November 30, 2015 Posted November 30, 2015 I know that your problem has now been fixed, but seriously i had to stop and comment. I have noticed this weird behavior of yours even in your last topic. People are trying to help you and you just go ahead and show your rudeness to them? What kind of crap is that. Stop your "cool kid" behavior. It isn't going to get you anywhere. Be more respectful to people that know more than you.
NikolaTheProgrammerNoob Posted December 1, 2015 Author Posted December 1, 2015 lol u guys can ban me I don't care. Seems to my that half of the people here don't know java... I didn't knew it aswell and I am not a "pro" at it, but the shit some of you are replying is so stupid that it makes my head literally hurt... Why da fuck would you need code from a class that has no relation to my problem. I ask for help and get shit like: "Go write your own code", "learn Java", "Why did you type this in your code ? You don't need that". Why can't I get a simple answear like: "You messed it up there and there, you should type this and this"? Why is this called Modder Support anyways? It should be called Noob Modder Trolling... To Craft, or not to Craft. That is the question.
larsgerrits Posted December 1, 2015 Posted December 1, 2015 You know what makes OUR heads hurt? People who don't know Java and think they can still mod Minecraft! Most people come to this board to get support with modding. In the description it specifically says: "This is the support section for those modding with Forge. Help with modding goes in here, however, please keep in mind that this is not a Java school. You are expected to have basic knowledge of Java before posting here." If people don't have Java knowledge, how are we supposed to help them? Also, if we ask for a class, please provide it. You may think it has nothing to with your problem, but it most certainly it is if we ask for that class specifically. So don't think you know it better than us, as you are the one asking for support. We don't say stuff like: "You messed it up there and there, you should type this and this", because if we do, you don't learn anything from it. Don't say you do, because we know you are just going to copy-paste it in 'your' code, withou knowing what it does. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Recommended Posts