Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20.6] Neoforge fails to function during runCommonDatagen #533

Open
Lyinginbedmon opened this issue Jul 7, 2024 · 3 comments
Open

[1.20.6] Neoforge fails to function during runCommonDatagen #533

Lyinginbedmon opened this issue Jul 7, 2024 · 3 comments

Comments

@Lyinginbedmon
Copy link

I've created a fresh 1.20.6 workspace using the Architectury project generator for Fabric & Neoforge. Having followed the documentation guidelines to implement data generation, I am able to access the runCommonDatagen gradle task.

However, firstly I encounter an error related to the absence of a proper processResources call in the data generation procedure, causing the mod to be rejected due to an invalid version number defined in mods.toml using a placeholder. I amended this to a static value of 1.0.0 for the time being and repeated running the runCommonDatagen task.

This resulted in the following crash, which seems to be rooted in the Neoforge sub-project itself and not with any portion of my own code. As stated, this occurs even in a blank slate workspace.

Full crash report

@KangaliaV
Copy link

I am experiencing the exact same issue in 1.21, which is preventing me from running any world generation data gen tasks. Hopefully this is fixed soon!

@Jab125
Copy link
Member

Jab125 commented Jul 17, 2024

are you using the official Mojang mappings, or Yarn?

@Lyinginbedmon
Copy link
Author

Yarn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants