Mechanical Machinery

Mechanical Machinery

897 Downloads

Mechanical Machinery

Mechanical machinery is a mod I have made to add all the things that i wish could be done with Create. Currently it only adds a sifter (I know a mod already exists I just preferred my own version as it wasn't just a millstone overlayed :joy: and has more features), but I plan to add many things to the mod too.

NOTE: This mod is in the very early stages. Expect bugs, and please report them on the github!

Sifter

The sifter is a block when powered from the bottom with Create's Stress Units will "Sift" your ingredients into its results. It also has the ability to use any fluid in the recipes too. The mod comes with no default recipes. But you can add your own very easily with KubeJS, see below for how:

ServerEvents.recipes(event => {
    event.custom({
        "type": "mechanicalmachinery:sifter",
        "ingredients": [{
                "tag": "forge:sand"
            }, {
                "item": "mechanicalmachinery:mesh"
            },
            //Optional fluid entry
            {
                "amount": 1000,
                "fluid": "minecraft:water",
                "nbt": {}
            }
        ],
        "results": [{
            "item": "minecraft:dirt",
            "chance": 0.2
        }],
        "processingTime": 500,
        //Optional
        "consumesFluid": 150,
        //Optional
        "addedStress": 30
    }).id("mechanicalmachinery:example_recipe")
})

You can also add your own mesh's to be used in your recipes too also with KubeJS, see below for how:

StartupEvents.registry('item', event => { event.create("example_mesh", "mechanicalmachinery:mesh").color(0, 0x2a2c8b).displayName("Example Mesh") })

Any mesh's created with this method will automatically have a parent model of the default mesh meaning you can just specify a colour to make it look different. You can override if wanted by its recommended to use the parent still as that's what the rendering in the sifter knows how to render.



Planned Features

Note: While these are planned I do not have that much knowledge on how to do all the things so it may take a long time, or might not happen without help

  • Some visual of the block your sifting (current thinking is particles)
  • Some kinda Storage system (would have to be as lag free as possible, I know how badly mods like SSN can affect tps at size)
  • Connectable sifters so that you can pump into one and it shares the load
  • Maybe tiered sifters