When generating a project for 1.20.1 with Yarn mappings, the Common subproject has modApi(libs.hexcasting.common) listed in the dependencies section of build.gradle.kts. Since the Common jar isn't remapped by loom, this dependency should be changed to modApi(libs.hexcasting.fabric) (which includes the Common code).
When generating a project for 1.20.1 with Yarn mappings, the
Common
subproject hasmodApi(libs.hexcasting.common)
listed in the dependencies section ofbuild.gradle.kts
. Since the Common jar isn't remapped by loom, this dependency should be changed tomodApi(libs.hexcasting.fabric)
(which includes the Common code).