So I’m new to quilt modding and while creating a command I ran into this error org.quiltmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: net/minecraft/text/Text. I have no idea how to fix this and wanted to see if somebody more experienced than me can help me solve it.
This is the code I am running: code - Pastebin.com
Would it be possible to see the build.gradle
file along with the gradle.properties
file and the libs.versions.toml
if you have one?
Will be difficult to find the issue without those.
This is definitely puzzling as I’d thought it was an older MC version, I’m not sure where the issue is with a quick look.
Maybe it’s not being mapped correctly, so instead of being text.Text it’s closer to p_5124.c_2451?
Though it does seem to be using Quilt mapping in both, so…
I was finally able to fix the error by running the build command instead of the jar command in gradle (I have no idea why I was using “jar” in the first place).