Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. interconnected meteor loose ends and code cleanup #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

koolkrafter5
Copy link

Rewrote the meteor config read method to use a TypeAdapter for the Meteor Components, which made the distinction between Meteor.java and MeteorParadigm.java redundant.
MeteorParadigm.java was renamed to Meteor.java, and the methods in the old Meteor.java were moved. Many methods previously in MeteorParadigm.java were moved out to other classes where they were more relevant.
Made fillerChance in Meteor.java a float to allow greater control over configuration. Previously written config files are backwards compatible with this change.
Moved some hard-coded default values to the BM config file.
Created default meteor configs that will be generated if config/BloodMagic/meteors/ is not present.
Improved default config generation by making some code in AlchemicalWizardry.java used to load default schematics a generic function.
Created some README files that will be generated only if config/BloodMagic/meteors/ or config/BloodMagic/meteors/reagents is not present:
README (meteors).txt
README (reagents).txt
Refactored many files and methods related to meteors to remove the word "Paradigm" (like MeteorParadigmComponent -> MeteorComponent) because it just served to make names longer.

Rewrote the meteor config read function to use a TypeAdapter for the Meteor Components, which made the distinction between Meteor.java and MeteorParadigm.java redundant. MeteorParadigm.java was renamed to Meteor.java, and the methods in the old Meteor.java were moved. Moved many methods in Meteor.java were moved out to other classes where they were more relevant.
Made fillerChance in Meteor.java a float to allow greater control over configuration.
Moved some hard-coded default values to the BM config file.
Created default meteor configs that will be generated if config/BloodMagic/meteors/ is not present.
Improved default config generation by making some code in AlchemicalWizardry.java used to load default schematics a generic function.
Created some README files that will be generated only if config/BloodMagic/meteors/ or config/BloodMagic/meteors/reagents is not present.
Refactored many files related to meteors to remove the word "Paradigm" because it just served to make names longer.
@Dream-Master Dream-Master requested a review from a team January 20, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants