Custom-Machinery icon indicating copy to clipboard operation
Custom-Machinery copied to clipboard

[Suggestion] Add the ability to have choice of output

Open ChiefLogan3010 opened this issue 4 years ago • 8 comments

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.

ChiefLogan3010 avatar Jul 13 '22 13:07 ChiefLogan3010

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

Frinn38 avatar Jul 13 '22 21:07 Frinn38

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?

ChiefLogan3010 avatar Jul 13 '22 23:07 ChiefLogan3010

All new features are for 1.18 version.

Frinn38 avatar Jul 14 '22 16:07 Frinn38

Ah good, I was worried it might be for 1.19

ChiefLogan3010 avatar Jul 14 '22 23:07 ChiefLogan3010

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?

ChiefLogan3010 avatar Dec 09 '23 16:12 ChiefLogan3010

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).

Frinn38 avatar Dec 09 '23 18:12 Frinn38

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?

ChiefLogan3010 avatar Dec 10 '23 19:12 ChiefLogan3010

Nope indeed the buttons would always be the same

Frinn38 avatar Dec 10 '23 23:12 Frinn38