Skip to content

Properly defer material registration (1.21) - #5400

Open
gustovafing wants to merge 79 commits into
1.21from
gus/defer-material-registration
Open

Properly defer material registration (1.21)#5400
gustovafing wants to merge 79 commits into
1.21from
gus/defer-material-registration

Conversation

@gustovafing

Copy link
Copy Markdown
Member

What

Properly defers tag prefix and material registration, moving the material builder to be called on registration rather than statically.
No AI.

Merge after #5379

# Conflicts:
#	src/main/java/com/gregtechceu/gtceu/api/block/ICoilType.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/ChemicalHelper.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/Material.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/properties/HazardProperty.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/properties/MaterialProperties.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/stack/DeferredMaterialStack.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/stack/MaterialEntry.java
#	src/main/java/com/gregtechceu/gtceu/api/data/chemical/material/stack/MaterialStack.java
#	src/main/java/com/gregtechceu/gtceu/api/data/tag/TagPrefix.java
#	src/main/java/com/gregtechceu/gtceu/api/item/component/IMaterialPartItem.java
#	src/main/java/com/gregtechceu/gtceu/common/CommonEventListener.java
#	src/main/java/com/gregtechceu/gtceu/common/block/StoneTypes.java
#	src/main/java/com/gregtechceu/gtceu/common/data/GTMaterials.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/trait/BedrockOreMinerLogic.java
#	src/main/java/com/gregtechceu/gtceu/common/machine/trait/miner/MinerLogic.java
#	src/main/java/com/gregtechceu/gtceu/core/MixinHelpers.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/builder/GTRecipeBuilder.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/generated/OreRecipeHandler.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/generated/PolarizingRecipeHandler.java
#	src/main/java/com/gregtechceu/gtceu/data/recipe/misc/RecyclingRecipes.java
#	src/main/java/com/gregtechceu/gtceu/integration/map/ftbchunks/veins/ore/OreVeinIcon.java
@gustovafing
gustovafing requested a review from a team as a code owner September 5, 2026 07:55
@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 Sep 5, 2026
@github-actions github-actions Bot added the 1.21 label Sep 5, 2026
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Sep 5, 2026
@gustovafing gustovafing changed the title Properly defer material registration Properly defer material registration (1.21) Sep 5, 2026
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