Wiki 9Minecraft Silents Mechanisms Wiki

Refinery

The refinery is a machine which take in one fluid and outputs up to four fluids. Additional recipes can be added with data packs. The refinery requires Forge Energy to work. Energy is used at a fixed rate while the machine is working, and no energy while it is not.

Refinery recipes process a full bucket (1000 mB) of feedstock (input fluid) at once. This means there needs to be at least 1000 mb of fluid in the input tank before the refinery will start working.

Recipes

Recipes can be added with data packs. These go in the recipes folder, same as item-based recipes. The recipe type is silents_mechanisms:refining. The format is detailed below. Ingredients support specific fluids or fluid tags.

Format

  • process_time - The time (in ticks) required to process one bucket of feedstock
  • ingredient - The input ingredient. Similar to vanilla recipes ingredients, this can contain either fluid for a specific fluid ID, or tag to match fluids in a tag.
    • fluid - The fluid ID (examples: minecraft:water, silents_mechanisms:oil, etc)
    • tag - A fluid tag (examples: forge:oil, etc)
  • results - List of outputs. Can contain up to four elements. Each element is an object that contains the fluid ID and amount (in millibuckets, or mB)
    • (objects)
      • fluid - The fluid ID (examples: minecraft:water, silents_mechanisms:oil, etc)
      • amount - Amount of fluid (in mB) produced per bucket of feedstock

Example

{
    "process_time": 600,
    "ingredient": {
        "tag": "forge:oil"
    },
    "results": [
        {
            "fluid": "silents_mechanisms:diesel",
            "amount": 1000
        },
        {
            "fluid": "silents_mechanisms:ethane",
            "amount": 1000
        }
    ]
}