3.1.11 ready!

This commit is contained in:
oitsjustjose 2022-10-09 23:31:56 -05:00
commit d01aa9d83c
14 changed files with 465 additions and 66 deletions

View file

@ -51,6 +51,7 @@ const items = [
'beyond_earth:iron_plate',
'beyond_earth:iron_stick',
'beyond_earth:oil_bucket',
'beyond_earth:oil_bucket',
'beyond_earth:solar_panel',
'beyond_earth:steel_block',
'beyond_earth:steel_ingot',
@ -88,6 +89,7 @@ const items = [
'create:iron_sheet',
'create:unprocessed_obsidian_sheet',
'createaddition:accumulator',
'createaddition:bioethanol_bucket',
'createaddition:brass_rod',
'createaddition:capacitor',
'createaddition:connector',
@ -102,6 +104,7 @@ const items = [
'createaddition:iron_wire',
'createaddition:redstone_relay',
'createaddition:rolling_mill',
'createaddition:seed_oil_bucket',
'createaddition:spool',
'createaddition:tesla_coil',
'createaddition:zinc_sheet',
@ -294,6 +297,9 @@ const items = [
'minecraft:sculk_sensor',
'moreminecarts:silica_steel_mix',
'pipez:gas_pipe',
'pneumaticcraft:biodiesel_bucket',
'pneumaticcraft:ethanol_bucket',
'pneumaticcraft:vegetable_oil_bucket',
'refinedstorage:black_controller',
'refinedstorage:black_crafter_manager',
'refinedstorage:black_crafter',
@ -551,11 +557,13 @@ const items = [
'supplementaries:bomb_blue_projectile',
'supplementaries:bomb_projectile',
'supplementaries:bomb_spiky_projectile',
'thermal:apatite',
'thermal:apatite_block',
'thermal:apatite_dust',
'thermal:apatite',
'thermal:beetroot_block',
'thermal:carrot_block',
'thermal:creosote_bucket',
'thermal:crude_oil_bucket',
'thermal:deepslate_ruby_ore',
'thermal:deepslate_sapphire_ore',
'thermal:drill_head',
@ -767,6 +775,8 @@ onEvent('jei.hide.fluids', event => {
'beyond_earth:flowing_oil',
'beyond_earth:fuel',
'beyond_earth:oil',
'createaddition:bioethanol',
'createaddition:seed_oil',
'mekanism:brine',
'mekanism:chlorine',
'mekanism:ethene',
@ -803,6 +813,11 @@ onEvent('jei.hide.fluids', event => {
'mekanism:superheated_sodium',
'mekanism:uranium_hexafluoride',
'mekanism:uranium_oxide',
'pneumaticcraft:biodiesel',
'pneumaticcraft:ethanol',
'pneumaticcraft:vegetable_oil',
'thermal:creosote',
'thermal:crude_oil',
];
fluids.forEach(fluid => {
@ -814,6 +829,7 @@ onEvent('jei.hide.fluids', event => {
});
});
// TODO: Re-enable when fixed
// onEvent('jei.hide.custom', event => {
// const MekanismJEI = java('mekanism.client.jei.MekanismJEI');

View file

@ -4,7 +4,7 @@ settings.logInvalidRecipeHandlers = false;
global.validateInput = x => (Item.of(x) === Item.empty ? 'minecraft:air' : tmp);
global.duplicateResources = [
global.duplicateItemResources = [
{tag: 'forge:coal_coke', item: 'immersiveengineering:coal_coke'},
{tag: 'forge:dusts/constantan', item: 'immersiveengineering:dust_constantan'},
{tag: 'forge:dusts/copper', item: 'immersiveengineering:dust_copper'},

View file

@ -1,19 +1,147 @@
onEvent('recipes', event => {
global.duplicateResources.forEach(x => {
event.remove({output: x.item});
});
const DeDuplicateItems = () => {
global.duplicateItemResources.forEach(x => {
event.remove({output: x.item});
});
event.replaceInput({}, 'immersiveengineering:slag', '#forge:slag');
event.replaceInput({}, 'industrialforegoing:plastic', '#forge:plastic');
event.replaceInput({}, 'pneumaticcraft:plastic', '#forge:plastic');
event.replaceInput({}, 'immersiveengineering:slag', '#forge:slag');
event.replaceInput({}, 'industrialforegoing:plastic', '#forge:plastic');
event.replaceInput({}, 'pneumaticcraft:plastic', '#forge:plastic');
event.replaceInput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust');
event.replaceOutput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust');
event.replaceInput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust');
event.replaceOutput({}, 'immersiveengineering:dust_saltpeter', 'thermal:niter_dust');
event.remove({input: '#forge:nuggets/copper', output: '#forge:ingots/copper'});
event.shaped('minecraft:copper_ingot', ['XXX', 'XXX', 'XXX'], {X: '#forge:nuggets/copper'});
event.remove({input: '#forge:nuggets/copper', output: '#forge:ingots/copper'});
event.shaped('minecraft:copper_ingot', ['XXX', 'XXX', 'XXX'], {X: '#forge:nuggets/copper'});
event.remove({output: 'thermal:carrot_block'});
event.remove({output: 'thermal:potato_block'});
event.remove({output: 'thermal:beetroot_block'});
event.remove({output: 'thermal:carrot_block'});
event.remove({output: 'thermal:potato_block'});
event.remove({output: 'thermal:beetroot_block'});
/* Syngas recipes that are broken */
event.remove({id: 'advgenerators:carbon/coal_dust'});
event.remove({id: 'advgenerators:carbon/carbon_dust'});
event.remove({id: 'advgenerators:carbon/charcoal_dust'});
};
const DeDuplicateFluids = () => {
/* Pyrolize Creosote from Logs */
event.remove({id: 'thermal:machines/pyrolyzer/pyrolyzer_logs'});
event.recipes.thermal.pyrolyzer(
[Item.of('minecraft:charcoal'), Fluid.of('immersiveengineering:creosote', 250)],
Item.of('#minecraft:logs')
);
/* Pyrolize Creosote from Coal */
event.remove({id: 'thermal:machines/pyrolyzer/pyrolyzer_coal'});
event.recipes.thermal.pyrolyzer(
[
Item.of('thermal:coal_coke'),
Item.of('thermal:tar'),
Fluid.of('immersiveengineering:creosote', 500),
],
Item.of('minecraft:coal')
);
/* Crude Oil from Bituminous Sands */
event.remove({id: 'thermal:machines/centrifuge/centrifuge_oil_sand'});
event.remove({id: 'thermal:machines/centrifuge/centrifuge_oil_red_sand'});
event.recipes.thermal.centrifuge(
[
Item.of('minecraft:red_sand'),
Item.of('thermal:bitumen'),
Item.of('thermal:tar'),
Fluid.of('pneumaticcraft:oil', 100),
],
Item.of('thermal:oil_red_sand')
);
event.recipes.thermal.centrifuge(
[
Item.of('minecraft:sand'),
Item.of('thermal:bitumen'),
Item.of('thermal:tar'),
Fluid.of('pneumaticcraft:oil', 100),
],
Item.of('thermal:oil_sand')
);
/* PnC's Biodiesel -- cya! */
event.remove({id: 'pneumaticcraft:fluid_mixer/biodiesel'});
event.custom({
type: 'pneumaticcraft:fluid_mixer',
input1: {type: 'pneumaticcraft:fluid', tag: 'forge:plantoil', amount: 25},
input2: {type: 'pneumaticcraft:fluid', tag: 'forge:ethanol', amount: 25},
fluid_output: {fluid: 'immersiveengineering:biodiesel', amount: 50},
item_output: {item: 'pneumaticcraft:glycerol'},
pressure: 2.0,
time: 300,
});
/* PnC's Ethanol */
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_poisonous_potato'});
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_melon'});
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_sweet_berries'});
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_apple'});
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_sugar'});
event.remove({id: 'pneumaticcraft:thermo_plant/ethanol_from_potato'});
[
{item: 'minecraft:sugar', amt: 50},
{item: 'minecraft:poisonous_potato', amt: 50},
{item: 'minecraft:potato', amt: 25},
{item: 'minecraft:sweet_berries', amt: 20},
{item: 'minecraft:apple', amt: 50},
{item: 'minecraft:melon_slice', amt: 10},
].forEach(x =>
event.custom({
type: 'pneumaticcraft:thermo_plant',
item_input: {item: x.item},
fluid_input: {
type: 'pneumaticcraft:fluid',
tag: 'pneumaticcraft:yeast_culture',
amount: 100,
},
fluid_output: {fluid: 'immersiveengineering:ethanol', amount: x.amt},
temperature: {min_temp: 303, max_temp: 333},
speed: 0.4,
exothermic: true,
})
);
/* CCnA Bioethanol */
event.remove({id: 'createaddition:mixing/bioethanol'});
event.recipes.create.mixing(Fluid.of('immersiveengineering:ethanol', 100), [
Item.of('minecraft:sugar'),
Item.of('createaddition:biomass'),
]);
/* CCnA Seed Oil */
event.remove({id: 'createaddition:compacting/seed_oil'});
event.recipes.create.compacting(Fluid.of('immersiveengineering:plantoil', 100), [
'#forge:seeds',
]);
/* PnC Vegetable Oil */
event.remove({id: 'pneumaticcraft:thermo_plant/vegetable_oil_from_crops'});
event.custom({
type: 'pneumaticcraft:thermo_plant',
item_input: {tag: 'forge:crops'},
fluid_output: {fluid: 'immersiveengineering:plantoil', amount: 20},
pressure: 2.0,
speed: 0.5,
exothermic: false,
});
event.remove({id: 'pneumaticcraft:thermo_plant/vegetable_oil_from_seeds'});
event.custom({
type: 'pneumaticcraft:thermo_plant',
item_input: {tag: 'forge:seeds'},
fluid_output: {fluid: 'immersiveengineering:plantoil', amount: 50},
pressure: 2.0,
speed: 0.5,
exothermic: false,
});
};
DeDuplicateItems();
DeDuplicateFluids();
});

View file

@ -17,6 +17,11 @@ onEvent('recipes', event => {
event.remove({input: x});
event.remove({output: x});
});
event.remove({input: '#forge:raw_materials/uranium'});
event.remove({input: '#forge:ingots/uranium'});
event.remove({id: 'immersiveengineering:crusher/raw_ore_uranium'});
event.remove({id: 'immersiveengineering:crusher/ingot_uranium'});
});
onEvent('item.tags', event => {

View file

@ -2,7 +2,7 @@
onEvent('item.tags', event => {
const unifyMaterials = () => {
global.duplicateResources.forEach(x => {
global.duplicateItemResources.forEach(x => {
const tag = x.tag;
const item = x.item;
const rootTag = tag.indexOf('/') >= 0 ? tag.split('/')[0] : tag;

View file

@ -18,7 +18,7 @@ onEvent('recipes', event => {
Item.of('architects_palette:nether_brass_ingot')
);
// Re-add precision mech recipe because it was removed by its inclusion in global.duplicateResources
// Re-add precision mech recipe because it was removed by its inclusion in global.duplicateItemResources
const icpm = Item.of('create:incomplete_precision_mechanism');
event.recipes.create
.sequenced_assembly([Item.of('create:precision_mechanism')], '#forge:plates/gold', [

View file

@ -67,6 +67,16 @@ onEvent('recipes', event => {
'advgenerators:fuel_tank',
'advgenerators:fe_output',
].forEach(x => event.remove({output: x}));
/* Remove fuel recipes */
event.remove({id: 'advgenerators:fuel/mekanism_ethene'});
event.remove({id: 'advgenerators:fuel/mekanism_hydrogen'});
event.remove({id: 'advgenerators:fuel/syngas'});
event.custom({
type: 'advgenerators:liquid_fuel',
fuel: {fluid: 'advgenerators:syngas'},
fePerMb: 2500,
});
};
const add = () => {