Skip to content

Properly defer machine registration (1.21) - #5372

Open
gustovafing wants to merge 45 commits into
1.21from
gus/defer-machine-registration
Open

Properly defer machine registration (1.21)#5372
gustovafing wants to merge 45 commits into
1.21from
gus/defer-machine-registration

Conversation

@gustovafing

@gustovafing gustovafing commented Aug 31, 2026

Copy link
Copy Markdown
Member

What

Properly defers machines to the proper registration time, machine builder now returns a machine entry holder, which can be used in a lot of places where machinedefinitions could.
No AI

Merge after #5358 & #5366

@gustovafing
gustovafing requested a review from a team as a code owner August 31, 2026 01:15
@gustovafing gustovafing added 1.21.1 ignore changelog PR should not be added to the changelog. 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 Ignore Version Sync Do not append this issue to the version sync issue tracker. labels Aug 31, 2026
@github-actions github-actions Bot added the 1.21 label Aug 31, 2026
@gustovafing gustovafing changed the title Gus/defer machine registration Properly defer machine registration (1.21) Aug 31, 2026
# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/api/addon/IGTAddon.java
#	src/main/java/com/gregtechceu/gtceu/api/data/worldgen/modifier/DimensionFilter.java
#	src/main/java/com/gregtechceu/gtceu/api/data/worldgen/modifier/FrequencyModifier.java
#	src/main/java/com/gregtechceu/gtceu/api/registry/registrate/builder/MachineBuilder.java
#	src/main/java/com/gregtechceu/gtceu/common/CommonProxy.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GTFeatures.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GTSoundEntries.java
#	src/main/java/com/gregtechceu/gtceu/common/worldgen/modifier/BiomeDependentPlacement.java
#	src/main/java/com/gregtechceu/gtceu/common/worldgen/modifier/RubberTreeChancePlacement.java
#	src/main/java/com/gregtechceu/gtceu/data/loot/ChestGenHooks.java
#	src/main/java/com/gregtechceu/gtceu/integration/kjs/GregTechKubeJSPlugin.java
#	src/test/java/com/gregtechceu/gtceu/gametest/world/RealWorldItemUsage.java
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Aug 31, 2026
@gustovafing
gustovafing force-pushed the gus/defer-machine-registration branch from fa0defc to 9333986 Compare August 31, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 1.21.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 Tests: Passed Game Tests have passed on this PR type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant