diff --git a/.gitignore b/.gitignore index 322e5e1..da8856f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ build # other eclipse -run \ No newline at end of file +run +run-data \ No newline at end of file diff --git a/build.gradle b/build.gradle index a9a7d11..78c0879 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ minecraft { runs { // applies to all the run configs below configureEach { - workingDirectory project.file('run') + workingDirectory project.file("run/${it.name}") // Recommended logging data for a userdev environment // The markers can be added/remove as needed separated by commas. @@ -101,8 +101,8 @@ minecraft { } data { - // example of overriding the workingDirectory set in configureEach above - workingDirectory project.file('run-data') + // example of overriding the workingDirectory set in configureEach above, uncomment if you want to use it + // workingDirectory project.file('run-data') // Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources. args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')