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.

Gradle can't find net.minecraft:server:1.16.5_mapped_official_1.16.5.

Featured Replies

Posted

I'm attempting to use FG to download the vanilla Minecraft server.
Gradle throws this massive error: hastebin
 

build.gradle:

Spoiler

buildscript {
  repositories {
    maven { url = 'https://maven.minecraftforge.net' }
    maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
    mavenCentral()

    dependencies {
      classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.+', changing: true
      classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
    }
  }
}

apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'

group = 'com.blockypenguin'
archivesBaseName = 'spongecake'
version = '0.0.1'

def minecraftVersion = '1.16.5'
def mixinJson = "spongecake.refmap.json"

java.toolchain.languageVersion = JavaLanguageVersion.of(8)

minecraft {
  mappings channel: 'official', version: minecraftVersion

  runs {
    server {
      workingDirectory project.file('run')
      property 'forge.logging.markers', 'REGISTRIES'
      property 'forge.logging.console.level', 'debug'

      arg "-mixin.config=$mixinJson"
    }
  }
}

mixin { add sourceSets.main, mixinJson }

repositories {
  maven { url = 'https://files.minecraftforge.net/maven' }
  mavenCentral()
}

dependencies {
  minecraft "net.minecraft:server:$minecraftVersion"
  annotationProcessor 'org.spongepowered:mixin:0.8:processor'
}

jar {
  manifest {
    attributes([
      "Specification-Title"     : "SpongeCake Minecraft Server $minecraftVersion",
      "Specification-Vendor"    : "BlockyPenguin",
      "Specification-Version"   : "1",
      "Implementation-Title"    : project.name,
      "Implementation-Version"  : project.version,
      "Implementation-Vendor"   : "BlockyPenguin",
      "MixinConfigs"            : mixinJson,
      "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
    ])
  }
}

jar.finalizedBy('reobfJar')

 

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

  • Author

bump

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

  • Author
6 hours ago, diesieben07 said:

What on earth are you trying to achieve here?

Modifying vanilla with Mixins, no Forge, no Fabric, just plain old vanilla.

I know, it's not recommended, but it's a personal project of mine, just to see where it could lead.

I have no intentions of making anything fancy, i.e. "real" modified servers like paper or sponge, it's more of a testing ground.

Any ideas as to how to fix this?

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.