fixed recycling issues from the material rewrite, updated everything to the new recycling helper method

This commit is contained in:
Pyritie 2026-01-18 14:30:55 +00:00
parent ba38ab65d7
commit 7df74b47b3
11 changed files with 126 additions and 202 deletions

View file

@ -7,52 +7,52 @@
function registerGTCEURecyclingRecipes(event) {
// Capacitors
TFGHelpers.registerMaterialInfo('gtceu:tantalum_capacitor', { 'tantalum': 1/9, 'polyethylene': 1/9 })
TFGHelpers.registerMaterialInfo('gtceu:capacitor', { 'polyethylene': 1/9 })
TFGHelpers.registerMaterialInfo('gtceu:tantalum_capacitor', [GTMaterials.Tantalum, 1/9, GTMaterials.Polyethylene, 1/9])
TFGHelpers.registerMaterialInfo('gtceu:capacitor', [GTMaterials.Polyethylene, 1/9])
// Empty batteries
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_i_battery', { 'ultimet': 6 })
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_ii_battery', { 'ruridit': 6 })
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_iii_battery', { 'neutronium': 6 })
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_i_battery', [GTMaterials.Ultimet, 6])
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_ii_battery', [GTMaterials.Ruridit, 6])
TFGHelpers.registerMaterialInfo('gtceu:empty_tier_iii_battery', [GTMaterials.Neutronium, 6])
// Iron Door
TFGHelpers.registerMaterialInfo('minecraft:iron_door', { 'iron': 2 })
TFGHelpers.registerMaterialInfo('minecraft:iron_door', [GTMaterials.Iron, 2])
// #region Hanging Signs
global.TFC_EQUIPMENT_METALS.forEach(metal => {
global.TFC_EQUIPMENT_METALS.forEach(metal => {
// Recycling Hardwood
// Arc Recycling Hardwood
event.recipes.gtceu.arc_furnace(`tfg:arc_recycling/${metal}/hardwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/hardwood`)
.itemOutputs('gtceu:tiny_ash_dust')
.chancedOutput(`#forge:nuggets/${metal}`, 3750, 0)
.duration(12)
.EUt(30)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
// Macerating Hardwood
event.recipes.gtceu.macerator(`tfg:macerating/hanging_sign/'${metal}/hardwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/hardwood`)
.itemOutputs('gtceu:hardwood_dust')
.chancedOutput(`#forge:tiny_dusts/${metal}`, 3750, 0)
.duration(108)
.EUt(8)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
// Arc Recycling Hardwood
event.recipes.gtceu.arc_furnace(`tfg:arc_recycling/${metal}/hardwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/hardwood`)
.itemOutputs('gtceu:tiny_ash_dust')
.chancedOutput(`#forge:nuggets/${metal}`, 3750, 0)
.duration(12)
.EUt(30)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
// Macerating Hardwood
event.recipes.gtceu.macerator(`tfg:macerating/hanging_sign/'${metal}/hardwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/hardwood`)
.itemOutputs('gtceu:hardwood_dust')
.chancedOutput(`#forge:tiny_dusts/${metal}`, 3750, 0)
.duration(108)
.EUt(8)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
// Recycling Softwood
// Arc Recycling Softwood
event.recipes.gtceu.arc_furnace(`tfg:arc_recycling/${metal}/softwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/softwood`)
.itemOutputs('gtceu:tiny_ash_dust')
.chancedOutput(`#forge:nuggets/${metal}`, 3750, 0)
.duration(12)
.EUt(30)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
// Macerating Softwood
event.recipes.gtceu.macerator(`tfg:macerating/hanging_sign/'${metal}/softwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/softwood`)
.itemOutputs('gtceu:wood_dust')
.chancedOutput(`#forge:tiny_dusts/${metal}`, 3750, 0)
.duration(108)
.EUt(8)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
// Arc Recycling Softwood
event.recipes.gtceu.arc_furnace(`tfg:arc_recycling/${metal}/softwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/softwood`)
.itemOutputs('gtceu:tiny_ash_dust')
.chancedOutput(`#forge:nuggets/${metal}`, 3750, 0)
.duration(12)
.EUt(30)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
// Macerating Softwood
event.recipes.gtceu.macerator(`tfg:macerating/hanging_sign/'${metal}/softwood`)
.itemInputs(`#tfg:hanging_sign/${metal}/softwood`)
.itemOutputs('gtceu:wood_dust')
.chancedOutput(`#forge:tiny_dusts/${metal}`, 3750, 0)
.duration(108)
.EUt(8)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
})
// #endregion