Version 5.4

This commit is contained in:
2026-01-27 17:19:00 +00:00
parent 59ef42a1c2
commit d7558df773
3554 changed files with 303488 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 32
let energy = 1024
const crystalAmount = 200;
const recipes = {
'alltheores:clean_aluminum' : [crystalAmount, 'alltheores:aluminum_crystal'],
'alltheores:clean_lead' : [crystalAmount, 'alltheores:lead_crystal'],
'alltheores:clean_osmium' : [crystalAmount, 'alltheores:osmium_crystal'],
'alltheores:clean_nickel' : [crystalAmount, 'alltheores:nickel_crystal'],
'alltheores:clean_platinum' : [crystalAmount, 'alltheores:platinum_crystal'],
'alltheores:clean_silver' : [crystalAmount, 'alltheores:silver_crystal'],
'alltheores:clean_tin' : [crystalAmount, 'alltheores:tin_crystal'],
'alltheores:clean_uranium' : [crystalAmount, 'alltheores:uranium_crystal'],
'alltheores:clean_zinc' : [crystalAmount, 'alltheores:zinc_crystal'],
'alltheores:clean_iridium' : [crystalAmount, 'alltheores:iridium_crystal'],
'alltheores:clean_copper' : [crystalAmount, 'alltheores:copper_crystal'],
'alltheores:clean_iron' : [crystalAmount, 'alltheores:iron_crystal'],
'alltheores:clean_gold' : [crystalAmount, 'alltheores:gold_crystal'],
'allthemodium:clean_allthemodium' : [crystalAmount, 'allthemodium:allthemodium_crystal'],
'allthemodium:clean_vibranium' : [crystalAmount, 'allthemodium:vibranium_crystal'],
'allthemodium:clean_unobtainium' : [crystalAmount, 'allthemodium:unobtainium_crystal'],
'kubejs:clean_crimson_iron' : [crystalAmount, 'kubejs:crimson_iron_crystal'],
'kubejs:clean_azure_silver' : [crystalAmount, 'kubejs:azure_silver_crystal'],
'mekanism:lithium' : [100, 'mekanism:dust_lithium'],
'mekanism:brine' : [15, 'alltheores:salt'],
'mekanism:antimatter' : [1000, 'mekanism:pellet_antimatter'],
}
for (const [input, [amount,output]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_crystallizer', 20)
.requireEnergy(multiplier * energy, 8, 8)
.requireChemical(`${amount * multiplier}x ${input}`, 31, 26)
.progressX(64)
.progressY(26)
.produceItem(`${multiplier}x ${output}`, 100, 26)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,71 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 16
let energy = 2048
const recipes = {
'aluminum' : 'alltheores:dirty_aluminum',
'lead' : 'alltheores:dirty_lead',
'osmium' : 'alltheores:dirty_osmium',
'nickel' : 'alltheores:dirty_nickel',
'platinum' : 'alltheores:dirty_platinum',
'silver' : 'alltheores:dirty_silver',
'tin' : 'alltheores:dirty_tin',
'uranium' : 'alltheores:dirty_uranium',
'zinc' : 'alltheores:dirty_zinc',
'iridium' : 'alltheores:dirty_iridium',
'copper' : 'alltheores:dirty_copper',
'iron' : 'alltheores:dirty_iron',
'gold' : 'alltheores:dirty_gold',
'allthemodium' : 'allthemodium:dirty_allthemodium',
'vibranium' : 'allthemodium:dirty_vibranium',
'unobtainium' : 'allthemodium:dirty_unobtainium',
'crimson_iron' : 'kubejs:dirty_crimson_iron',
'azure_silver' : 'kubejs:dirty_azure_silver',
}
for (const [input, output] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_dissolution_chamber', 10)
.requireEnergy(multiplier * energy, 8, 8)
.requireItem(`${multiplier}x #c:ores/${input}`, 31, 17)
.requireChemical(`${100 * multiplier}x mekanism:sulfuric_acid`, 31, 36)
.progressX(64)
.progressY(26)
.produceChemical(`${1000 * multiplier}x ${output}`, 100, 26)
.progressX(62)
.width(126)
.height(84)
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_dissolution_chamber', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireItem(`${3 * multiplier}x #c:raw_materials/${input}`, 31, 17)
.requireChemical(`${100 * multiplier}x mekanism:sulfuric_acid`, 31, 36)
.progressX(64)
.progressY(26)
.produceChemical(`${2000 * multiplier}x ${output}`, 100, 26)
.progressX(62)
.width(126)
.height(84)
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_dissolution_chamber', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireItem(`${multiplier}x #c:storage_blocks/raw_${input}`, 31, 17)
.requireChemical(`${200 * multiplier}x mekanism:sulfuric_acid`, 31, 36)
.progressX(64)
.progressY(26)
.produceChemical(`${6000 * multiplier}x ${output}`, 100, 26)
.progressX(62)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,36 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 1024
let energy = 512
const recipes = {
'mekanismgenerators:fusion_fuel': [2, ['mekanismgenerators:deuterium', 1], ['mekanismgenerators:tritium', 1]],
'mekanism:sulfuric_acid': [1, ['mekanism:sulfur_trioxide', 1], ['mekanism:water_vapor', 1]],
'mekanism:hydrogen_chloride': [2, ['mekanism:hydrogen', 1], ['mekanism:chlorine', 2]],
'mekanism:sulfur_trioxide': [1, ['mekanism:oxygen', 1], ['mekanism:sulfur_dioxide', 1]],
'mekanism:uranium_hexafluoride': [2, ['mekanism:hydrofluoric_acid', 1], ['mekanism:uranium_oxide', 1]],
}
for (const [output, [amount, [input1, amount1], [input2, amount2]]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_infuser', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireChemical(`${amount1 * multiplier}x ${input1}`, 31, 17)
.requireChemical(`${amount2 * multiplier}x ${input2}`, 31, 36)
.progressX(64)
.progressY(26)
.produceChemical(`${amount * multiplier}x ${output}`, 100, 26)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,57 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 32
let energy = 1024
const recipes = {
'productivebees:configurable_honeycomb[productivebees:bee_type="productivebees:wasted_radioactive"]' : ['mekanism:nuclear_waste', 50],
'mekanism:enriched_refined_obsidian' : ['mekanism:refined_obsidian', 80],
'#c:dusts/charcoal' : ['mekanism:carbon', 20],
'#c:dusts/salt' : ['mekanism:brine', 15],
'mekanism:yellow_cake_uranium' : ['mekanism:uranium_oxide', 250],
'#c:dusts/lithium' : ['mekanism:lithium', 100],
'#c:storage_blocks/coal' : ['mekanism:carbon', 90],
'productivebees:configurable_honeycomb[productivebees:bee_type="productivebees:lithium"]' : ['mekanism:lithium', 10],
'#c:dusts/sulfur' : ['mekanism:sulfur_dioxide', 100],
'#c:fuels/bio' : ['mekanism:bio', 5],
'#c:dusts/refined_obsidian' : ['mekanism:refined_obsidian', 10],
'productivebees:configurable_comb[productivebees:bee_type="productivebees:wasted_radioactive"]' : ['mekanism:nuclear_waste', 200],
'productivebees:configurable_comb[productivebees:bee_type="productivebees:lithium"]' : ['mekanism:lithium', 100],
'#c:pellets/antimatter' : ['mekanism:antimatter', 1000],
'#c:storage_blocks/charcoal' : ['mekanism:carbon', 180],
'mekanism:reprocessed_fissile_fragment' : ['mekanism:fissile_fuel', 2000],
'#c:storage_blocks/redstone' : ['mekanism:redstone', 90],
'mekanism:enriched_carbon' : ['mekanism:carbon', 80],
'#c:dusts/gold' : ['mekanism:gold', 10],
'#c:dusts/diamond' : ['mekanism:diamond', 10],
'#c:fuels/block/bio' : ['mekanism:bio', 45],
'#c:dusts/coal' : ['mekanism:carbon', 10],
'#c:dusts/redstone' : ['mekanism:redstone', 10],
'mekanism:enriched_diamond' : ['mekanism:diamond', 80],
'mekanism:enriched_tin' : ['mekanism:tin', 80],
'#c:dusts/tin' : ['mekanism:tin', 10],
'mekanism:enriched_gold' : ['mekanism:gold', 80],
'#c:mushrooms' : ['mekanism:fungi', 10],
'mekanism:enriched_redstone' : ['mekanism:redstone', 80],
}
for (const [input, [output, value]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_oxidizer', 10)
.requireEnergy(multiplier * energy, 8, 8)
.requireItem(`${multiplier}x ${input}`, 31, 26)
.progressX(64)
.progressY(26)
.produceChemical(`${value * multiplier}x ${output}`, 100, 26)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,49 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 1000
let energy = 256
const recipes = {
'alltheores:dirty_aluminum' : 'alltheores:clean_aluminum',
'alltheores:dirty_lead' : 'alltheores:clean_lead',
'alltheores:dirty_osmium' : 'alltheores:clean_osmium',
'alltheores:dirty_nickel' : 'alltheores:clean_nickel',
'alltheores:dirty_platinum' : 'alltheores:clean_platinum',
'alltheores:dirty_silver' : 'alltheores:clean_silver',
'alltheores:dirty_tin' : 'alltheores:clean_tin',
'alltheores:dirty_uranium' : 'alltheores:clean_uranium',
'alltheores:dirty_zinc' : 'alltheores:clean_zinc',
'alltheores:dirty_iridium' : 'alltheores:clean_iridium',
'alltheores:dirty_copper' : 'alltheores:clean_copper',
'alltheores:dirty_iron' : 'alltheores:clean_iron',
'alltheores:dirty_gold' : 'alltheores:clean_gold',
'allthemodium:dirty_allthemodium' : 'allthemodium:clean_allthemodium',
'allthemodium:dirty_vibranium' : 'allthemodium:clean_vibranium',
'allthemodium:dirty_unobtainium' : 'allthemodium:clean_unobtainium',
'kubejs:dirty_crimson_iron' : 'kubejs:clean_crimson_iron',
'kubejs:dirty_azure_silver' : 'kubejs:clean_azure_silver',
}
for (const [input, output] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:chemical_washer', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireChemical(`${multiplier}x ${input}`, 31, 17)
.requireFluid(`${5 * multiplier}x minecraft:water`, 31, 36)
.progressX(64)
.progressY(26)
.produceChemical(`${0.8 * multiplier}x ${output}`, 100, 26)
.progressX(62)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,186 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let mekController = [
{
machine: 'mekanism:chemical_crystallizer',
id: 'chemical_crystallizer'
},
{
machine: 'mekanism:chemical_dissolution_chamber',
id: 'chemical_dissolution_chamber'
},
{
machine: 'mekanism:chemical_infuser',
id: 'chemical_infuser'
},
{
machine: 'mekanism:chemical_oxidizer',
id: 'chemical_oxidizer'
},
{
machine: 'mekanism:chemical_washer',
id: 'chemical_washer'
},
{
machine: 'mekanism:electrolytic_separator',
id: 'electrolytic_seperator'
},
{
machine: 'mekanism:isotopic_centrifuge',
id: 'isotopic_centrifuge'
},
{
machine: 'mekanism:pressurized_reaction_chamber',
id: 'pressurized_reaction_chamber'
},
{
machine: 'mekanism:solar_neutron_activator',
id: 'solar_neutron_activator'
}
]
for (let item of mekController) {
allthemods.recipes.modern_industrialization.auto_forge(512, 300)
.fluidIn('25000x kubejs:liquid_aureal')
.fluidIn('500x kubejs:liquid_souls')
.fluidIn('10000x evilcraft:blood')
.itemIn('forbidden_arcanus:mundabitur_dust')
.itemIn(item.machine)
.itemIn('enderio:z_logic_controller')
.itemIn('mekanism:ultimate_control_circuit')
.itemIn('modular_machinery_reborn:casing_plain')
.itemIn('mekanism:ultimate_control_circuit')
.itemIn('enderio:z_logic_controller')
.itemIn('forbidden_arcanus:quantum_injector')
.itemIn('forbidden_arcanus:mundabitur_dust')
.itemOut(`modular_machinery_reborn:controller[modular_machinery_reborn:machine="atm:${item.id}"]`)
}
})
ServerEvents.generateData('after_mods', allthemods => {
let mekController = [
{
machine: 'mekanism:chemical_crystallizer',
id: 'chemical_crystallizer'
},
{
machine: 'mekanism:chemical_dissolution_chamber',
id: 'chemical_dissolution_chamber'
},
{
machine: 'mekanism:chemical_infuser',
id: 'chemical_infuser'
},
{
machine: 'mekanism:chemical_oxidizer',
id: 'chemical_oxidizer'
},
{
machine: 'mekanism:chemical_washer',
id: 'chemical_washer'
},
{
machine: 'mekanism:electrolytic_separator',
id: 'electrolytic_seperator'
},
{
machine: 'mekanism:isotopic_centrifuge',
id: 'isotopic_centrifuge'
},
{
machine: 'mekanism:pressurized_reaction_chamber',
id: 'pressurized_reaction_chamber'
},
{
machine: 'mekanism:solar_neutron_activator',
id: 'solar_neutron_activator'
}
]
for (let item of mekController) {
allthemods.json(`atm:forbidden_arcanus/hephaestus_forge/ritual/${item.id}.json`,
{
enhancers: [
'forbidden_arcanus:artisan_relic',
'forbidden_arcanus:elementarium',
],
essences: {
aureal: 2500,
blood: 1000,
souls: 50,
experience: 0
},
forge_tier: 5,
inputs: [
{
amount: 1,
ingredient: {
item: item.machine
}
},
{
amount: 1,
ingredient: {
item: 'enderio:z_logic_controller'
}
},
{
amount: 1,
ingredient: {
item: 'mekanism:ultimate_control_circuit'
}
},
{
amount: 1,
ingredient: {
item: 'forbidden_arcanus:mundabitur_dust'
}
},
{
amount: 1,
ingredient: {
item: 'forbidden_arcanus:quantum_injector'
}
},
{
amount: 1,
ingredient: {
item: 'enderio:z_logic_controller'
}
},
{
amount: 1,
ingredient: {
item: 'mekanism:ultimate_control_circuit'
}
},
{
amount: 1,
ingredient: {
item: 'forbidden_arcanus:mundabitur_dust'
}
}
],
magic_circle: 'forbidden_arcanus:create_item',
main_ingredient: {
item: 'modular_machinery_reborn:casing_plain'
},
result: {
type: 'forbidden_arcanus:create_item',
result_item: Item.of(`modular_machinery_reborn:controller[modular_machinery_reborn:machine="atm:${item.id}"]`).toJson()
}
}
)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,33 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 1024
let energy = 512
const recipes = {
'mekanism:heavy_water': [2, ['mekanismgenerators:deuterium', 2], ['mekanism:oxygen', 1]],
'mekanism:brine': [10, ['mekanism:sodium', 1], ['mekanism:chlorine', 1]],
'minecraft:water': [2, ['mekanism:hydrogen', 2], ['mekanism:oxygen', 1]],
}
for (const [input, [amount, [output1, amount1], [output2, amount2]]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:electrolytic_seperator', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireFluid(`${amount * multiplier}x ${input}`, 31, 26)
.progressX(64)
.progressY(26)
.produceChemical(`${amount1 * multiplier}x ${output1}`, 100, 17)
.produceChemical(`${amount2 * multiplier}x ${output2}`, 100, 36)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,31 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 2048
let energy = 256
const recipes = {
'mekanism:nuclear_waste': [5, ['mekanism:plutonium', 1]],
'mekanism:uranium_hexafluoride': [1, ['mekanism:fissile_fuel', 1]],
}
for (const [input, [inamount, [output, outamount]]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:isotopic_centrifuge', 5)
.requireEnergy(multiplier * energy, 8, 8)
.requireChemical(`${inamount * multiplier}x ${input}`, 31, 26)
.progressX(64)
.progressY(26)
.produceChemical(`${outamount * multiplier}x ${output}`, 100, 26)
.width(126)
.height(84)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,173 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 32
let energy = 1024
const recipes = {
'polonium_pellets' : {
input: ['#c:dusts/fluorite', 1],
fluid: ['minecraft:water', 1000],
chemical: ['mekanism:polonium', 1000],
output: ['mekanism:pellet_polonium', 1],
byproduct: ['mekanism:spent_nuclear_waste', 1000]
},
'plutonium_pellets' : {
input: ['#c:dusts/fluorite', 1],
fluid: ['minecraft:water', 1000],
chemical: ['mekanism:plutonium', 1000],
output: ['mekanism:pellet_plutonium', 1],
byproduct: ['mekanism:spent_nuclear_waste', 1000]
},
'sulfur_1' : {
input: ['#c:dusts/coal', 1],
fluid: ['minecraft:water', 100],
chemical: ['mekanism:oxygen', 100],
output: ['alltheores:sulfur', 1],
byproduct: ['mekanism:hydrogen', 100]
},
'sulfur_2' : {
input: ['#minecraft:coals', 1],
fluid: ['minecraft:water', 100],
chemical: ['mekanism:oxygen', 100],
output: ['alltheores:sulfur', 1],
byproduct: ['mekanism:hydrogen', 100]
},
'substrate_ethene' : {
input: ['mekanism:bio_fuel', 2],
fluid: ['minecraft:water', 10],
chemical: ['mekanism:hydrogen', 100],
output: ['mekanism:substrate', 1],
byproduct: ['mekanism:ethene', 100]
},
}
Object.entries(recipes).forEach(([key, values]) => {
if (values.output && values.byproduct) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 100)
.requireEnergy(multiplier * energy, 8, 9)
.requireItem(`${values.input[1] * multiplier}x ${values.input[0]}`, 31, 8)
.requireFluid(`${values.fluid[1] * multiplier}x ${values.fluid[0]}`, 31, 27)
.requireChemical(`${values.chemical[1] * multiplier}x ${values.chemical[0]}`, 31, 46)
.progressX(64)
.progressY(26)
.produceItem(`${values.output[1] * multiplier}x ${values.output[0]}`, 100, 17)
.produceChemical(`${values.byproduct[1] * multiplier}x ${values.byproduct[0]}`, 100, 36)
.width(126)
.height(84)
}
})
let noByproduct = {
'mekanism:substrate' : {
amount : 1,
fluid: ['mekanism:ethene', 50],
chemical: ['mekanism:oxygen', 10],
output: ['mekanism:hdpe_pellet', 1],
byproduct: null
}
}
Object.entries(noByproduct).forEach(([key, values]) => {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 100)
.requireEnergy(multiplier * energy, 8, 9)
.requireItem(`${values.amount * multiplier}x ${key}`, 31, 8)
.requireFluid(`${values.fluid[1] * multiplier}x ${values.fluid[0]}`, 31, 27)
.requireChemical(`${values.chemical[1] * multiplier}x ${values.chemical[0]}`, 31, 46)
.progressX(64)
.progressY(26)
.produceItem(`${values.output[1] * multiplier}x ${values.output[0]}`, 100, 26)
.width(126)
.height(84)
})
let noOutput = {
'#minecraft:wooden_stairs' : {
amount : 1,
fluid: ['minecraft:water', 15],
chemical: ['mekanism:oxygen', 15],
output: null,
byproduct: ['mekanism:hydrogen', 15]
},
'#minecraft:wooden_slabs' : {
amount : 1,
fluid: ['minecraft:water', 10],
chemical: ['mekanism:oxygen', 10],
output: null,
byproduct: ['mekanism:hydrogen', 10]
},
'#c:rods/wooden' : {
amount : 3,
fluid: ['minecraft:water', 10],
chemical: ['mekanism:oxygen', 10],
output: null,
byproduct: ['mekanism:hydrogen', 10]
},
'#c:dusts/wood' : {
amount : 4,
fluid: ['minecraft:water', 5],
chemical: ['mekanism:oxygen', 5],
output: null,
byproduct: ['mekanism:hydrogen', 5]
}
}
Object.entries(noOutput).forEach(([key, values]) => {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 50)
.requireEnergy(multiplier/2 * energy, 8, 9)
.requireItem(`${values.amount * multiplier/2}x ${key}`, 31, 8)
.requireFluid(`${values.fluid[1] * multiplier}x ${values.fluid[0]}`, 31, 27)
.requireChemical(`${values.chemical[1] * multiplier/2}x ${values.chemical[0]}`, 31, 46)
.progressX(64)
.progressY(26)
.produceChemical(`${values.byproduct[1] * multiplier/2}x ${values.byproduct[0]}`, 100, 26)
.width(126)
.height(84)
})
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 20)
.requireEnergy(multiplier/2 * energy, 8, 9)
.requireItem('64x #minecraft:logs', 31, 8)
.requireFluid('6400x minecraft:water', 31, 27)
.requireChemical('6400x mekanism:oxygen', 31, 46)
.progressX(64)
.progressY(26)
.produceItem('16x mekanism:dust_charcoal', 100, 17)
.produceChemical('6400x mekanism:hydrogen', 100, 36)
.width(126)
.height(84)
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 20)
.requireEnergy(multiplier/8 * energy, 8, 9)
.requireItem('8x mekanism:substrate', 31, 8)
.requireFluid('1600x minecraft:water', 31, 27)
.requireChemical('80x mekanism:ethene', 31, 46)
.progressX(64)
.progressY(26)
.produceItem('64x mekanism:substrate', 100, 17)
.produceChemical('80x mekanism:oxygen', 100, 36)
.width(126)
.height(84)
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:pressurized_reaction_chamber', 20)
.requireEnergy(multiplier/7 * energy, 8, 9)
.requireItem('7x #c:storage_blocks/coal', 31, 8)
.requireFluid('7000x minecraft:water', 31, 27)
.requireChemical('7000x mekanism:oxygen', 31, 46)
.progressX(64)
.progressY(26)
.produceItem('63x alltheores:sulfur', 100, 17)
.produceChemical('7000x mekanism:hydrogen', 100, 36)
.width(126)
.height(84)
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

View File

@@ -0,0 +1,28 @@
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
if (Platform.isLoaded('modular_machinery_reborn')) {
ServerEvents.recipes(allthemods => {
let multiplier = 4096
const recipes = {
'mekanism:nuclear_waste': [5, ['mekanism:polonium', 1]],
'mekanism:lithium': [1, ['mekanismgenerators:tritium', 1]],
}
for (const [input, [inamount, [output, outamount]]] of Object.entries(recipes)) {
allthemods.recipes.modular_machinery_reborn.machine_recipe('atm:solar_neutron_activator', 5)
.time('[0,12000]', 8, 8)
.requireChemical(`${inamount * multiplier}x ${input}`, 31, 8)
.progressX(64)
.produceChemical(`${outamount * multiplier}x ${output}`, 100, 8)
.width(126)
.height(44)
}
})
}
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.