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.

askaine_

Members
  • Joined

  • Last visited

  1. askaine_ changed their profile photo
  2. in my mod code i import package net.minecraftforge.fml.common and when i try to do mvn compile i get the error in the title this is my build.gradle.kts - plugins { idea java id("gg.essential.loom") version "0.10.0.+" id("dev.architectury.architectury-pack200") version "0.1.3" id("com.github.johnrengelman.shadow") version "7.1.2" } group = "de.torui.coflmod" version = "1.5.0-alpha" // Toolchains: java { toolchain.languageVersion.set(JavaLanguageVersion.of(8)) } // Minecraft configuration: loom { launchConfigs { "client" { } } forge { pack200Provider.set(dev.architectury.pack200.java.Pack200Adapter()) } } sourceSets.main { output.setResourcesDir(file("$buildDir/classes/kotlin/main")) } // Dependencies: repositories { mavenCentral() maven("https://repo.spongepowered.org/maven/") // If you don't want to log in with your real minecraft account, remove this line maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") } val shadowImpl by configurations.creating { configurations.implementation.get().extendsFrom(this) } dependencies { minecraft("com.mojang:minecraft:1.8.9") mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9") forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9") annotationProcessor("org.spongepowered:mixin:0.8.4-SNAPSHOT") shadowImpl("com.neovisionaries:nv-websocket-client:2.14") // If you don't want to log in with your real minecraft account, remove this line modRuntimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") } // Tasks: tasks.withType(JavaCompile::class) { options.encoding = "UTF-8" } tasks.withType(Jar::class) { archiveBaseName.set("CoflMod") manifest.attributes.run { this["FMLCorePluginContainsFMLMod"] = "true" this["ForceLoadAsMod"] = "true" this["Manifest-Version"] = "1.0" } } val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") { archiveClassifier.set("all") from(tasks.shadowJar) input.set(tasks.shadowJar.get().archiveFile) } tasks.shadowJar { archiveClassifier.set("all-dev") configurations = listOf(shadowImpl) doLast { configurations.forEach { println("Config: ${it.files}") } } } tasks.assemble.get().dependsOn(tasks.remapJar)

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.