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

Add methods to change a material's composition #2630

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

Conversation

Rundas01
Copy link
Contributor

What

For Addon/Modpack devs, it's unfortunate to not have a way of changing a material's composition. Autogenerated recipes obviously work with the composition and not the chemical formula of a material, so to prevent the need of adding the disable decomposition flag and a new decomposition recipe for materials with changed formula alone, it's more reasonable to just change the composition in the first place.

Implementation Details

Please check whether I used the ZenMethod annotation correctly.

Outcome

Some Addon/Modpack devs will be happy.

@Rundas01 Rundas01 requested a review from a team as a code owner September 30, 2024 21:35
the formula needed to be nulled at first. otherwise, the old formula would be used for the new components
@ALongStringOfNumbers ALongStringOfNumbers added the type: feature New feature or request label Oct 7, 2024
Copy link
Member

@bruberu bruberu left a comment

Choose a reason for hiding this comment

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

This basically seems fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants