diff --git a/kubejs/client_scripts/main_client_script.js b/kubejs/client_scripts/main_client_script.js index 25821f604..34be24e63 100644 --- a/kubejs/client_scripts/main_client_script.js +++ b/kubejs/client_scripts/main_client_script.js @@ -21,3 +21,7 @@ REIEvents.removeCategories(event => { registerMoreRedCategories(event) }) +REIEvents.hide('fluid', event => { + hideTFCFluids(event) +}) + diff --git a/kubejs/client_scripts/mods/tfc.js b/kubejs/client_scripts/mods/tfc.js index 0825e589b..859c97213 100644 --- a/kubejs/client_scripts/mods/tfc.js +++ b/kubejs/client_scripts/mods/tfc.js @@ -21,4 +21,26 @@ const hideTFCStuff = (event) => { const groupTFCStuff = (event) => { event.groupItemsByTag('tfg:rei_groups/ingots/double', 'Double Ingots', 'forge:double_ingots') +} + +const hideTFCFluids = (event) => { + event.hide('tfc:metal/bismuth') + event.hide('tfc:metal/bismuth_bronze') + event.hide('tfc:metal/bronze') + event.hide('tfc:metal/black_bronze') + event.hide('tfc:metal/brass') + event.hide('tfc:metal/copper') + event.hide('tfc:metal/gold') + event.hide('tfc:metal/nickel') + event.hide('tfc:metal/rose_gold') + event.hide('tfc:metal/silver') + event.hide('tfc:metal/tin') + event.hide('tfc:metal/zinc') + event.hide('tfc:metal/sterling_silver') + event.hide('tfc:metal/wrought_iron') + event.hide('tfc:metal/cast_iron') + event.hide('tfc:metal/steel') + event.hide('tfc:metal/black_steel') + event.hide('tfc:metal/red_steel') + event.hide('tfc:metal/blue_steel') } \ No newline at end of file diff --git a/kubejs/server_scripts/ad_astra/recipes.js b/kubejs/server_scripts/ad_astra/recipes.js index 3403f0a8b..3e3c1016c 100644 --- a/kubejs/server_scripts/ad_astra/recipes.js +++ b/kubejs/server_scripts/ad_astra/recipes.js @@ -4,4 +4,10 @@ const registerAdAstraRecipes = (event) => { // Удаление рецептов мода // event.remove({ mod: 'ad_astra' }); + + event.remove({ id: 'ad_astra:recipes/steel_trapdoor' }) + event.remove({ id: 'ad_astra:recipes/steel_door' }) + event.remove({ id: 'ad_astra:recipes/hammer' }) + event.remove({ id: 'ad_astra:recipes/iron_rod' }) + event.remove({ id: 'ad_astra:hammering/steel_plate' }) } \ No newline at end of file diff --git a/kubejs/server_scripts/minecraft/recipes.js b/kubejs/server_scripts/minecraft/recipes.js index ffd9b9f25..c294e9578 100644 --- a/kubejs/server_scripts/minecraft/recipes.js +++ b/kubejs/server_scripts/minecraft/recipes.js @@ -2,6 +2,13 @@ const registerMinecraftRecipes = (event) => { + // Удаление рецептов камня + event.remove({id: 'gtceu:compressor/stone_from_dust'}) + + // Удаление рецептов жиги + event.remove({id: 'tfc:crafting/vanilla/flint_and_steel'}) + event.remove({id: 'ad_astra:recipes/flint_and_steel'}) + // Удаление рецептов связанных с наковальней event.remove({id: 'gtceu:arc_furnace/arc_anvil'}) event.remove({id: 'gtceu:macerator/macerate_anvil'}) diff --git a/kubejs/startup_scripts/ad_astra/constants.js b/kubejs/startup_scripts/ad_astra/constants.js new file mode 100644 index 000000000..cf9277aef --- /dev/null +++ b/kubejs/startup_scripts/ad_astra/constants.js @@ -0,0 +1,15 @@ +// priority: 0 + +/** + * Список хранит предметы, + * у которых должны быть удалены тэги и они должны быть скрыты в REI. + */ +global.AD_ASTRA_DISABLED_ITEMS = [ + 'ad_astra:steel_ingot', + 'ad_astra:steel_plate', + 'ad_astra:steel_nugget', + 'ad_astra:steel_door', + 'ad_astra:steel_trapdoor', + 'ad_astra:iron_plate', + 'ad_astra:iron_rod' +]; \ No newline at end of file