[1.17.x Fabric] Cannot Remap AW From Namespace 'named'
See original GitHub issueVersion Info
Minecraft: Java Edition 1.17 GeckoLib: 3.0.13 Loader: Fabric
Issue
After adding Geckolib to the Gradle buildscript, Gradle complains that it cannot remap an accesswidener from namespace named
. It expected intermediary
.
- Confirmed caused by adding Geckolib.
- Does not occur if Geckolib is removed from the buildscript.
Buildscript
- Outside the
buildscript
block, next to the Minecraft, Fabric API, and Fabric Loader dependencies.
repositories {
maven {
url 'https://maven.terraformersmc.com/releases'
content {
includeGroup('com.terraformersmc')
}
}
maven {
url "https://maven.shedaniel.me/"
content {
includeGroup('me.shedaniel')
}
}
maven {
url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/'
content {
includeGroup('software.bernie.geckolib')
}
}
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modApi "com.terraformersmc:modmenu:${project.modmenu_version}"
modImplementation("software.bernie.geckolib:geckolib-fabric-1.17:${project.geckolib_version}:dev") {
}
}
org.gradle.jvmargs = -Xmx1G
kotlin_version = 1.5.30
minecraft_version = 1.17.1
yarn_mappings = 1.17.1+build.61
loader_version = 0.11.7
fabric_version = 0.40.1+1.17
mod_version = 1.0.0
maven_group = com.halotroop
archives_base_name = mod-suite
modmenu_version = 2.0.11
rei_version = 6.0.279-alpha
geckolib_version = 3.0.13
Stacktrace:
Caused by: java.lang.IllegalArgumentException: Cannot remap access widener from namespace 'named'. Expected: 'intermediary'
at net.fabricmc.accesswidener.AccessWidenerRemapper.visitHeader(AccessWidenerRemapper.java:53)
at net.fabricmc.accesswidener.AccessWidenerReader.read(AccessWidenerReader.java:93)
at net.fabricmc.accesswidener.AccessWidenerReader.read(AccessWidenerReader.java:73)
at net.fabricmc.accesswidener.AccessWidenerReader.read(AccessWidenerReader.java:66)
at net.fabricmc.loom.configuration.mods.ModProcessor.remapAccessWidener(ModProcessor.java:120)
at net.fabricmc.loom.configuration.mods.ModProcessor.remapJars(ModProcessor.java:186)
...200+ more lines
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
tutorial:accesswideners [Fabric Wiki]
Classes. Class access can be changed by specifying the access and the class name as named the mappings namespace defined in the header....
Read more >Tanzu Kubernetes Grid Integrated Edition (TKGI) v1.8
When Tanzu Kubernetes Grid Integrated Edition upgrades a single-master cluster, you cannot interact with your cluster, use kubectl ,.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also encountered this problem, but I changed the
fabric-loom
to version 0.9 and it can be used normally. You can also tryhttps://fabricmc.net/versions.html http://imgur.com/a/vmI4Eg9