Skip to content

Comments

Small refactor for drawing recipe properties on JEI#1718

Merged
serenibyss merged 2 commits intoGregTechCEu:masterfrom
miozune:feature/jei-property-refactor
Apr 22, 2023
Merged

Small refactor for drawing recipe properties on JEI#1718
serenibyss merged 2 commits intoGregTechCEu:masterfrom
miozune:feature/jei-property-refactor

Conversation

@miozune
Copy link
Contributor

@miozune miozune commented Apr 19, 2023

What

This PR does some refactor for drawing recipe properties on JEI.

Implementation Details

Move some private methods in GTRecipeWrapper and RecipeMapCategory to public method on RecipeMap, so that recipemaps can override them.

Outcome

Allow more customizability for drawing RecipeProperty on JEI.

Additional Information

One property is used to draw two lines in this recipemap.
2023-04-19_13 18 47

Potential Compatibility Issues

Removed only private methods, no incompatibility expected

@ALongStringOfNumbers ALongStringOfNumbers added the type: refactor Suggestion to refactor a section of code label Apr 20, 2023
Copy link
Member

@TechLord22 TechLord22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@TechLord22 TechLord22 added this to the 2.6.2 milestone Apr 20, 2023
@serenibyss serenibyss merged commit 5861abc into GregTechCEu:master Apr 22, 2023
@miozune miozune deleted the feature/jei-property-refactor branch April 24, 2023 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants