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

Clear facade recipes #1445

Closed

Conversation

kirjorjos
Copy link
Contributor

Closes #1424 by adding a normal crafting recipe for lossy clearing and a recipe in both squeezers for non-lossy clearing

Fixes:
* Fix inputs of JEI recipes not being recognized
  Closes CyclopsMC#1312
Copy link
Member

@rubensworks rubensworks left a comment

Choose a reason for hiding this comment

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

I understand the need for a custom recipe serializer, but I'm pretty sure the custom recipe type is not necessary. Could you try using the existing recipe type? I think this will simplify this code by a lot.

@kirjorjos
Copy link
Contributor Author

I could modify the 2 existing recipe types to directly call the calculator method, but the reason I did it with an additional recipe type is to make it clear in the JSON recipe files that it's a special type. If you think that just putting it in the special folder twice won't cause too much confusion, I'll go ahead and modify the 2 existing classes to directly call the calculator method.

@rubensworks
Copy link
Member

Sure, modifying the existing recipe type is fine. It would become a bit similar to the crafting recipe type, so we can probably even use the same method name as there.

@kirjorjos kirjorjos force-pushed the clear-facade-recipes branch from e5cfb01 to 1344049 Compare December 26, 2024 04:46
@kirjorjos
Copy link
Contributor Author

I'm closing this PR to open a new one on a new branch to both keep the commit history cleaner and help me make sure I don't forget to delete any unrequired code.

@kirjorjos kirjorjos closed this Dec 26, 2024
@kirjorjos kirjorjos deleted the clear-facade-recipes branch December 26, 2024 04: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.

7 participants