jaredlll08 / MultiLoader-Template

A template for a Forge + Fabric project setup using a Common source set.
Creative Commons Zero v1.0 Universal
359 stars 71 forks source link

Package 'net.minecraft.client' does not exist #40

Closed Leialoha closed 9 months ago

Leialoha commented 9 months ago

Versions:

Template:

Error:

Screenshot 2023-12-20 160717


This is a fresh start of the MultiLoader Template, I haven't changed a single value I just ran these operations:

Leialoha commented 9 months ago

Just to clarify, I can run fabric client no problem.

jaredlll08 commented 9 months ago

Can you test with the forge MDK and see if that has the same issue

Leialoha commented 9 months ago

I have tested the Forge MDK, found out my graphics driver needed to be updated. After updating my driver, the forge SDK ran and displayed the main title screen. However, updating the driver didn't seem to fix the issue above about missing the packages.

jaredlll08 commented 9 months ago

Can you try running gradlew build

Leialoha commented 9 months ago

Build Logs: https://gist.github.com/Leialoha/a0285a612f7750919960c71833243365

jaredlll08 commented 9 months ago

You said this was a fresh clone of the template, but I'm not seeing anything related to the neogradle project, which shouldn't be possible seeing as 1.20.2 was only added with neoforge.

Can you please try a proper fresh clone, with absolutely no changes made to the template, just:

cd ~/Desktop
git clone https://github.com/jaredlll08/MultiLoader-Template.git
cd MultiLoader-Template
.\gradlew build

I have no issues running those commands myself, so I'm really not sure why you would be having issues here.

Leialoha commented 9 months ago

Fresh install, no changes: https://gist.github.com/Leialoha/66158b2e79bcdea3e229f91996addee8

jaredlll08 commented 9 months ago

That still doesn't have the neoforge project.

Could you please open a new command prompt, run those commands, and then provide the output of the full command prompt, not just the gradle command, including the cd command itself.

Also the reason I am asking for cd ~/Desktop is to eliminate anything that could be causing any sort of problem, like running on a different drive (not that I have experienced any problems with that myself, but you never know what is up with ForgeGradle)

Leialoha commented 9 months ago

Fresh install in the ~/Desktop: https://gist.github.com/Leialoha/03510cae6ad9dba256a99b6e1e2844c5

Leialoha commented 9 months ago

After deleting the gradle cache folder ~/.gradle it builds with no errors Check the discord for more info

jaredlll08 commented 9 months ago

Relevant discord thread: https://discord.com/channels/752944675425353768/1186408640073175050