Skip to content

Better data- and worldgen handling - #5096

Merged
gustovafing merged 11 commits into
GregTechCEu:1.20.1from
screret:sc/better-datagen-and-worldgen-handling/1.20
Jul 25, 2026
Merged

Better data- and worldgen handling#5096
gustovafing merged 11 commits into
GregTechCEu:1.20.1from
screret:sc/better-datagen-and-worldgen-handling/1.20

Conversation

@screret

@screret screret commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What

Clean up

  1. worldgen-type objects' registration (e.g. stop bypassing deferred registers)
  2. chest loot injection
    IMO having these in the same PR is fine as both are mostly conversion to deferred registration.

Implementation Details

Un-janked feature type registration (removed the deferred registries from GTRegistries and the static registration from a few miscallaneous classes that used them)
Converted DungeonLootLoader into a couple deferred registers

AI Usage

  • No AI driven tools were used for this pull request.
  • Yes, AI driven tools were used for this pull request.

Outcome

WAY, WAY cleaner handling of chest loot addition and feature placement registration

How Was This Tested

ran game, opened chests

Additional Information

copied the GLM type from Neoforge because Forge doesn't have any builtin ones for whatever reason

Potential Compatibility Issues

Anyone still using the removed placement modifiers will have to copy them. IDK that anyone is using them, though, as GT addons don't tend to have custom worldgen features (especially with special placement rules).

@screret
screret requested a review from a team as a code owner July 13, 2026 16:06
@gustovafing gustovafing added type: refactor Suggestion to refactor a section of code Release: API - X.0.0 Major Breaking Refactors that MUST be in a API-Breaking Release labels Jul 25, 2026
@gustovafing gustovafing added ignore changelog PR should not be added to the changelog. Ignore Version Sync Do not append this issue to the version sync issue tracker. labels Jul 25, 2026
@gustovafing
gustovafing merged commit df51eac into GregTechCEu:1.20.1 Jul 25, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. Ignore Version Sync Do not append this issue to the version sync issue tracker. Release: API - X.0.0 Major Breaking Refactors that MUST be in a API-Breaking Release type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants