Modular Machinery Reborn Create is an addon of Modular Machinery Reborn mod
This mod can be used to add kinetic power on the Modular Machinery Reborn custom multiblock machines.
ServerEvents.recipes(event => {
event.recipes.modular_machinery_reborn.machine_recipe("mmr:testing_input", 150)
.requireItem("1x minecraft:oak_log", 16, 16)
.produceItem('1x minecraft:oak_planks', 16+ 22, 16 )
.requireKinetic(1024, 16, 42) //requireKinetic(stressUnits, x, y)
event.recipes.modular_machinery_reborn.machine_recipe("mmr:testing_output", 150)
.requireItem("1x minecraft:oak_log", 16, 16)
.produceKinetic(256, 32000, 16, 42) //produceKinetic(rpm, stressCapacity, x, y) // each hatch in the structure would produce the same amount of energy.
})
MMREvents.machines(event => {
event.create("mmr:testing_input")
.name('Testing Kinetic Input machineJS')
.structure(
MMRStructureBuilder.create()
.pattern(
[
["mklio"],
]
)
.keys(
{
"k": "#mmrcreate:kinetic_input_hatch/medium",
"l": "minecraft:iron_block",
"i": "#modular_machinery_reborn:inputbus",
"o": "#modular_machinery_reborn:outputbus"
}
)
)
.controllerModel(ControllerModel.of("minecraft:furnace"))
event.create("mmr:testing_output")
.name('Testing Kinetic Output machineJS')
.structure(
MMRStructureBuilder.create()
.pattern(
[
["mklik"],
]
)
.keys(
{
"k": "mmrcreate:kinetic_output_hatch",
"l": "minecraft:iron_block",
"i": "#modular_machinery_reborn:inputbus"
}
)
)
.controllerModel(ControllerModel.of("minecraft:furnace"))
})
#mmrcreate:kinetic_hatch
#mmrcreate:kinetic_input_hatch
#mmrcreate:kinetic_output_hatch
#mmrcreate:kinetic_input_hatch/slow
#mmrcreate:kinetic_input_hatch/medium
#mmrcreate:kinetic_input_hatch/fast
Download this mod on TODO
Btw you are free to use this mod in any modpack.