#gradlew error class file for net.minecraft.class_3222 not found
38 messages · Page 1 of 1 (latest)
thx bro x)))))
don't use implementation for mods
ah
they all remap the dependency you provide
i tryed but
if you use just implementation instead of modImplementation it won't remap minecraft classes
using both (like you are) will probably lead to some weird behaviour
ye similar to how fabric is implemented as you see modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
you refreshed gradlew?
of course x)
- implementation "com.cobblemon:fabric:1.5.2+1.20.1"
- implementation "com.cobblemon:mod:1.5.2+1.20.1"
- modApi "com.cobblemon:fabric:1.5.2+1.20.1"
- modApi "com.cobblemon:mod:1.5.2+1.20.1"
+ modImplementation "com.cobblemon:fabric:1.5.2+1.20.1"
+ modImplementation "com.cobblemon:mod:1.5.2+1.20.1"
refresh gradle and run ./gradlew clean --refresh-dependencies after
ok
also why are you using org.json instead of gson
gson already comes with depending on minecraft
cause i had very old code and i didnt wanted to rewrite it
x)
but its fine for now
nop not working still x)
did the command and everything
its weird as fuck if i open the file by hand it shows the right mapping but if i ctrl click it shows the wrong one
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
shadow(implementation 'org.java-websocket:Java-WebSocket:1.5.7')
shadow(implementation 'org.json:json:20231013')
shadow(implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1')
modImplementation "net.luckperms:api:5.4"
modImplementation "com.cobblemon:fabric:1.5.2+1.20.1"
modImplementation "com.cobblemon:mod:1.5.2+1.20.1"
modImplementation files('./libs/staracademy-mc1.20.1-v1.0.0.98-fabric.jar')
@rare horizon ? x)

??
i know that
the question is why does it remap correctly
Error class file for net.minecraft.class_3222 not found
gradlew error class file for net.minecraft.class_3222 not found
tryed on a brand new project same error
does it work when you dont use shadow?