Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hasechris92

Members
  • Joined

  • Last visited

Everything posted by hasechris92

  1. Hi, i'm just starting on some modding turtorials now. I want to run the Client with my clean user session, but the client launch keeps failing. If i dont specify the arguments --username and --password, the client gets loaded successfully with "my" mod. I have made a gradle scan with the errror here: https://scans.gradle.com/s/uiopxxndtcji2/console-log#L764 Right on line 764 is the first error sign. The Main Java Class. Nothing really in there because i just renamed the example MDK. package net.hasiatthegrill.turtorialmodhase; import net.minecraftforge.fml.common.Mod; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @Mod("turtorialmodhase") public class TurtorialModHase { private static final Logger LOGGER = LogManager.getLogger(); public static final String MODID = "turtorialmodhase"; } My build.gradle: 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.14.4-0.0.1' group = 'net.hasiatthegrill.turtorialmodhase' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'turtorialmodhase' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. minecraft { mappings channel: 'snapshot', version: '20191001-1.14.3' runs { client { workingDirectory project.file('run') args '[email protected]', '--password=<password>' property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' mods { turtorialmodhase { source sourceSets.main } } } server { workingDirectory project.file('run') args '[email protected]', '--password=<password>' property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' mods { turtorialmodhase { source sourceSets.main } } } data { workingDirectory project.file('run') property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.console.level', 'debug' args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/') mods { turtorialmodhase { source sourceSets.main } } } } } processResources { inputs.property 'version', project.version from(sourceSets.main.resources.srcDirs) { include 'META-INF/mods.toml' expand 'version':project.version } from(sourceSets.main.resources.srcDirs) { exclude 'META-INF/mods.toml' } } dependencies { minecraft 'net.minecraftforge:forge:1.14.4-28.1.0' } jar { manifest { attributes([ "Specification-Title": "turtorialmodhase1", "Specification-Vendor": "hasiatthegrill", "Specification-Version": "1", // We are version 1 of ourselves "Implementation-Title": project.name, "Implementation-Version": "${version}", "Implementation-Vendor" :"hasiatthegrill", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } 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" } } } task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource } build.dependsOn sourcesJar artifacts { archives sourcesJar } Greetings hasechris92

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.