Skip to content

Feature Request: Add option to input or output to a specific IO block #197

@MasterBuilder747

Description

@MasterBuilder747

I would like to use this for both liquids and items. For example, if I wanted to make a distillation tower and wanted lighter gases to output on higher hatches and heavier gases to output on lower hatches. Also, this can be done with inputs. For example, if I wanted a dedicated item input slot for just the numbered circuit that identifies which recipe to use. Then the recipe will not start until it has that specific item/fluid in that specific IO hatch.

When defining the machine json, you can set a unique identifier for the item/liquid input/output hatch:
{
"x": -1,
"y": 0,
"z": 2,
"elements": ["modularmachinery:blockoutputbus@6"],
"id": "stone_hatch",
"desc": "output for stone"
},

This variable can then be referenced when adding recipes through CraftTweaker. This can be an optional additional parameter to each item/fluid input/output function:
var testMachine = mods.modularmachinery.RecipeBuilder.newBuilder("testMachine", "test machine", 10, 0);
testMachine.addItemInput(<minecraft:dirt:0>);
testMachine.addItemOutput(<minecraft:stone>, "stone_hatch");
testMachine.build();

This would have to be valid id and item output.

Also, in JEI you can add a description to each IO block in the preview to indicate what it does. When clicking the block in the preview, the description shows as a tooltip. Maybe it can be highlighted yellow to indicate it is a separate IO block from the rest. This can also be shown as a tooltip when looking at the affected item/liquid the recipe.

I would really appreciate this feature as I am actively using this mod in my pack. I thank you for all the work you have put into maintaining this mod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions