Jump to content

DynashEtvala

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by DynashEtvala

  1. Ok, That does indeed work. So how do i get it to work for my project?
  2. After adding the arguments for username and password it failed. [14:06:49] [main/INFO]: Logging in with username & password [14:06:50] [main/INFO]: ModLauncher running: args [--username=Dynash_Etvala, --gameDir, ., --launchTarget, fmldevclient, --fml.mcpVersion, 20200515.085601, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.2.6-1.15.x_logging_fix, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\albri\.gradle\caches\forge_gradle\assets, --uuid, f07ad0c337ed492d8a51a2d8855583e7, --accessToken, ????????, --userProperties, {preferredLanguage=[com.mojang.authlib.properties.Property@b62d79]}] [14:06:50] [main/INFO]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 1.8.0_251 by Oracle Corporation [14:06:50] [main/INFO]: Added Lets Encrypt root certificates as additional trust [14:06:53] [main/INFO]: Launching target 'fmldevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\albri\.gradle\caches\forge_gradle\assets, --uuid, f07ad0c337ed492d8a51a2d8855583e7, --username=Dynash_Etvala, --assetIndex, 1.15, --accessToken, ????????, --userProperties, {preferredLanguage=[com.mojang.authlib.properties.Property@b62d79]}] [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.reflect.Method.invoke(Method.java:498) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.userdev.FMLDevClientLaunchProvider.lambda$launchService$0(FMLDevClientLaunchProvider.java:77) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [14:06:53] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 5 more [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $. [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at com.google.gson.internal.Streams.parse(Streams.java:60) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:284) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:309) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:330) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.client.main.Main.main(Main.java:107) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:644]: ... 11 more [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $. [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:508) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.Streams.parse(Streams.java:48) [14:06:53] [main/INFO]: [java.lang.Throwable:printStackTrace:668]: ... 16 more
  3. Alright, without adding any username and password arguments it does run. About to try running with username and password
  4. That last issue seems to have solved itself actually,
  5. When I opened the dropdown for the classpath of module the only option was MinecraftForge. When i selected it i got a warning saying that there wasn't a JDK specified for it
  6. ran it again, setup worked, did genIntelliJRuns, went to run the forge forge client and its giving me a Module not specified error
  7. Ran ./gradlew setup and it failed to build. PS C:\Users\albri\Documents\GitHub\MinecraftForge> ./gradlew setup Downloading https://services.gradle.org/distributions/gradle-4.10.3-bin.zip .......................................................................... Unzipping C:\Users\albri\.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3-bin.zip to C:\Users\albri\.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx Welcome to Gradle 4.10.3! Here are the highlights of this release: - Incremental Java compilation by default - Periodic Gradle caches cleanup - Gradle Kotlin DSL 1.0-RC6 - Nested included builds - SNAPSHOT plugin versions in the `plugins {}` block For more details see https://docs.gradle.org/4.10.3/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'Forge'. > Could not resolve all artifacts for configuration ':classpath'. > Could not download fastcsv.jar (de.siegmar:fastcsv:1.0.2) > Could not get resource 'https://jcenter.bintray.com/de/siegmar/fastcsv/1.0.2/fastcsv-1.0.2.jar'. > Could not HEAD 'https://jcenter.bintray.com/de/siegmar/fastcsv/1.0.2/fastcsv-1.0.2.jar'. Received status code 504 from server: Gateway Time-out * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org
  8. buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'eclipse' apply plugin: 'maven-publish' version = '1.0' group = 'com.yourname.modid' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'modid' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. minecraft { // 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 always work. // Simply re-run your setup task after changing the mappings to update your workspace. mappings channel: 'snapshot', version: '20200531-1.15.1' // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Default run configurations. // These can be tweaked, removed, or duplicated as needed. runs { client { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' mods { examplemod { source sourceSets.main } } } server { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' mods { examplemod { source sourceSets.main } } } data { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/') mods { examplemod { source sourceSets.main } } } } } dependencies { // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. // The userdev artifact is a special name and will get all sorts of transformations applied to it. minecraft 'net.minecraftforge:forge:1.15.2-31.1.0' // 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 // The 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. // provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' // These dependencies get remapped to your current MCP mappings // deobf 'com.mod-buildcraft:buildcraft:6.0.8:dev' // For more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } // Example for how to get properties into the manifest for reading by the runtime.. jar { manifest { attributes([ "Specification-Title": "examplemod", "Specification-Vendor": "examplemodsareus", "Specification-Version": "1", // We are version 1 of ourselves "Implementation-Title": project.name, "Implementation-Version": "${version}", "Implementation-Vendor" :"examplemodsareus", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } // Example configuration to allow publishing using the maven-publish task // we define a custom artifact that is sourced from the reobfJar output task // and then declare that to be published // Note you'll need to add a repository here def reobfFile = file("$buildDir/reobfJar/output.jar") def reobfArtifact = artifacts.add('default', reobfFile) { type 'jar' builtBy 'reobfJar' } publishing { publications { mavenJava(MavenPublication) { artifact reobfArtifact } } repositories { maven { url "file:///${project.projectDir}/mcmodsrepo" } } } Here you are. The only thing I can recall touching in here is the mappings for updating them.
  9. I never messed with the userProperties argument. Is it tied to the user? If so what would i do to fix it? If not what could be the issue?
  10. [01Jun2020 09:13:22.005] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilUserAuthentication/]: Logging in with username & password [01Jun2020 09:13:22.660] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username=Dynash_Etvala, --gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 31.1.0, --version, MOD_DEV, --assetIndex, 1.15, --assetsDir, C:\Users\albri\.gradle\caches\forge_gradle\assets, --uuid, f07ad0c337ed492d8a51a2d8855583e7, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {preferredLanguage=[com.mojang.authlib.properties.Property@4b45a2f5]}] [01Jun2020 09:13:22.663] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_251 by Oracle Corporation [01Jun2020 09:13:22.824] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [01Jun2020 09:13:24.028] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\albri\.gradle\caches\forge_gradle\assets, --uuid, f07ad0c337ed492d8a51a2d8855583e7, --username=Dynash_Etvala, --assetIndex, 1.15, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {preferredLanguage=[com.mojang.authlib.properties.Property@4b45a2f5]}] [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [01Jun2020 09:13:24.237] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at java.lang.reflect.Method.invoke(Method.java:498) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [01Jun2020 09:13:24.238] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 5 more [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $. [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at com.google.gson.internal.Streams.parse(Streams.java:60) [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:366) [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:391) [01Jun2020 09:13:24.239] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:412) [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: at net.minecraft.client.main.Main.main(Main.java:107) [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:644]: ... 11 more [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $. [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:508) [01Jun2020 09:13:24.240] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) [01Jun2020 09:13:24.241] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:738) [01Jun2020 09:13:24.241] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) [01Jun2020 09:13:24.241] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: at com.google.gson.internal.Streams.parse(Streams.java:48) [01Jun2020 09:13:24.241] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:668]: ... 16 more Here's the logs, sorry for not including them in my first post.
  11. I'm currently trying to use my Minecraft account for multiplayer testing, however, when I add the arguments (--username=<my username> --password=<my password>) and run the client, it seems to login and build correctly up until the window launches where I get an 'Exception in thread "main"' thrown. I've also checked if it runs and launches after removing the login credential arguments and it does.
×
×
  • Create New...

Important Information

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