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

[Suggestion] Add the ability to have choice of output #58

Open
ChiefLogan3010 opened this issue Jul 13, 2022 · 8 comments
Open

[Suggestion] Add the ability to have choice of output #58

ChiefLogan3010 opened this issue Jul 13, 2022 · 8 comments

Comments

@ChiefLogan3010
Copy link

One of my favourite vanilla additions in recent years is the stonecutter, however it’s limited in its use cases due to only having one input and output slot. My suggestion is adding the ability to create recipes with a choice of output similar to the stonecutter, while also allowing all of the other recipe conditions that make this mod great.

As an example, a packdev could add an anvil “machine” which has input slots for ingots and a hammer, but gives the player the choice of creating a rod, plate, nuggets or some custom item like a pickaxe head, all of which consumes durability from the hammer. There could also be a second output slot for any leftover material in the form of nuggets.

Another use case could be a circuit assembly machine, which consumes energy and has input slots for things like redstone, wires and plastic sheets, with a fluid input for molten lead for soldering. The player could then choose to make different circuits that consume different resources, which then go on to be used as a crafting material in other machines.

@Frinn38
Copy link
Owner

Frinn38 commented Jul 13, 2022

That would be an awesome feature, I planned to rewrite a good part of the crafting process anyway, will try to add it.

@ChiefLogan3010
Copy link
Author

Glad to hear you like the idea! I hope it’s not too difficult to add. What MC version are you planning the rewrite for?

@Frinn38
Copy link
Owner

Frinn38 commented Jul 14, 2022

All new features are for 1.18 version.

@ChiefLogan3010
Copy link
Author

Ah good, I was worried it might be for 1.19

@ChiefLogan3010
Copy link
Author

Hi there @Frinn38, it's been a while and I have somewhat ironically moved on to 1.19.2, I was just wondering if this was still something you have planned for the mod or if I should look into alternate ways of achieving the same?

@Frinn38
Copy link
Owner

Frinn38 commented Dec 9, 2023

It's kinda possible now, you can add buttons on the machine gui that requires to be pressed by the player to craft a recipe.
I still plan to make a stonecutter like gui element with several buttons that allows only one of them to be pressed at a time but this still isn't implemented (that's why I didn't close this issue).

@ChiefLogan3010
Copy link
Author

I wondered about buttons, but am I right in thinking all buttons would be the same no matter what you input into the machine? Or can buttons change dynamically based on input?

@Frinn38
Copy link
Owner

Frinn38 commented Dec 10, 2023

Nope indeed the buttons would always be the same

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

No branches or pull requests

2 participants