Skip to content

Band-aid fix and run Datagen - #5214

Closed
DilithiumThoride wants to merge 2 commits into
1.21from
dt/datagen-bandaid-121
Closed

Band-aid fix and run Datagen#5214
DilithiumThoride wants to merge 2 commits into
1.21from
dt/datagen-bandaid-121

Conversation

@DilithiumThoride

Copy link
Copy Markdown
Contributor

What

1.21 datagen is broken, throwing Duplicate Lang Key errors.
Now at least it's runnable.

Implementation Details

I do not think this is the correct solution. I think the problem is something in LangHandler.replace() but I have no idea where to look. Commenting these five keys out at least removes the duplicate key errors and lets datagen be run at all but this should be further examined by someone who understands the NeoForge datagen pipeline.

Note that while the commit shows there are lang keys being removed, the lang for those 3 Oils does still exist just with oil_light flipped to light_oil, etc. The Oil and Creosote replace keys though, I don't know why those are even set to replace because they're already called Oil and Creosote.

AI Usage

  • [ X ] No AI driven tools were used for this pull request.

Outcome

Datagen does run again

@DilithiumThoride
DilithiumThoride requested a review from a team as a code owner July 30, 2026 21:28
@DilithiumThoride DilithiumThoride added 1.21.1 type: bugfix General bug fixes Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Jul 30, 2026
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Jul 30, 2026
@DilithiumThoride

Copy link
Copy Markdown
Contributor Author

superceded by #5217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant