Version 5.4
This commit is contained in:
326
minecraft/kubejs/server_scripts/mods/Mekanism/Compatibility.js
Normal file
326
minecraft/kubejs/server_scripts/mods/Mekanism/Compatibility.js
Normal file
@@ -0,0 +1,326 @@
|
||||
/*
|
||||
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.
|
||||
Mekanism recipes for processing stack
|
||||
Authored by EnigmaQuip
|
||||
|
||||
DO NOT EDIT BELOW
|
||||
only the startup script should need editing
|
||||
*/
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
global.mekStackAdditions.forEach(entry => {
|
||||
let material = entry.material
|
||||
|
||||
let dust = AlmostUnified.getTagTargetItem(`c:dusts/${material}`)
|
||||
if (entry.makeDust) {
|
||||
dust = Item.of(`kubejs:${material}_dust`)
|
||||
} else if (dust.isEmpty() && !Ingredient.of(`#c:dusts/${material}`).isEmpty()) {
|
||||
dust = Ingredient.of(`#c:dusts/${material}`).getFirst()
|
||||
}
|
||||
let hasDust = !dust.isEmpty()
|
||||
|
||||
//crush ingot if ingot exists and no mek crushing exists for it
|
||||
if(AlmostUnified.getTagTargetItem(`c:ingots/${material}`)){
|
||||
if(!allthemods.countRecipes({ input: `#c:ingots/${material}`, type: `mekanism:crushing`})){
|
||||
allthemods.custom({
|
||||
type: 'mekanism:crushing',
|
||||
input: {
|
||||
count: 1,
|
||||
tag: `c:ingots/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 1,
|
||||
id: dust.id
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dust/from_ingot`)
|
||||
}}
|
||||
|
||||
//all processing for storage blocks
|
||||
if (!Ingredient.of(`#c:storage_blocks/raw_${material}`).isEmpty()) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:dissolution',
|
||||
chemical_input: {
|
||||
amount: 2,
|
||||
chemical: 'mekanism:sulfuric_acid'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:storage_blocks/raw_${material}`
|
||||
},
|
||||
output: {
|
||||
amount: 6000,
|
||||
id: `kubejs:dirty_${material}`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/slurry/dirty/from_raw_block`)
|
||||
|
||||
allthemods.custom({
|
||||
type: 'mekanism:injecting',
|
||||
chemical_input: {
|
||||
amount: 2,
|
||||
chemical: 'mekanism:hydrogen_chloride'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:storage_blocks/raw_${material}`
|
||||
},
|
||||
output: {
|
||||
count: 24,
|
||||
id: `kubejs:${material}_shard`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/shard/from_raw_block`)
|
||||
|
||||
allthemods.custom({
|
||||
chemical_input: {
|
||||
amount: 2,
|
||||
chemical: 'mekanism:oxygen'
|
||||
},
|
||||
type: 'mekanism:purifying',
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:storage_blocks/raw_${material}`
|
||||
},
|
||||
output: {
|
||||
count: 18,
|
||||
id: `kubejs:${material}_clump`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/clump/from_raw_block`)
|
||||
|
||||
if (hasDust) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:enriching',
|
||||
input: {
|
||||
count: 1,
|
||||
tag: `c:storage_blocks/raw_${material}`
|
||||
},
|
||||
output: {
|
||||
count: 12,
|
||||
id: dust.id
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dust/from_raw_block`)
|
||||
}
|
||||
}
|
||||
|
||||
//all processing for ore blocks
|
||||
if (!Ingredient.of(`#c:ores/${material}`).isEmpty()) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:dissolution',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:sulfuric_acid'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:ores/${material}`
|
||||
},
|
||||
output: {
|
||||
amount: 1000,
|
||||
id: `kubejs:dirty_${material}`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/slurry/dirty/from_ore`)
|
||||
|
||||
allthemods.custom({
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:hydrogen_chloride'
|
||||
},
|
||||
type: 'mekanism:injecting',
|
||||
item_input: {
|
||||
amount: 1,
|
||||
tag: `c:ores/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 4,
|
||||
id: `kubejs:${material}_shard`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/shard/from_ore`)
|
||||
|
||||
allthemods.custom({
|
||||
type: 'mekanism:purifying',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:oxygen'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:ores/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 3,
|
||||
id: `kubejs:${material}_clump`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/clump/from_ore`)
|
||||
|
||||
if (hasDust) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:enriching',
|
||||
input: {
|
||||
count: 1,
|
||||
tag: `c:ores/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 2,
|
||||
id: dust.id
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dust/from_ore`)
|
||||
}
|
||||
}
|
||||
|
||||
//all processing from raw material
|
||||
if (!Ingredient.of(`#c:raw_materials/${material}`).isEmpty()) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:dissolution',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:sulfuric_acid'
|
||||
},
|
||||
item_input: {
|
||||
count: 3,
|
||||
tag: `c:raw_materials/${material}`
|
||||
},
|
||||
output: {
|
||||
amount: 2000,
|
||||
id: `kubejs:dirty_${material}`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/slurry/dirty/from_raw_ore`)
|
||||
|
||||
allthemods.custom({
|
||||
type: 'mekanism:injecting',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:hydrogen_chloride'
|
||||
},
|
||||
item_input: {
|
||||
count: 3,
|
||||
tag: `c:raw_materials/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 8,
|
||||
id: `kubejs:${material}_shard`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/shard/from_raw_ore`)
|
||||
|
||||
allthemods.custom({
|
||||
type: 'mekanism:purifying',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:oxygen'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:raw_materials/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 2,
|
||||
id: `kubejs:${material}_clump`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/clump/from_raw_ore`)
|
||||
|
||||
if (hasDust) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:enriching',
|
||||
input: {
|
||||
count: 3,
|
||||
tag: `c:raw_materials/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 4,
|
||||
id: dust.id
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dust/from_raw_ore`)
|
||||
}
|
||||
}
|
||||
|
||||
//washing dirty slurry
|
||||
allthemods.custom({
|
||||
type: 'mekanism:washing',
|
||||
chemical_input: {
|
||||
amount: 5,
|
||||
chemical: `kubejs:dirty_${material}`
|
||||
},
|
||||
fluid_input: {
|
||||
amount: 25,
|
||||
tag: 'minecraft:water'
|
||||
},
|
||||
output: {
|
||||
amount: 3,
|
||||
id: `kubejs:clean_${material}`
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/slurry/clean`)
|
||||
|
||||
//crystallizing from clean slurry
|
||||
allthemods.custom({
|
||||
type: 'mekanism:crystallizing',
|
||||
input: {
|
||||
amount: 200,
|
||||
chemical: `kubejs:clean_${material}`
|
||||
},
|
||||
output: {
|
||||
count: 1,
|
||||
id: `kubejs:${material}_crystal`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/crystal/from_slurry`)
|
||||
|
||||
//shardifying from crystals
|
||||
allthemods.custom({
|
||||
type: 'mekanism:injecting',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:hydrogen_chloride'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:crystals/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 2,
|
||||
id: `kubejs:${material}_shard`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/shard/from_crystal`)
|
||||
|
||||
//clumps from shards
|
||||
allthemods.custom({
|
||||
type: 'mekanism:purifying',
|
||||
chemical_input: {
|
||||
amount: 1,
|
||||
chemical: 'mekanism:oxygen'
|
||||
},
|
||||
item_input: {
|
||||
count: 1,
|
||||
tag: `c:shards/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 1,
|
||||
id: `kubejs:${material}_clump`
|
||||
}, "per_tick_usage": true
|
||||
}).id(`allthemods:processing/${material}/clump/from_shard`)
|
||||
|
||||
//dirty dust from clumps
|
||||
allthemods.custom({
|
||||
type: 'mekanism:crushing',
|
||||
input: {
|
||||
count: 1,
|
||||
tag: `c:clumps/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 2,
|
||||
id: `kubejs:${material}_dirty_dust`
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dirty_dust/from_clump`)
|
||||
|
||||
//dust from dirty dust
|
||||
if (hasDust) {
|
||||
allthemods.custom({
|
||||
type: 'mekanism:enriching',
|
||||
input: {
|
||||
count: 4,
|
||||
tag: `c:dirty_dusts/${material}`
|
||||
},
|
||||
output: {
|
||||
count: 3,
|
||||
id: dust.id
|
||||
}
|
||||
}).id(`allthemods:processing/${material}/dust/from_dirty_dust`)
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,66 @@
|
||||
// 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.
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
//Atomic Disassembler
|
||||
allthemods.remove({ id: 'mekanism:atomic_disassembler' })
|
||||
allthemods.shaped('mekanism:atomic_disassembler', ['ITI', 'IAI', ' P '], {
|
||||
I: 'mekanism:alloy_reinforced',
|
||||
T: 'mekanism:basic_induction_cell',
|
||||
A: 'mekanism:ultimate_control_circuit',
|
||||
P: 'allthemodium:allthemodium_pickaxe'
|
||||
})
|
||||
//Meka Tool
|
||||
allthemods.remove({ id: 'mekanism:meka_tool' })
|
||||
allthemods.shaped('mekanism:meka_tool', ['UCU', 'TDT', 'PBP'], {
|
||||
U: 'mekanism:ultimate_control_circuit',
|
||||
C: 'mekanism:configurator',
|
||||
T: '#c:plates/unobtainium',
|
||||
D: 'mekanism:atomic_disassembler',
|
||||
B: 'mekanism:ultimate_induction_cell',
|
||||
P: 'mekanism:pellet_polonium'
|
||||
})
|
||||
//MekaSuit Helmet
|
||||
allthemods.remove({ id: 'mekanism:mekasuit_helmet' })
|
||||
allthemods.shaped('mekanism:mekasuit_helmet', ['CAC', 'HUH', 'PIP'], {
|
||||
A: 'mekanism:pellet_antimatter',
|
||||
H: 'mekanism:hdpe_sheet',
|
||||
C: 'mekanism:ultimate_control_circuit',
|
||||
P: 'mekanism:pellet_polonium',
|
||||
I: 'mekanism:ultimate_induction_cell',
|
||||
U: 'allthemodium:unobtainium_helmet'
|
||||
})
|
||||
//MekaSuit Bodyarmor
|
||||
allthemods.remove({ id: 'mekanism:mekasuit_bodyarmor' })
|
||||
allthemods.shaped('mekanism:mekasuit_bodyarmor', ['CAC', 'HUH', 'PIP'], {
|
||||
A: 'mekanism:pellet_antimatter',
|
||||
H: 'mekanism:hdpe_sheet',
|
||||
C: 'mekanism:ultimate_control_circuit',
|
||||
P: 'mekanism:pellet_polonium',
|
||||
I: 'mekanism:ultimate_induction_cell',
|
||||
U: 'allthemodium:unobtainium_chestplate'
|
||||
})
|
||||
//MekaSuit Pants
|
||||
allthemods.remove({ id: 'mekanism:mekasuit_pants' })
|
||||
allthemods.shaped('mekanism:mekasuit_pants', ['CAC', 'HUH', 'PIP'], {
|
||||
A: 'mekanism:pellet_antimatter',
|
||||
H: 'mekanism:hdpe_sheet',
|
||||
C: 'mekanism:ultimate_control_circuit',
|
||||
P: 'mekanism:pellet_polonium',
|
||||
I: 'mekanism:ultimate_induction_cell',
|
||||
U: 'allthemodium:unobtainium_leggings'
|
||||
})
|
||||
//MekaSuit Boots
|
||||
allthemods.remove({ id: 'mekanism:mekasuit_boots' })
|
||||
allthemods.shaped('mekanism:mekasuit_boots', ['CAC', 'HUH', 'PIP'], {
|
||||
A: 'mekanism:pellet_antimatter',
|
||||
H: 'mekanism:hdpe_sheet',
|
||||
C: 'mekanism:ultimate_control_circuit',
|
||||
P: 'mekanism:pellet_polonium',
|
||||
I: 'mekanism:ultimate_induction_cell',
|
||||
U: 'allthemodium:unobtainium_boots'
|
||||
})
|
||||
})
|
||||
|
||||
// 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.
|
||||
131
minecraft/kubejs/server_scripts/mods/Mekanism/Rebalance/Items.js
Normal file
131
minecraft/kubejs/server_scripts/mods/Mekanism/Rebalance/Items.js
Normal file
@@ -0,0 +1,131 @@
|
||||
// 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.
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
|
||||
//Upgrades
|
||||
allthemods.replaceInput(
|
||||
{ output: ['mekanism:upgrade_speed', 'mekanism:upgrade_energy', 'mekanism:upgrade_filter', 'mekanism:upgrade_chemical', 'mekanism:upgrade_stone_generator' ] }, // Arg 1: the filter
|
||||
'#c:glass_blocks/cheap',
|
||||
'mekanism:structural_glass'
|
||||
)
|
||||
|
||||
//polonium
|
||||
allthemods.remove('mekanism:processing/lategame/polonium')
|
||||
allthemods.custom(
|
||||
{
|
||||
type: "mekanism:activating",
|
||||
input: {
|
||||
amount: 5,
|
||||
chemical: "mekanism:nuclear_waste"
|
||||
},
|
||||
output: {
|
||||
amount: 1,
|
||||
id: "mekanism:polonium"
|
||||
}
|
||||
}
|
||||
).id('mekanism:processing/lategame/polonium')
|
||||
//plutonium
|
||||
allthemods.remove('mekanism:processing/lategame/plutonium')
|
||||
allthemods.custom(
|
||||
{
|
||||
type: "mekanism:centrifuging",
|
||||
input: {
|
||||
amount: 5,
|
||||
chemical: "mekanism:nuclear_waste"
|
||||
},
|
||||
output: {
|
||||
amount: 1,
|
||||
id: "mekanism:plutonium"
|
||||
}
|
||||
}
|
||||
).id('mekanism:processing/lategame/plutonium')
|
||||
|
||||
//Thermal Evaporation Blocks
|
||||
allthemods.remove('mekanism:thermal_evaporation/block')
|
||||
allthemods.shaped('8x mekanism:thermal_evaporation_block', ['BSB', 'SMS', 'BSB'], {
|
||||
B: '#c:ingots/bronze',
|
||||
S: '#c:ingots/steel',
|
||||
M: 'mekanism:superheating_element'
|
||||
})
|
||||
|
||||
//Solar Neutron Activator
|
||||
allthemods.remove('mekanism:solar_neutron_activator')
|
||||
allthemods.shaped('mekanism:solar_neutron_activator', ['APA', 'CSC', 'BBB'], {
|
||||
A: 'mekanism:alloy_atomic',
|
||||
P: 'mekanismgenerators:advanced_solar_generator',
|
||||
C: 'mekanism:elite_control_circuit',
|
||||
S: 'mekanism:steel_casing',
|
||||
B: '#c:ingots/bronze'
|
||||
})
|
||||
|
||||
//Electric Pump
|
||||
allthemods.remove('mekanism:electric_pump')
|
||||
allthemods.shaped('mekanism:electric_pump', ['CBC', 'ASA', 'OTO'], {
|
||||
B: '#c:buckets/empty',
|
||||
C: 'mekanism:advanced_control_circuit',
|
||||
A: 'mekanism:alloy_reinforced',
|
||||
S: 'mekanism:steel_casing',
|
||||
O: '#c:ingots/osmium',
|
||||
T: 'mekanism:energy_tablet'
|
||||
})
|
||||
|
||||
//Wasted Combs
|
||||
allthemods.remove('productivebees:mekanism/oxidizing/honeycomb_wasted_radioactive')
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"type": "productivebees:component",
|
||||
"components": {
|
||||
"productivebees:bee_type": "productivebees:wasted_radioactive"
|
||||
},
|
||||
"items": "productivebees:configurable_honeycomb"
|
||||
},
|
||||
"output": {
|
||||
"id": "mekanism:nuclear_waste",
|
||||
"amount": 50
|
||||
},
|
||||
"neoforge:conditions": [
|
||||
{
|
||||
"type": "neoforge:mod_loaded",
|
||||
"modid": "mekanism"
|
||||
},
|
||||
{
|
||||
"type": "productivebees:bee_exists",
|
||||
"bee": "productivebees:wasted_radioactive"
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
allthemods.remove('productivebees:mekanism/oxidizing/comb_block_wasted_radioactive')
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"type": "productivebees:component",
|
||||
"components": {
|
||||
"productivebees:bee_type": "productivebees:wasted_radioactive"
|
||||
},
|
||||
"items": "productivebees:configurable_comb"
|
||||
},
|
||||
"output": {
|
||||
"id": "mekanism:nuclear_waste",
|
||||
"amount": 200
|
||||
},
|
||||
"neoforge:conditions": [
|
||||
{
|
||||
"type": "neoforge:mod_loaded",
|
||||
"modid": "mekanism"
|
||||
},
|
||||
{
|
||||
"type": "productivebees:bee_exists",
|
||||
"bee": "productivebees:wasted_radioactive"
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
// 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.
|
||||
320
minecraft/kubejs/server_scripts/mods/Mekanism/Rebalance/Units.js
Normal file
320
minecraft/kubejs/server_scripts/mods/Mekanism/Rebalance/Units.js
Normal file
@@ -0,0 +1,320 @@
|
||||
// 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.
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
|
||||
function easyModuleRecipe(module, alloy, unique, extra) {
|
||||
allthemods.shaped(module, [
|
||||
'AUA',
|
||||
'AMA',
|
||||
'HEH'
|
||||
], {
|
||||
A: alloy,
|
||||
U: unique,
|
||||
M: 'mekanism:module_base',
|
||||
H: 'mekanism:hdpe_sheet',
|
||||
E: extra
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
function hardModuleRecipe(module, top, center, bottom, unique, extra) {
|
||||
allthemods.shaped(module, [
|
||||
'TUT',
|
||||
'CMC',
|
||||
'BEB'
|
||||
], {
|
||||
T: top,
|
||||
U: unique,
|
||||
C: center,
|
||||
M: 'mekanism:module_base',
|
||||
B: bottom,
|
||||
E: extra
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
//########## MEKA UNITS ##########
|
||||
//Energy Unit
|
||||
allthemods.remove('mekanism:module_energy_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_energy_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:elite_induction_cell',
|
||||
'#c:plates/allthemodium'
|
||||
)
|
||||
//Laser Dissipation Unit
|
||||
allthemods.remove('mekanism:module_laser_dissipation_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_laser_dissipation_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:laser_amplifier',
|
||||
'#c:plates/osmium'
|
||||
)
|
||||
//Radiation Shielding Unit
|
||||
allthemods.remove('mekanism:module_radiation_shielding_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_radiation_shielding_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'#c:storage_blocks/lead',
|
||||
'#c:plates/unobtainium'
|
||||
)
|
||||
//Excavation Escalation Unit
|
||||
allthemods.remove('mekanism:module_excavation_escalation_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_excavation_escalation_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'allthemodium:allthemodium_pickaxe',
|
||||
'mekanism:ultimate_control_circuit'
|
||||
)
|
||||
//Attack Amplification Unit
|
||||
allthemods.remove('mekanism:module_attack_amplification_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_attack_amplification_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'minecraft:netherite_sword',
|
||||
'mekanism:ultimate_control_circuit'
|
||||
)
|
||||
//Farming Unit
|
||||
allthemods.remove('mekanism:module_farming_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_farming_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'minecraft:diamond_hoe',
|
||||
'mekanism:elite_control_circuit'
|
||||
)
|
||||
//Shearing Unit
|
||||
allthemods.remove('mekanism:module_shearing_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_shearing_unit',
|
||||
'mekanism:alloy_infused',
|
||||
'minecraft:shears',
|
||||
'mekanism:elite_control_circuit'
|
||||
)
|
||||
//Silk Touch Unit
|
||||
allthemods.remove('mekanism:module_silk_touch_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_silk_touch_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'allthemodium:allthemodium_pickaxe',
|
||||
'mekanism:elite_control_circuit',
|
||||
'mekanism:block_refined_glowstone',
|
||||
'mekanism:enriched_gold'
|
||||
)
|
||||
//Ore Refinement Unit
|
||||
allthemods.remove('mekanism:module_fortune_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_fortune_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'allthemodium:vibranium_pickaxe',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
'mekanism:block_refined_obsidian',
|
||||
'mekanism:enriched_diamond'
|
||||
)
|
||||
//Blasting Unit
|
||||
allthemods.remove('mekanism:module_blasting_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_blasting_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'minecraft:tnt',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
'minecraft:tnt',
|
||||
'mekanism:enriched_carbon'
|
||||
)
|
||||
//Vein Mining Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_vein_mining_unit'},
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:enriched_gold'
|
||||
)
|
||||
//Teleporation Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_teleportation_unit'},
|
||||
'mekanism:pellet_antimatter',
|
||||
'mekanism:pellet_polonium'
|
||||
)
|
||||
//Electrolytic Breathing Unit
|
||||
allthemods.remove('mekanism:module_electrolytic_breathing_unit')
|
||||
easyModuleRecipe(
|
||||
'mekanism:module_electrolytic_breathing_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:electrolytic_core',
|
||||
'mekanism:enriched_tin'
|
||||
)
|
||||
//Inhalation Purification Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_inhalation_purification_unit'},
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:enriched_carbon'
|
||||
)
|
||||
//Vision Enhancement Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_vision_enhancement_unit'},
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:enriched_diamond'
|
||||
)
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_vision_enhancement_unit'},
|
||||
'minecraft:emerald',
|
||||
'mekanism:ultimate_control_circuit'
|
||||
)
|
||||
//Nutritional Injection Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_nutritional_injection_unit'},
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:hdpe_sheet'
|
||||
)
|
||||
//Dosimeter Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_dosimeter_unit'},
|
||||
'mekanism:alloy_infused',
|
||||
'mekanism:alloy_reinforced'
|
||||
)
|
||||
//Geiger Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_geiger_unit'},
|
||||
'mekanism:alloy_infused',
|
||||
'mekanism:alloy_reinforced'
|
||||
)
|
||||
//Jetpack Unit
|
||||
allthemods.remove('mekanism:module_jetpack_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_jetpack_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:jetpack',
|
||||
'mekanism:ingot_refined_glowstone'
|
||||
)
|
||||
//Charge Distribution Unit
|
||||
allthemods.remove('mekanism:module_charge_distribution_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_charge_distribution_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
'mekanism:ultimate_induction_provider',
|
||||
'mekanism:ultimate_induction_cell',
|
||||
'mekanism:pellet_polonium'
|
||||
)
|
||||
//Gravitational Modulating Unit
|
||||
allthemods.remove('mekanism:module_gravitational_modulating_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_gravitational_modulating_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:module_jetpack_unit',
|
||||
'mekanism:ultimate_induction_provider',
|
||||
'minecraft:nether_star',
|
||||
'allthemodium:unobtainium_block'
|
||||
)
|
||||
//Elytra Unit
|
||||
allthemods.remove('mekanism:module_elytra_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_elytra_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'#c:plates/allthemodium',
|
||||
'#c:ingots/netherite',
|
||||
'mekanism:hdpe_elytra',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
)
|
||||
//Locomotive Boosting Unit
|
||||
allthemods.remove('mekanism:module_locomotive_boosting_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_locomotive_boosting_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:advanced_induction_provider',
|
||||
'mekanism:ingot_refined_glowstone',
|
||||
'minecraft:netherite_leggings',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
)
|
||||
//Gyroscopic Stabilization Unit
|
||||
allthemods.remove('mekanism:module_gyroscopic_stabilization_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_gyroscopic_stabilization_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'#c:obsidians',
|
||||
'#c:plates/steel',
|
||||
'#c:ingots/allthemodium',
|
||||
'mekanism:pellet_polonium',
|
||||
)
|
||||
//Hydrostatic Repulsor Unit
|
||||
allthemods.replaceInput(
|
||||
{output: 'mekanism:module_hydrostatic_repulsor_unit'},
|
||||
'mekanism:pellet_polonium',
|
||||
'mekanism:hdpe_sheet'
|
||||
)
|
||||
//Motorized Servo
|
||||
allthemods.remove('mekanism:module_motorized_servo_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_motorized_servo_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'#c:ices/blue',
|
||||
'#c:plates/osmium',
|
||||
'#c:plates/vibranium',
|
||||
'mekanism:pellet_polonium',
|
||||
)
|
||||
//Hydraulic Propulsion
|
||||
allthemods.remove('mekanism:module_hydraulic_propulsion_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_hydraulic_propulsion_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:elite_induction_provider',
|
||||
'#c:plates/silver',
|
||||
'mekanism:free_runners',
|
||||
'mekanism:pellet_polonium',
|
||||
)
|
||||
//Magnetic Attraction
|
||||
allthemods.remove('mekanism:module_magnetic_attraction_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_magnetic_attraction_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:elite_control_circuit',
|
||||
'#c:storage_blocks/redstone',
|
||||
'simplemagnets:basicmagnet',
|
||||
'#c:storage_blocks/allthemodium',
|
||||
)
|
||||
//Frost Walker
|
||||
allthemods.remove('mekanism:module_frost_walker_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_frost_walker_unit',
|
||||
'mekanism:alloy_reinforced',
|
||||
'#c:ices/blue',
|
||||
'mekanism:elite_control_circuit',
|
||||
'mekanism:hydrogen_bucket',
|
||||
'mekanism:oxygen_bucket',
|
||||
)
|
||||
//Soul Surfer
|
||||
allthemods.remove('mekanism:module_soul_surfer_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanism:module_soul_surfer_unit',
|
||||
'mekanism:alloy_atomic',
|
||||
'mekanism:free_runners',
|
||||
'#c:plates/osmium',
|
||||
'#minecraft:soul_fire_base_blocks',
|
||||
'mekanism:ultimate_control_circuit',
|
||||
)
|
||||
//Solar Recharging
|
||||
allthemods.remove('mekanismgenerators:module_solar_recharging_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanismgenerators:module_solar_recharging_unit',
|
||||
'mekanismgenerators:solar_generator',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:elite_induction_cell',
|
||||
'mekanismgenerators:advanced_solar_generator',
|
||||
'mekanism:elite_induction_provider',
|
||||
)
|
||||
//Solar Recharging
|
||||
allthemods.remove('mekanismgenerators:module_geothermal_generator_unit')
|
||||
hardModuleRecipe(
|
||||
'mekanismgenerators:module_geothermal_generator_unit',
|
||||
'mekanismgenerators:heat_generator',
|
||||
'mekanism:alloy_reinforced',
|
||||
'mekanism:elite_induction_cell',
|
||||
'mekanism:superheating_element',
|
||||
'mekanism:elite_induction_provider',
|
||||
)
|
||||
})
|
||||
|
||||
// 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.
|
||||
@@ -0,0 +1,141 @@
|
||||
# MEKANISM Rebalance
|
||||
|
||||
[Energy Units are in Joules: 1RF = 2.5J]
|
||||
|
||||
## Mekasuit
|
||||
|
||||
### Energy
|
||||
|
||||
[Increased to make the mekasuit slightly more of an endgame armor]
|
||||
|
||||
- **Energy Capacity:** 16.000.000J -> 40.000.000J
|
||||
- **Charging Rate:** 100.000J -> 200.000J
|
||||
- **Solar Charge Rate:** 500J -> 1.500J
|
||||
|
||||
|
||||
- **Damage Energy Usage:** 100.000J -> 250.000J
|
||||
- **Magic Damage Energy Usage:** 1.000J -> 2.500J
|
||||
- **Fall Damage Energy Usage:** 50 -> 250J
|
||||
|
||||
|
||||
- **Jump Boost Energy Usage:** 1.000J -> 2.000J
|
||||
- **Potion Reduction Energy Usage:** 40.000J -> 80.000J
|
||||
- **Sprint Boost Energy Usage:** 100J -> 250J
|
||||
|
||||
## Meka Tool
|
||||
|
||||
### Values
|
||||
|
||||
[Buffed to actually be an upgrade of the Atomic Disassembler]
|
||||
|
||||
- **Base Damage:** 4 -> 24
|
||||
- **Attack Speed:** -2.4 -> -0.8
|
||||
|
||||
### Energy
|
||||
|
||||
[Increased to make it a slightly more endgame-ish tool]
|
||||
|
||||
- **Base Energy Usage:** 10J -> 50J
|
||||
- **Silktouch Energy Usage:** 100J -> 500J
|
||||
|
||||
|
||||
- **Weapon Energy Usage:** 2000J -> 8000J
|
||||
- **Hoe Energy Usage:** 10J -> 50J
|
||||
- **Shovel Energy Usage:** 10J -> 50J
|
||||
- **Axe Energy Usage:** 10J -> 50J
|
||||
- **Shear Energy Usage:** 10J -> 50J
|
||||
- **Trim Energy Usage:** 10J -> 50J
|
||||
- **Teleportation Energy Usage:** 1000J -> 2500J
|
||||
|
||||
|
||||
- **Energy Capacity:** 16.000.000J -> 40.000.000J
|
||||
- **Charging Rate:** 100.000J -> 200.000J
|
||||
|
||||
## Generators
|
||||
|
||||
[Buffed to match the powah]
|
||||
|
||||
- **Solar Generation:** 50J -> 150J
|
||||
- **Solar Capacity:** 96.000J -> 100.000J
|
||||
- **Advanced Solar Generation:** 300J -> 1200J
|
||||
- **Advanced Solar Capacity:** 200.000J -> 250.000J
|
||||
|
||||
[Buffed to match powah]
|
||||
|
||||
- **Heat Generation:** 200J -> 800J
|
||||
|
||||
[Nerf to prevent massive melon power]
|
||||
|
||||
- **Ethene Burn Ticks:** 40 -> 20
|
||||
- **Ethene Density Multiplier:** 40 -> 8
|
||||
|
||||
[Buffed to make slightly more viable]
|
||||
|
||||
- **Wind Generation Min:** 60J -> 150J
|
||||
- **Wind Generation Max:** 480J -> 900J
|
||||
|
||||
[Nerf to promote other reactors]
|
||||
|
||||
- **Energy per Fission Fuel:** 1.000.000J -> 250.000J
|
||||
|
||||
[Buff Turbine to need less for the same]
|
||||
- **Blades per Coil:** 4 -> 8
|
||||
- **Vent Chemical Flow:** 16.000mb/t -> 43.478,262mb/t
|
||||
- [This abhorrent number makes the max flow rate exactly 15.000.000mb/t]
|
||||
- **Condeser Rate:** 64.000mb/t -> 256.000mb/t
|
||||
|
||||
[Buff Boiler so you only need one per fission reactor]
|
||||
- **Water per Tank:** = 16000mb -> 32000mb
|
||||
- **Steam per Tank:** = 16000mb -> 320000mb
|
||||
- **Heated Coolant per Tank** = 256000mb -> 512000mb
|
||||
- **Cooled Coolant per Tank:** = 25600mb -> 512000mb
|
||||
|
||||
[Nerfed to make other power viable in endgame 200MRF -> 80MRF]
|
||||
|
||||
- **Fuel Capacity:** 1.000mb -> 500mb
|
||||
- **Thermocouple Efficiency:** 0.05 -> 0.04
|
||||
- **Casing Thermal Conductivity:** 0.1 -> 0.333333333
|
||||
- **Water Heating Ratio:** 0.3 -> 272727272727
|
||||
|
||||
## Radiation
|
||||
|
||||
[Makes Radiation decay much faster]
|
||||
|
||||
- **Source Decay Rate:** 0.9995 -> 0.9975
|
||||
- **Target Decay Rate:** 0.9995 -> 0.9975
|
||||
|
||||
[Makes waste decay a bit faster in barrels]
|
||||
|
||||
- **Waste Barrel Process Ticks:** 20 -> 10
|
||||
- **Waste Barrel Decay Amount:** 1mb -> 2mb
|
||||
|
||||
## Machines
|
||||
|
||||
[Upgrades buff machines more to reduce the overall need for machines]
|
||||
|
||||
- **Max Upgrades Multiplier:** 10x -> 16x
|
||||
|
||||
[Buff so you dont need 150 of them for nuclear waste to polonium]
|
||||
|
||||
- **Solar Neutron Activator production:** 64mb/t -> 256mb/t
|
||||
|
||||
[Buff so you dont need 50 pumps for fusion]
|
||||
|
||||
- **Heavy Water Amount per 1000mb:** 10mb -> 50mb
|
||||
|
||||
|
||||
[Buff to reduce the need for many, reducing lag 1080mb/t -> 4995mb/t]
|
||||
|
||||
- **Evap Tower Temp Multiplier (Output Amount)** 0.4 -> 1.85
|
||||
- **Evap Tower Heat Capacity (Heat needed for max production):** 100 -> 600
|
||||
|
||||
[Faster charging rate]
|
||||
|
||||
- **Laser Energy Usage:** 10.000J -> 50.000J
|
||||
- **Laser Energy Capacity:** 2.000.000J -> 10.000.000J
|
||||
|
||||
[Massive SPS nerf to make other power sources besides fusion valid 400MRF -> 40MRF]
|
||||
|
||||
- **SPS Energy per mb:** 1.000.000J -> 100.000J
|
||||
|
||||
### Assume recipes are getting balanced as well to reflect the buffs here
|
||||
196
minecraft/kubejs/server_scripts/mods/Mekanism/Recipes.js
Normal file
196
minecraft/kubejs/server_scripts/mods/Mekanism/Recipes.js
Normal file
@@ -0,0 +1,196 @@
|
||||
// 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.
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
/* allthemods.remove({ id: 'mekanism:atomic_disassembler' })
|
||||
allthemods.shaped('mekanism:atomic_disassembler', ['ITI', 'IAI', ' P '], {
|
||||
I: 'mekanism:alloy_infused',
|
||||
T: 'mekanism:energy_tablet',
|
||||
A: 'mekanism:alloy_atomic',
|
||||
P: 'allthemodium:allthemodium_pickaxe'
|
||||
})
|
||||
allthemods.remove({ id: 'mekanism:meka_tool' })
|
||||
allthemods.shaped('mekanism:meka_tool', ['UCU', 'TDT', 'PBP'], {
|
||||
U: 'mekanism:ultimate_control_circuit',
|
||||
C: 'mekanism:configurator',
|
||||
T: '#forge:plates/unobtainium',
|
||||
D: 'mekanism:atomic_disassembler',
|
||||
B: 'mekanism:basic_induction_cell',
|
||||
P: 'mekanism:pellet_polonium'
|
||||
}) */
|
||||
allthemods.remove({ id: 'mekanism:upgrade/anchor' })
|
||||
|
||||
// remove combiner recipes for ores
|
||||
allthemods.remove({ type: 'mekanism:combining', id: /ore/ })
|
||||
|
||||
// GBG Recipe Change | Alfred
|
||||
allthemods.remove({ id: 'mekanismgenerators:generator/gas_burning' })
|
||||
allthemods.shaped( 'mekanismgenerators:gas_burning_generator', ['UBU', 'TDT', 'UBU'], {
|
||||
U: 'mekanism:ingot_refined_obsidian',
|
||||
B: 'mekanism:alloy_atomic',
|
||||
T: 'mekanismgenerators:bio_generator',
|
||||
D: 'mekanism:electrolytic_core'
|
||||
}).id('allthemods:mekanismgenerators/gas_burning_gen')
|
||||
|
||||
//Digital Miner
|
||||
allthemods.remove('mekanism:digital_miner')
|
||||
allthemods.shaped('mekanism:digital_miner', [
|
||||
"ACA",
|
||||
"SRS",
|
||||
"TXT"
|
||||
], {
|
||||
A: '#c:ingots/vibranium',
|
||||
C: '#c:circuits/basic',
|
||||
R: 'mekanism:robit',
|
||||
S: 'mekanism:logistical_sorter',
|
||||
T: 'mekanism:teleportation_core',
|
||||
X: 'mekanism:steel_casing'
|
||||
}
|
||||
).id('allthemods:mekanism/digital_miner')
|
||||
|
||||
//mekCrushing({item: 'mod:item', count: 0}, {item/tag: 'mod:item/tag', count: 0}, 'id');
|
||||
function mekCrushing(output, input, id) {
|
||||
let inputObject = {
|
||||
"count": input.count || 1
|
||||
};
|
||||
|
||||
if (input.item) {
|
||||
inputObject["item"] = input.item;
|
||||
} else if (input.tag) {
|
||||
inputObject["tag"] = input.tag;
|
||||
}
|
||||
|
||||
let recipe = {
|
||||
"type": "mekanism:crushing",
|
||||
"input": inputObject,
|
||||
"output": {
|
||||
"count": output.count || 1,
|
||||
"id": output.item
|
||||
}
|
||||
};
|
||||
|
||||
allthemods.custom(recipe).id(`allthemods:mekanism/crushing/${id}`);
|
||||
}
|
||||
|
||||
//mekEnriching({item: 'mod:item', count: 0}, {item/tag: 'mod:item/tag', count: 0}, 'id');
|
||||
function mekEnriching(output, input, id) {
|
||||
let inputObject = {
|
||||
"count": input.count || 1
|
||||
};
|
||||
|
||||
if (input.item) {
|
||||
inputObject["item"] = input.item;
|
||||
} else if (input.tag) {
|
||||
inputObject["tag"] = input.tag;
|
||||
}
|
||||
|
||||
let recipe = {
|
||||
"type": "mekanism:enriching",
|
||||
"input": inputObject,
|
||||
"output": {
|
||||
"count": output.count,
|
||||
"id": output.item
|
||||
}
|
||||
};
|
||||
|
||||
allthemods.custom(recipe).id(`allthemods:mekanism/enriching/${id}`);
|
||||
}
|
||||
|
||||
//mekSawing({item: 'mod:item', count: 0}, {item/tag: 'mod:item/tag', count: 0}, {chance: 0.00, item: 'mod:item',count: 0}, 'id');
|
||||
function mekSawing(output, input, extraOutput, id) {
|
||||
let inputObject = {
|
||||
"count": input.count || 1
|
||||
};
|
||||
|
||||
if (input.item) {
|
||||
inputObject["item"] = input.item;
|
||||
} else if (input.tag) {
|
||||
inputObject["tag"] = input.tag;
|
||||
}
|
||||
|
||||
let recipe = {
|
||||
"type": "mekanism:sawing",
|
||||
"input": inputObject,
|
||||
"main_output": {
|
||||
"count": output.count || 1,
|
||||
"id": output.item
|
||||
},
|
||||
"secondary_chance": extraOutput.chance,
|
||||
"secondary_output": {
|
||||
"count": extraOutput.count,
|
||||
"id": extraOutput.item
|
||||
}
|
||||
};
|
||||
|
||||
allthemods.custom(recipe).id(`allthemods:mekanism/sawing/${id}`);
|
||||
}
|
||||
//mekOxidizing(output{item, count}, input, id)
|
||||
function mekOxidizing(output, input) {
|
||||
allthemods.custom({
|
||||
"type": "mekanism:oxidizing",
|
||||
"input": {
|
||||
"count": 1,
|
||||
"tag": input
|
||||
},
|
||||
"output": {
|
||||
"amount": output.count,
|
||||
"id": output.item
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
[['gravel','cobblestone'], ['sand','gravel']].forEach(recipe => {
|
||||
for (let count = 1; count < 10; count++) {
|
||||
mekCrushing(
|
||||
{item: 'allthecompressed:' + recipe[0] + '_' + count + 'x'},
|
||||
{item: 'allthecompressed:' + recipe[1] + '_' + count + 'x'},
|
||||
recipe[1] + '_to_' + recipe[0] + '_' + count + 'x'
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
//mekCrushing({item: 'mod:item', count: 0}, {item/tag: 'mod:item/tag', count: 0}, 'id');
|
||||
mekCrushing(
|
||||
{item: 'silentgear:blaze_gold_dust'},
|
||||
{item: 'silentgear:blaze_gold_ingot'},
|
||||
'blaze_gold_ingot_to_dust'
|
||||
)
|
||||
mekCrushing(
|
||||
{item: 'silentgear:azure_electrum_dust'},
|
||||
{item: 'silentgear:azure_electrum_ingot'},
|
||||
'azure_electrum_ingot_to_dust'
|
||||
)
|
||||
mekCrushing(
|
||||
{item: 'silentgear:crimson_steel_dust'},
|
||||
{item: 'silentgear:crimson_steel_ingot'},
|
||||
'crimson_steel_ingot_to_dust'
|
||||
)
|
||||
mekCrushing(
|
||||
{item:'extendedae:entro_dust'},
|
||||
{item:'extendedae:entro_crystal'},
|
||||
'entro_crystal_to_dust'
|
||||
)
|
||||
mekCrushing({item:'irons_spellbooks:raw_mithril', count:4}, {tag:'c:ores/mithril'}, 'mithril_ore_to_raw')
|
||||
|
||||
//mekEnriching(output{item: 'mod:item', count: 0}, input{item/tag: 'mod:item/tag', count: 0}, 'id');
|
||||
mekEnriching({item: 'mysticalagriculture:prosperity_shard', count: 3}, {tag:'c:ores/prosperity'}, 'prosperity_ore_to_shard')
|
||||
mekEnriching({item: 'mysticalagriculture:inferium_essence', count: 3}, {tag:'c:ores/inferium'}, 'inferium_ore_to_essence')
|
||||
mekEnriching({item: 'theurgy:sal_ammoniac_crystal', count: 3}, {tag:'c:ores/sal_ammoniac'}, 'sal_ammoniac_ore_to_crystal')
|
||||
mekEnriching({item: 'powah:uraninite_raw', count: 2}, {tag: 'c:ores/uraninite_poor'}, 'uraninite_poor_to_raw')
|
||||
mekEnriching({item: 'powah:uraninite_raw', count: 4}, {tag: 'c:ores/uraninite_regular'}, 'uraninite_regular_to_raw')
|
||||
mekEnriching({item: 'powah:uraninite_raw', count: 6}, {tag: 'c:ores/uraninite_dense'}, 'uraninite_dense_to_raw')
|
||||
mekEnriching({item: 'silentgear:bort', count: 3}, {tag: 'c:ores/bort'}, 'bort_ore_to_bort')
|
||||
mekEnriching({item: 'actuallyadditions:black_quartz', count: 2}, {tag: 'c:ores/black_quartz'}, 'black_quartz_ore_to_black_quartz')
|
||||
|
||||
global.xycraftColours.forEach(colour => {
|
||||
mekEnriching({item: `xycraft_world:xychorium_gem_${colour}`, count: 4}, {tag:`c:ores/xychorium_${colour}`}, `${colour}_xychorium_ore_to_gem`)
|
||||
})
|
||||
|
||||
mekOxidizing({item:'mekanism:osmium', count:200}, 'c:ingots/osmium')
|
||||
mekOxidizing({item:'mekanism:osmium', count:1800}, 'c:storage_blocks/osmium')
|
||||
|
||||
})
|
||||
|
||||
// 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.
|
||||
132
minecraft/kubejs/server_scripts/mods/Mekanism/ore_processing.js
Normal file
132
minecraft/kubejs/server_scripts/mods/Mekanism/ore_processing.js
Normal file
@@ -0,0 +1,132 @@
|
||||
// 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.
|
||||
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
|
||||
const id = {
|
||||
alltheores: [
|
||||
'aluminum',
|
||||
'nickel',
|
||||
'platinum',
|
||||
'silver',
|
||||
'iridium',
|
||||
'zinc',
|
||||
'tin',
|
||||
'lead',
|
||||
'uranium',
|
||||
'osmium',
|
||||
'copper',
|
||||
'iron',
|
||||
'gold'
|
||||
],
|
||||
allthemodium: [
|
||||
'allthemodium',
|
||||
'vibranium',
|
||||
'unobtainium'
|
||||
]
|
||||
};
|
||||
|
||||
Object.entries(id).forEach(([mod, materials]) => {
|
||||
materials.forEach(material => {
|
||||
|
||||
if (mod === 'allthemodium') {
|
||||
washing(`allthemodium:dirty_${material}`, `allthemodium:clean_${material}`, `allthemodium:processing/${material}/slurry/clean`);
|
||||
injecting(`c:crystals/${material}`, `allthemodium:${material}_shard`, `allthemodium:processing/${material}/shard/from_crystal`);
|
||||
crushing(`c:clumps/${material}`, `allthemodium:dirty_${material}_dust`, `allthemodium:processing/${material}/dirty_dust/from_clump`);
|
||||
enriching(`c:dirty_dusts/${material}`, `allthemodium:${material}_dust`, `allthemodium:processing/${material}/dust/from_dirty_dust`);
|
||||
}
|
||||
if (mod === 'alltheores') {
|
||||
allthemods.remove({id: `mekanism:processing/${material}/slurry/dirty/from_raw_block`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/slurry/dirty/from_raw_ore`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/slurry/dirty/from_ore`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/crystal/from_slurry`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/shard/from_crystal`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/dirty_dust/from_clump`})
|
||||
allthemods.remove({id: `mekanism:processing/${material}/dust/from_dirty_dust`})
|
||||
|
||||
washing(`alltheores:dirty_${material}`, `alltheores:clean_${material}`, `alltheores:processing/${material}/slurry/from_dirty`);
|
||||
injecting(`c:crystals/${material}`, `alltheores:${material}_shard`, `alltheores:processing/${material}/shard/from_crystal`);
|
||||
crushing(`c:clumps/${material}`, `alltheores:dirty_${material}_dust`, `alltheores:processing/${material}/dirty_dust/from_clump`);
|
||||
enriching(`c:dirty_dusts/${material}`, `alltheores:${material}_dust`, `alltheores:processing/${material}/dust/from_dirty_dust`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function washing(input, output, id) {
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:washing",
|
||||
"fluid_input": {
|
||||
"amount": 25,
|
||||
"tag": "minecraft:water"
|
||||
},
|
||||
"chemical_input": {
|
||||
"amount": 5,
|
||||
"chemical": input
|
||||
},
|
||||
"output": {
|
||||
"amount": 3,
|
||||
"id": output
|
||||
},
|
||||
}
|
||||
).id(id)
|
||||
}
|
||||
|
||||
function injecting(input, output, id) {
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:injecting",
|
||||
"item_input": {
|
||||
"count": 1,
|
||||
"tag": input
|
||||
},
|
||||
"chemical_input": {
|
||||
"amount": 1,
|
||||
"chemical": "mekanism:hydrogen_chloride"
|
||||
},
|
||||
"output": {
|
||||
"count": 2,
|
||||
"id": output
|
||||
},
|
||||
"per_tick_usage": true
|
||||
}
|
||||
).id(id)
|
||||
}
|
||||
|
||||
function crushing(input, output, id) {
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:crushing",
|
||||
"input": {
|
||||
"count": 1,
|
||||
"tag": input
|
||||
},
|
||||
"output": {
|
||||
"count": 2,
|
||||
"id": output
|
||||
}
|
||||
}
|
||||
).id(id)
|
||||
}
|
||||
|
||||
function enriching(input, output, id) {
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mekanism:enriching",
|
||||
"input": {
|
||||
"count": 4,
|
||||
"tag": input
|
||||
},
|
||||
"output": {
|
||||
"count": 3,
|
||||
"id": output
|
||||
}
|
||||
}
|
||||
).id(id)
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
// 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.
|
||||
Reference in New Issue
Block a user