Mekanism induction ✨✨

This commit is contained in:
oitsjustjose 2022-10-24 20:53:59 -05:00
commit 3dca2ccafe
4 changed files with 194 additions and 118 deletions

View file

@ -112,7 +112,7 @@
#Induction #Induction
[tier.induction] [tier.induction]
#Maximum number of Joules Basic induction cells can store. #Maximum number of Joules Basic induction cells can store.
basicStorage = "8000000000" basicStorage = "12000000"
#Maximum number of Joules Advanced induction cells can store. #Maximum number of Joules Advanced induction cells can store.
advancedStorage = "64000000000" advancedStorage = "64000000000"
#Maximum number of Joules Elite induction cells can store. #Maximum number of Joules Elite induction cells can store.

View file

@ -1,7 +1,6 @@
{ {
"block.mekanism.advanced_bin": "Improved Bin", "block.mekanism.advanced_bin": "Improved Bin",
"block.mekanism.basic_bin": "Basic Bin", "block.mekanism.basic_bin": "Basic Bin",
"block.mekanism.elite_bin": "Advanced Bin",
"block.mekanism.ultimate_bin": "Vacuous Bin", "block.mekanism.ultimate_bin": "Vacuous Bin",
"description.mekanism.bin": "A block used to store large quantities of a single type of item." "description.mekanism.bin": "A block used to store large quantities of a single type of item."
} }

View file

@ -5,7 +5,7 @@ const items = [
'/expandedstorage:*_present/', '/expandedstorage:*_present/',
'/libraryferret:*/', '/libraryferret:*/',
'/lootr:*/', '/lootr:*/',
'/mekanism:(?!.*_bin)(?!meka.*)(?!modification_station.*)(?!module_.*).*/', '/mekanism:(?!.*_bin)(?!meka.*)(?!modification_station.*)(?!module_.*)(?!.*induction.*)(?!configurator).*/',
'/.*:.*_spawn_egg/', '/.*:.*_spawn_egg/',
'/industrialforegoing:infinity_backpack/', '/industrialforegoing:infinity_backpack/',
'/industrialforegoing:infinity_drill/', '/industrialforegoing:infinity_drill/',

View file

@ -1,4 +1,8 @@
const MekanismModuleRecipes = CustomRecipeHandler => { onEvent('recipes', event => {
// const CustomRecipeHandler = global.recipes(event);
const CustomRecipeHandler = global.recipes(event);
const MekanismModuleRecipes = () => {
[ [
{ {
items: [Item.of('pneumaticcraft:jumping_upgrade_4')], items: [Item.of('pneumaticcraft:jumping_upgrade_4')],
@ -110,9 +114,76 @@ const MekanismModuleRecipes = CustomRecipeHandler => {
}); });
}; };
onEvent('recipes', event => { const InductionCellRecipes = () => {
// const CustomRecipeHandler = global.recipes(event); event.shaped('8x mekanism:induction_casing', ['PPP', 'PCP', 'PPP'], {
const CustomRecipeHandler = global.recipes(event); P: '#forge:plastic',
C: 'thermal:upgrade_augment_3',
});
CustomRecipeHandler.automatableSmithing(
Item.of('mekanism:induction_port'),
Item.of('mekanism:induction_casing'),
Item.of('refinedpipes:advanced_extractor_attachment')
);
/* Induction Cells */
event.shaped('mekanism:basic_induction_cell', ['CAC', 'HIH', 'CAC'], {
C: '#forge:storage_blocks/copper',
A: 'immersiveengineering:capacitor_hv',
I: 'thermal:upgrade_augment_1',
H: 'mekanism:induction_casing',
});
event.shaped('mekanism:advanced_induction_cell', ['CAC', 'HIH', 'CAC'], {
C: '#forge:storage_blocks/enderium',
A: 'mekanism:basic_induction_cell',
I: 'thermal:upgrade_augment_3',
H: 'mekanism:induction_casing',
});
event.shaped('mekanism:elite_induction_cell', ['CAC', 'HIH', 'CAC'], {
C: '#forge:storage_blocks/ostrum',
A: 'mekanism:advanced_induction_cell',
I: 'kubejs:ostrum_integral_components',
H: 'mekanism:induction_casing',
});
event.shaped('mekanism:ultimate_induction_cell', ['CAC', 'HIH', 'CAC'], {
C: '#forge:storage_blocks/calorite',
A: 'mekanism:elite_induction_cell',
I: 'kubejs:calorite_integral_components',
H: 'mekanism:induction_casing',
});
/* Induction Providers */
event.shaped('mekanism:basic_induction_provider', ['CPC', 'AIA', 'CPC'], {
C: '#forge:storage_blocks/copper',
P: '#thermal:glass/hardened',
I: 'thermal:upgrade_augment_1',
A: 'mekanism:induction_casing',
});
event.shaped('mekanism:advanced_induction_provider', ['CPC', 'AIA', 'CPC'], {
C: '#forge:storage_blocks/enderium',
P: '#thermal:glass/hardened',
I: 'thermal:upgrade_augment_3',
A: 'mekanism:induction_casing',
});
event.shaped('mekanism:elite_induction_provider', ['CPC', 'AIA', 'CPC'], {
C: '#forge:storage_blocks/ostrum',
P: '#thermal:glass/hardened',
I: 'kubejs:ostrum_integral_components',
A: 'mekanism:induction_casing',
});
event.shaped('mekanism:ultimate_induction_provider', ['CPC', 'AIA', 'CPC'], {
C: '#forge:storage_blocks/calorite',
P: '#thermal:glass/hardened',
I: 'kubejs:calorite_integral_components',
A: 'mekanism:induction_casing',
});
};
/* Remove recipes for Mekanism */ /* Remove recipes for Mekanism */
event.remove({mod: 'mekanism'}); event.remove({mod: 'mekanism'});
@ -211,8 +282,14 @@ onEvent('recipes', event => {
Fluid.of('industrialforegoing:ether_gas', 200) Fluid.of('industrialforegoing:ether_gas', 200)
); );
/** MODULES **/ InductionCellRecipes();
MekanismModuleRecipes(CustomRecipeHandler); MekanismModuleRecipes();
CustomRecipeHandler.warping(
Item.of('fluxnetworks:flux_configurator'),
Item.of('mekanism:configurator'),
'minecraft:the_end'
);
CustomRecipeHandler.automatableSmithing( CustomRecipeHandler.automatableSmithing(
Item.of('mekanism:basic_bin'), Item.of('mekanism:basic_bin'),