Merge pull request #126 from TerraFirmaGreg-Team/mod-ae2-recipes

Полная перепись рецептов мода AE2 и AE2WTLib
This commit is contained in:
Dmitry
2023-12-12 09:08:04 +07:00
committed by GitHub
15 changed files with 2556 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 B

View File

@@ -5,6 +5,7 @@ REIEvents.hide('item', event => {
hideTFCStuff(event)
hideGTCEUStuff(event)
hideCreateStuff(event)
hideAE2Stuff(event)
hideAdAstraStuff(event)
hideSophisticatedBackpacksStuff(event)
hideMoreRedStuff(event)

View File

@@ -0,0 +1,7 @@
// priority: 0
const hideAE2Stuff = (event) => {
global.AE2_DISABLED_ITEMS.forEach(item => {
event.hide(item)
})
}

View File

@@ -47,9 +47,9 @@ const groupGTCEUStuff = (event) => {
event.groupItemsByTag('tfg:rei_groups/gems/flawed', 'Flawed Gems', 'forge:flawed_gems')
event.groupItemsByTag('tfg:rei_groups/gems/chipped', 'Chipped Gems', 'forge:chipped_gems')
event.groupItemsByTag('tfg:rei_groups/material_blocks/raw', 'Raw Material Blocks', 'forge:material_blocks/raw')
event.groupItemsByTag('tfg:rei_groups/material_blocks/block', 'Material Blocks', 'forge:material_blocks/block')
event.groupItemsByTag('tfg:rei_groups/material_blocks/frame', 'Frames', 'forge:material_blocks/frame')
event.groupItemsByTag('tfg:rei_groups/blocks/raw', 'Raw Material Blocks', 'forge:raw_blocks')
event.groupItemsByTag('tfg:rei_groups/blocks/material_blocks', 'Material Blocks', 'forge:material_blocks')
event.groupItemsByTag('tfg:rei_groups/blocks/frame', 'Frames', 'forge:frame_blocks')
event.groupItemsByTag('tfg:rei_groups/sword_heads', 'Sword Heads', 'forge:sword_heads')
event.groupItemsByTag('tfg:rei_groups/butchery_knife_heads', 'Butchery Knife Heads', 'forge:butchery_knife_heads')

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
// priority: 0
const registerAE2ItemTags = (event) => {
}

View File

@@ -0,0 +1,65 @@
// priority: 0
const registerAE2WTLibRecipes = (event) => {
// Удаление рецептов мода
event.remove({ id: 'ae2wtlib:pattern_access/wireless_pattern_access_terminal' });
event.remove({ id: 'ae2wtlib:pattern_encoding/wireless_pattern_encoding_terminal' });
event.remove({ id: 'ae2wtlib:pattern_encoding/upgrade_wireless_pattern_encoding_terminal' });
event.remove({ id: 'ae2wtlib:magnet_card' });
event.remove({ id: 'ae2wtlib:quantum_bridge_card' });
// Wireless Pattern Terminal
event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_encoding_terminal')
.itemInputs(
'2x ae2:dense_energy_cell',
'ae2:wireless_terminal',
'ae2:pattern_encoding_terminal',
'2x gtceu:luv_sensor',
'gtceu:luv_emitter',
'2x #forge:rods/osmiridium',
)
.itemOutputs('ae2wtlib:wireless_pattern_encoding_terminal')
.duration(30)
.EUt(250)
// Pattern Access Terminal
event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_access_terminal')
.itemInputs(
'2x ae2:dense_energy_cell',
'ae2:wireless_terminal',
'ae2:pattern_access_terminal',
'2x gtceu:luv_sensor',
'gtceu:luv_emitter',
'2x #forge:rods/osmiridium'
)
.itemOutputs('ae2wtlib:wireless_pattern_access_terminal')
.duration(30)
.EUt(250)
// Magnet Card
event.recipes.gtceu.assembler('ae2wtlib:magnet_card')
.itemInputs(
'#forge:ingots/magnetic_neodymium',
'4x #forge:rods/magnetic_neodymium',
'ae2:advanced_card',
'ae2:annihilation_plane',
'#forge:plates/redstone',
'#forge:plates/lapis',
)
.itemOutputs('ae2wtlib:magnet_card')
.duration(30)
.EUt(250)
// Quantum Bridge Card
event.recipes.gtceu.assembler('ae2wtlib:quantum_bridge_card')
.itemInputs(
'4x gtceu:iv_sensor',
'4x ae2:wireless_booster',
'2x gtceu:luv_sensor',
'gtceu:wireless_digital_interface_cover',)
.itemOutputs('ae2wtlib:quantum_bridge_card')
.duration(30)
.EUt(250)
}

View File

@@ -9,6 +9,7 @@ ServerEvents.tags('item', event => {
registerSmallShipsItemTags(event)
registerMinecraftItemTags(event)
registerGTCEUItemTags(event)
registerAE2ItemTags(event)
registerCreateItemTags(event)
registerAdAstraItemTags(event)
registerMoreRedItemTags(event)
@@ -69,6 +70,7 @@ ServerEvents.recipes(event => {
registerGTCEURecipes(event)
registerCreateRecipes(event)
registerAE2Recipes(event)
registerAE2WTLibRecipes(event)
registerComputerCraftRecipes(event)
registerAdAstraRecipes(event)
registerMoreRedRecipes(event)

View File

@@ -0,0 +1,275 @@
// priority: 0
global.AE2_DISABLED_ITEMS = [
// Инструменты
'ae2:certus_quartz_sword',
'ae2:nether_quartz_sword',
'ae2:fluix_sword',
'ae2:certus_quartz_wrench',
'ae2:nether_quartz_wrench',
'ae2:fluix_upgrade_smithing_template',
'ae2:certus_quartz_axe',
'ae2:nether_quartz_axe',
'ae2:fluix_axe',
'ae2:certus_quartz_hoe',
'ae2:nether_quartz_hoe',
'ae2:fluix_hoe',
'ae2:certus_quartz_shovel',
'ae2:nether_quartz_shovel',
'ae2:fluix_shovel',
'ae2:certus_quartz_pickaxe',
'ae2:nether_quartz_pickaxe',
'ae2:fluix_pickaxe',
'ae2:entropy_manipulator',
'ae2:charged_staff',
'#ae2:knife',
'ae2:name_press',
// Блоки
'ae2:vibration_chamber',
'ae2:crank',
'ae2:charger',
'ae2:spatial_anchor',
'ae2:inscriber',
'ae2:growth_accelerator',
'ae2:cut_quartz_block',
'ae2:smooth_quartz_block',
'ae2:quartz_bricks',
'ae2:quartz_pillar',
'ae2:chiseled_quartz_block',
'ae2:quartz_stairs',
'ae2:cut_quartz_stairs',
'ae2:smooth_quartz_stairs',
'ae2:quartz_brick_stairs',
'ae2:chiseled_quartz_stairs',
'ae2:quartz_pillar_stairs',
'ae2:fluix_stairs',
'ae2:quartz_slab',
'ae2:cut_quartz_slab',
'ae2:smooth_quartz_slab',
'ae2:quartz_brick_slab',
'ae2:chiseled_quartz_slab',
'ae2:quartz_pillar_slab',
'ae2:fluix_slab',
'ae2:quartz_wall',
'ae2:cut_quartz_wall',
'ae2:smooth_quartz_wall',
'ae2:quartz_brick_wall',
'ae2:chiseled_quartz_wall',
'ae2:quartz_pillar_wall',
'ae2:fluix_wall',
'ae2:sky_stone_block',
'ae2:smooth_sky_stone_block',
'ae2:sky_stone_brick',
'ae2:sky_stone_small_brick',
'ae2:sky_stone_chest',
'ae2:smooth_sky_stone_chest',
'ae2:sky_stone_tank',
'ae2:mysterious_cube',
'ae2:not_so_mysterious_cube',
'ae2:sky_stone_stairs',
'ae2:smooth_sky_stone_stairs',
'ae2:sky_stone_brick_stairs',
'ae2:sky_stone_small_brick_stairs',
'ae2:sky_stone_slab',
'ae2:smooth_sky_stone_slab',
'ae2:sky_stone_brick_slab',
'ae2:sky_stone_small_brick_slab',
'ae2:sky_stone_wall',
'ae2:smooth_sky_stone_wall',
'ae2:sky_stone_brick_wall',
'ae2:sky_stone_small_brick_wall',
'gtceu:raw_certus_quartz_block',
// Другое
'ae2:meteorite_compass',
'ae2:silicon',
'ae2:sky_dust',
'ae2:energy_acceptor',
'ae2:cable_energy_acceptor',
'ae2:energy_cell',
'ae2:dense_energy_cell',
'ae2:creative_energy_cell',
'ae2:tiny_tnt'
];
// Glass Cable
global.AE2_GLASS_CABLES = [
'ae2:white_glass_cable',
'ae2:orange_glass_cable',
'ae2:magenta_glass_cable',
'ae2:light_blue_glass_cable',
'ae2:yellow_glass_cable',
'ae2:lime_glass_cable',
'ae2:pink_glass_cable',
'ae2:gray_glass_cable',
'ae2:light_gray_glass_cable',
'ae2:cyan_glass_cable',
'ae2:purple_glass_cable',
'ae2:blue_glass_cable',
'ae2:brown_glass_cable',
'ae2:green_glass_cable',
'ae2:red_glass_cable',
'ae2:black_glass_cable',
]
// Covered Cable
global.AE2_COVERED_CABLES = [
'ae2:white_covered_cable',
'ae2:orange_covered_cable',
'ae2:magenta_covered_cable',
'ae2:light_blue_covered_cable',
'ae2:yellow_covered_cable',
'ae2:lime_covered_cable',
'ae2:pink_covered_cable',
'ae2:gray_covered_cable',
'ae2:light_gray_covered_cable',
'ae2:cyan_covered_cable',
'ae2:purple_covered_cable',
'ae2:blue_covered_cable',
'ae2:brown_covered_cable',
'ae2:green_covered_cable',
'ae2:red_covered_cable',
'ae2:black_covered_cable',
]
// Dense Covered Cable
global.AE2_COVERED_DENSE_CABLES = [
'ae2:white_covered_dense_cable',
'ae2:orange_covered_dense_cable',
'ae2:magenta_covered_dense_cable',
'ae2:light_blue_covered_dense_cable',
'ae2:yellow_covered_dense_cable',
'ae2:lime_covered_dense_cable',
'ae2:pink_covered_dense_cable',
'ae2:gray_covered_dense_cable',
'ae2:light_gray_covered_dense_cable',
'ae2:cyan_covered_dense_cable',
'ae2:purple_covered_dense_cable',
'ae2:blue_covered_dense_cable',
'ae2:brown_covered_dense_cable',
'ae2:green_covered_dense_cable',
'ae2:red_covered_dense_cable',
'ae2:black_covered_dense_cable',
]
// Smart Cable
global.AE2_SMART_CABLES = [
'ae2:white_smart_cable',
'ae2:orange_smart_cable',
'ae2:magenta_smart_cable',
'ae2:light_blue_smart_cable',
'ae2:yellow_smart_cable',
'ae2:lime_smart_cable',
'ae2:pink_smart_cable',
'ae2:gray_smart_cable',
'ae2:light_gray_smart_cable',
'ae2:cyan_smart_cable',
'ae2:purple_smart_cable',
'ae2:blue_smart_cable',
'ae2:brown_smart_cable',
'ae2:green_smart_cable',
'ae2:red_smart_cable',
'ae2:black_smart_cable',
]
// Dense Smart Cable
global.AE2_SMART_DENSE_CABLES = [
'ae2:white_smart_dense_cable',
'ae2:orange_smart_dense_cable',
'ae2:magenta_smart_dense_cable',
'ae2:light_blue_smart_dense_cable',
'ae2:yellow_smart_dense_cable',
'ae2:lime_smart_dense_cable',
'ae2:pink_smart_dense_cable',
'ae2:gray_smart_dense_cable',
'ae2:light_gray_smart_dense_cable',
'ae2:cyan_smart_dense_cable',
'ae2:purple_smart_dense_cable',
'ae2:blue_smart_dense_cable',
'ae2:brown_smart_dense_cable',
'ae2:green_smart_dense_cable',
'ae2:red_smart_dense_cable',
'ae2:black_smart_dense_cable',
]
// Smart Cable
global.AE2_SMART_CABLES = [
'ae2:white_smart_cable',
'ae2:orange_smart_cable',
'ae2:magenta_smart_cable',
'ae2:light_blue_smart_cable',
'ae2:yellow_smart_cable',
'ae2:lime_smart_cable',
'ae2:pink_smart_cable',
'ae2:gray_smart_cable',
'ae2:light_gray_smart_cable',
'ae2:cyan_smart_cable',
'ae2:purple_smart_cable',
'ae2:blue_smart_cable',
'ae2:brown_smart_cable',
'ae2:green_smart_cable',
'ae2:red_smart_cable',
'ae2:black_smart_cable',
]
// Dense Smart Cable
global.AE2_SMART_DENSE_CABLES = [
'ae2:white_smart_dense_cable',
'ae2:orange_smart_dense_cable',
'ae2:magenta_smart_dense_cable',
'ae2:light_blue_smart_dense_cable',
'ae2:yellow_smart_dense_cable',
'ae2:lime_smart_dense_cable',
'ae2:pink_smart_dense_cable',
'ae2:gray_smart_dense_cable',
'ae2:light_gray_smart_dense_cable',
'ae2:cyan_smart_dense_cable',
'ae2:purple_smart_dense_cable',
'ae2:blue_smart_dense_cable',
'ae2:brown_smart_dense_cable',
'ae2:green_smart_dense_cable',
'ae2:red_smart_dense_cable',
'ae2:black_smart_dense_cable',
]
// Paint ball
global.AE2_PAINTBALLS = [
'ae2:white_paint_ball',
'ae2:orange_paint_ball',
'ae2:magenta_paint_ball',
'ae2:light_blue_paint_ball',
'ae2:yellow_paint_ball',
'ae2:lime_paint_ball',
'ae2:pink_paint_ball',
'ae2:gray_paint_ball',
'ae2:light_gray_paint_ball',
'ae2:cyan_paint_ball',
'ae2:purple_paint_ball',
'ae2:blue_paint_ball',
'ae2:brown_paint_ball',
'ae2:green_paint_ball',
'ae2:red_paint_ball',
'ae2:black_paint_ball',
]
// Lumen paint ball
global.AE2_LUMEN_PAINTBALLS = [
'ae2:white_lumen_paint_ball',
'ae2:orange_lumen_paint_ball',
'ae2:magenta_lumen_paint_ball',
'ae2:light_blue_lumen_paint_ball',
'ae2:yellow_lumen_paint_ball',
'ae2:lime_lumen_paint_ball',
'ae2:pink_lumen_paint_ball',
'ae2:gray_lumen_paint_ball',
'ae2:light_gray_lumen_paint_ball',
'ae2:cyan_lumen_paint_ball',
'ae2:purple_lumen_paint_ball',
'ae2:blue_lumen_paint_ball',
'ae2:brown_lumen_paint_ball',
'ae2:green_lumen_paint_ball',
'ae2:red_lumen_paint_ball',
'ae2:black_lumen_paint_ball',
]

View File

@@ -16,4 +16,23 @@ global.GTCEU_DISABLED_ITEMS = [
'gtceu:rubber_log',
'gtceu:rubber_leaves',
'gtceu:rubber_planks'
];
global.GTCEU_LIQUID_DYE = [
'gtceu:white_dye',
'gtceu:orange_dye',
'gtceu:magenta_dye',
'gtceu:light_blue_dye',
'gtceu:yellow_dye',
'gtceu:lime_dye',
'gtceu:pink_dye',
'gtceu:gray_dye',
'gtceu:light_gray_dye',
'gtceu:cyan_dye',
'gtceu:purple_dye',
'gtceu:blue_dye',
'gtceu:brown_dye',
'gtceu:green_dye',
'gtceu:red_dye',
'gtceu:black_dye',
];

View File

@@ -5,15 +5,21 @@ const $SimpleTieredMachine = Java.loadClass('com.gregtechceu.gtceu.api.machine.S
/**
* Событие регистрации предметов.
*/
StartupEvents.registry('item', (event) => {
})
StartupEvents.registry('item', (event) => {})
/**
* Событие регистрации блоков.
*/
StartupEvents.registry('block', (event) => {
})
StartupEvents.registry('block', (event) => {})
/**
* Событие регистрации жидкостей.
*/
StartupEvents.registry('fluid', (event) => {})
/**
* Событие регистрации типов рецептов GTCEu.
*/
GTCEuStartupEvents.registry('gtceu:recipe_type', event => {
event.create('saw_mill')
.category('tfg') // Used in the GTlib / LDlib ui editor
@@ -26,6 +32,9 @@ GTCEuStartupEvents.registry('gtceu:recipe_type', event => {
.setSound(GTSoundEntries.CUT)
})
/**
* Событие регистрации машин GTCEu.
*/
GTCEuStartupEvents.registry('gtceu:machine', event => {
event.create('saw_mill', 'simple', GTValues.LV, GTValues.MV, GTValues.HV, GTValues.EV, GTValues.IV, GTValues.LuV, GTValues.ZPM, GTValues.UV)
.editableUI($SimpleTieredMachine.EDITABLE_UI_CREATOR.apply(new ResourceLocation("gtceu"), GTRecipeTypes.get('saw_mill')))

View File

@@ -331,5 +331,24 @@ global.VANILLA_STONE_TYPES = [
"andesite",
"diorite",
"granite",
"tuff",
"tuff"
];
global.MINECRAFT_FORGE_DYES = [
'#forge:dyes/white',
'#forge:dyes/orange',
'#forge:dyes/magenta',
'#forge:dyes/light_blue',
'#forge:dyes/yellow',
'#forge:dyes/lime',
'#forge:dyes/pink',
'#forge:dyes/gray',
'#forge:dyes/light_gray',
'#forge:dyes/cyan',
'#forge:dyes/purple',
'#forge:dyes/blue',
'#forge:dyes/brown',
'#forge:dyes/green',
'#forge:dyes/red',
'#forge:dyes/black'
];

View File

@@ -1249,6 +1249,25 @@ global.TFC_ORE_MATERIALS = [
"tetrahedrite"
];
global.TFC_LIQUID_DYES = [
'tfc:white_dye',
'tfc:orange_dye',
'tfc:magenta_dye',
'tfc:light_blue_dye',
'tfc:yellow_dye',
'tfc:lime_dye',
'tfc:pink_dye',
'tfc:gray_dye',
'tfc:light_gray_dye',
'tfc:cyan_dye',
'tfc:purple_dye',
'tfc:blue_dye',
'tfc:brown_dye',
'tfc:green_dye',
'tfc:red_dye',
'tfc:black_dye',
];
global.TFC_UNFIRED_MOLDS = [
"tfc:ceramic/unfired_ingot_mold",
"tfc:ceramic/unfired_pickaxe_head_mold",
@@ -1290,4 +1309,4 @@ global.TFC_FIRED_MOLDS = [
global.calcAmountOfMetal = (defaultAmount, percents) => {
const value = defaultAmount / (100 / percents)
return (value % 2 == 0) ? value : Math.round(value) - 1
}
}