ServerEvents.recipes(event => { // function CrusherItem(mode,item,amount){ return({ "type": "custommachinery:item", "mode": mode, "item": item, "amount": amount }) } const CrusherStructure = { "type": "custommachinery:structure", "pattern": [ [ " AAA ", " BACAB ", "HHAAAHH", "MMMBggg", "MMMBggg", "MMMBggg", "MMMBggg", "MMMBggg", "HHAAAHH", " BACAB ", " AAA " ], [ " AAA ", " BACAB ", "HHAAAHH", "MMMBggg", "MMMBggg", "MMMBggg", "MMMBggg", "MMMBggg", "HHAAAHH", " BACAB ", " AAA " ], [ " ", " B D B ", "HHIDIHH", "MMMDggg", "MMMDggg", "MMMmggg", "MMMRggg", "MMMRggg", "HHSqSHH", " B B ", " " ], [ " ", " B E B ", "JBAAABJ", "JB BJ", "JB P BJ", "JB Q BJ", "JB R BJ", "JB P BJ", "JBAAABJ", " B E B ", " " ], [ " ", " FEGEF ", " KACAK ", " KN OK ", " KO NK ", " KN OK ", " KO NK ", " KN OK ", " KACAK ", " FEGEF ", " " ], [ " ", " ", " LAAAL ", " ", " ", " ", " ", " ", " LAAAL ", " ", " " ] ], "keys": { "E": "design_decor:diagonal_metal_support", "P": "design_decor:industrial_gear", "O": "create:crushing_wheel", "R": "create:encased_chain_drive", "G": "design_decor:industrial_iron_boiler", "J": "minecraft:smooth_stone_slab", "L": "design_decor:andesite_floodlight[facing=up]", "B": "ad_astra:iron_pillar", "Q": "create:gearbox", "q": "create:gearbox[axis=y]", "K": "create_things_and_misc:brass_bricks", "F": "create_things_and_misc:brass_brick_stairs", "N": "design_decor:industrial_gear_large", "H": "create:industrial_iron_block", "M": "design_decor:red_container", "g": "design_decor:green_container", "A": "design_decor:industrial_iron_boiler_structure", "I": "create:display_board", "C": "design_decor:industrial_iron_boiler_large", "S": "create:andesite_casing", "D": "create:encased_fluid_pipe" } } const CrusherSound={ "type": "custommachinery:command", "phase": "crafting_tickable", "command": "/playsound create:crushing_1 block @a ~ ~2 ~", "log": false, "permissionlevel": 5 } const CrusherWater={ "type": "custommachinery:fluid_per_tick", "mode": "input", "fluid": "minecraft:water", "amount": 50 } const CrusherParticle={ "type": "custommachinery:command", "phase": "crafting_tickable", "command": "/function dut:particle/crusher", "log": false, "permissionlevel": 5 } const CrusherStress={ "type": "custommachinery:contraption", "mode": "input", "speed": 256, } event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherParticle, CrusherSound, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:cobblestone",64), CrusherItem("output","minecraft:gravel",64) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:cobblestone",64), CrusherItem("output","minecraft:gravel",64) ] }).id("dut_create:huge_crusher/gravel") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherParticle, CrusherSound, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:gravel",64), CrusherItem("output","minecraft:sand",64), CrusherItem("output","minecraft:flint",6), CrusherItem("output","minecraft:clay_ball",4) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:gravel",64), CrusherItem("output","minecraft:sand",64), CrusherItem("output","minecraft:flint",6), CrusherItem("output","minecraft:clay_ball",4) ] }).id("dut_create:huge_crusher/sand") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherParticle, CrusherSound, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/limestone",64), CrusherItem("output","minecraft:calcite",32), CrusherItem("output","minecraft:bone_meal",32), CrusherItem("output","minecraft:clay_ball",8) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/limestone",64), CrusherItem("output","minecraft:calcite",32), CrusherItem("output","minecraft:bone_meal",32), CrusherItem("output","minecraft:clay_ball",8) ] }).id("dut_create:huge_crusher/limestone") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherParticle, CrusherSound, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:coal",32), CrusherItem("output","kubejs:crushed_coal",56), CrusherItem("output","kubejs:graphite",16) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","minecraft:coal",32), CrusherItem("output","kubejs:crushed_coal",56), CrusherItem("output","kubejs:graphite",16) ] }).id("dut_create:huge_crusher/coal") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherParticle, CrusherSound, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/asurine",64), CrusherItem("output","create:crushed_raw_zinc",80) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/asurine",64), CrusherItem("output","create:crushed_raw_zinc",80) ] }).id("dut_create:huge_crusher/zinc") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/crimsite",64), CrusherItem("output","create:crushed_raw_iron",80) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/crimsite",64), CrusherItem("output","create:crushed_raw_iron",80) ] }).id("dut_create:huge_crusher/iron") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/ochrum",128), CrusherItem("output","create:crushed_raw_gold",160) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/ochrum",128), CrusherItem("output","create:crushed_raw_gold",160) ] }).id("dut_create:huge_crusher/gold") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/veridium",128), CrusherItem("output","create:crushed_raw_copper",160) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","#create:stone_types/veridium",128), CrusherItem("output","create:crushed_raw_copper",160) ] }).id("dut_create:huge_crusher/copper") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:raw_tin",128), CrusherItem("output","create:crushed_raw_tin",160) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:raw_tin",128), CrusherItem("output","create:crushed_raw_tin",160) ] }).id("dut_create:huge_crusher/tin") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 30, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:aluminite",64), CrusherItem("output","kubejs:aluminite_powder",80) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:aluminite",64), CrusherItem("output","kubejs:aluminite_powder",80) ] }).id("dut_create:huge_crusher/aluminite") event.custom({ "type": "custommachinery:custom_machine", "machine": "dut:huge_crusher", "time": 16, "error": true, "requirements": [ CrusherSound, CrusherParticle, CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:aluminum_ingot",64), CrusherItem("output","kubejs:aluminum_slag",64) ], "jei":[ CrusherStructure, CrusherWater, CrusherStress, CrusherItem("input","kubejs:aluminum_ingot",64), CrusherItem("output","kubejs:aluminum_slag",64) ] }).id("dut_create:huge_crusher/aluminum_slag") })