Open Lyinginbedmon opened 2 months ago
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!
are you using the official Mojang mappings, or Yarn?
Yarn
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