some cleanup, fixed small gears not melting

This commit is contained in:
Pyritie 2025-12-19 23:55:29 +00:00
parent 44466752e4
commit 5e330e2d1f
4 changed files with 10 additions and 13 deletions

View file

@ -13,7 +13,7 @@ const registerTFCRecipes = (event) => {
registerTFCDyeRecipes(event)
// Добавление рецептов
TFC_QUERN_POWDER_RECIPE_COMPONENTS = /** @type {const} */ ([
const TFC_QUERN_POWDER_RECIPE_COMPONENTS = /** @type {const} */ ([
{ input: "#forge:dusts/coke", output: "4x tfc:powder/coke", name: "coke_powder" },
{ input: "#forge:dusts/amethyst", output: "4x tfc:powder/amethyst", name: "amethyst_powder" },
{ input: "#forge:dusts/diamond", output: "4x tfc:powder/diamond", name: "diamond_powder" },

View file

@ -621,7 +621,7 @@ function registerTFCMaterialsRecipes(event) {
let nuggetItem = ChemicalHelper.get(TagPrefix.nugget, material, 9)
if (!nuggetItem.isEmpty()) {
event.recipes.tfc.heating(`#forge:nuggets/${material.getName()}`, tfcProperty.getMeltTemp())
event.recipes.tfc.heating(nuggetItem, tfcProperty.getMeltTemp())
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144/9))
.id(`tfc:heating/metal/${material.getName()}_nugget`)
@ -640,18 +640,16 @@ function registerTFCMaterialsRecipes(event) {
let smallGearItem = ChemicalHelper.get(TagPrefix.gearSmall, material, 1)
if (!smallGearItem.isEmpty()) {
if (tfcProperty.getMeltTemp() <= 1540) {
event.recipes.tfc.heating(`gtceu:small_${material.getName()}_gear`, tfcProperty.getMeltTemp())
.resultFluid(Fluid.of(outputMaterial, 144))
event.recipes.tfc.heating(smallGearItem, tfcProperty.getMeltTemp())
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
.id(`tfc:heating/small_${material.getName()}_gear`)
}
event.recipes.tfc.anvil(`gtceu:small_${material.getName()}_gear`, `#forge:ingots/${material.getName()}`, ['hit_last', 'shrink_second_last', 'draw_third_last'])
event.recipes.tfc.anvil(smallGearItem, `#forge:ingots/${material.getName()}`, ['hit_last', 'shrink_second_last', 'draw_third_last'])
.tier(tfcProperty.getTier())
.id(`tfc:anvil/small_${material.getName()}_gear`)
if (material.hasFlag(TFGMaterialFlags.CAN_BE_UNMOLDED)) {
event.recipes.tfc.casting(smallGearItem.withCount(1), 'tfg:small_gear_mold', Fluid.of(outputMaterial.getFluid(), 144), 0.05)
event.recipes.tfc.casting(smallGearItem, 'tfg:small_gear_mold', Fluid.of(outputMaterial.getFluid(), 144), 0.05)
.id(`tfc:casting/small_${material.getName()}_gear`)
}
}

View file

@ -31,7 +31,7 @@ function registerTFGQuartzRecipes(event) {
.duration(20)
.EUt(30)
TFC_BATCH_TO_BOTTLE_ASSEMBLING_RECIPE_COMPONENTS = /** @type {const} */ ([
const TFC_BATCH_TO_BOTTLE_ASSEMBLING_RECIPE_COMPONENTS = /** @type {const} */ ([
{ input: "tfc:silica_glass_batch", output: "tfc:silica_glass_bottle", name: "silica_glass_bottle" },
{ input: "tfc:hematitic_glass_batch", output: "tfc:hematitic_glass_bottle", name: "hematitic_glass_bottle" },
{ input: "tfc:olivine_glass_batch", output: "tfc:olivine_glass_bottle", name: "olivine_glass_bottle" },

View file

@ -14,7 +14,7 @@ function registerTFGClayRecipes(event) {
event.shapeless('4x minecraft:clay_ball', ['minecraft:clay'])
.id('tfg:shapeless/clay_block_to_balls')
TFC_FURNACE_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
const TFC_FURNACE_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
{ input: "tfc:ceramic/unfired_ingot_mold", output: "tfc:ceramic/ingot_mold", name: "ingot_mold" },
{ input: "tfc:ceramic/unfired_pickaxe_head_mold", output: "tfc:ceramic/pickaxe_head_mold", name: "pickaxe_head_mold" },
{ input: "tfc:ceramic/unfired_propick_head_mold", output: "tfc:ceramic/propick_head_mold", name: "propick_head_mold" },
@ -49,7 +49,6 @@ function registerTFGClayRecipes(event) {
{ input: "firmalife:oven_chimney", output: "firmalife:cured_oven_chimney", name: "oven_chimney" },
{ input: "firmalife:oven_bottom", output: "firmalife:cured_oven_bottom", name: "oven_bottom" },
{ input: "firmalife:oven_hopper", output: "firmalife:cured_oven_hopper", name: "oven_hopper" },
{ input: "firmalife:oven_hopper", output: "firmalife:cured_oven_hopper", name: "oven_hopper" },
{ input: "tfg:unfired_rod_mold", output: "tfg:rod_mold", name: "rod_mold" },
{ input: "tfg:unfired_small_gear_mold", output: "tfg:small_gear_mold", name: "small_gear_mold" },
{ input: "tfg:unfired_nugget_mold", output: "tfg:nugget_mold", name: "nugget_mold" }
@ -68,7 +67,7 @@ function registerTFGClayRecipes(event) {
.id(`tfg:smelting/${dye}_large_vessel`)
})
TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
const TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
{ input: "5x minecraft:clay_ball", output: "2x tfc:ceramic/unfired_flower_pot", name: "flower_pot" },
{ input: "5x minecraft:clay_ball", output: "4x tfc:ceramic/unfired_bowl", name: "bowl" },
{ input: "5x minecraft:clay_ball", output: "10x rnr:unfired_roof_tile", name: "roof_tile" },
@ -88,7 +87,7 @@ function registerTFGClayRecipes(event) {
.EUt(2)
}
TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
const TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
{ input: "5x tfc:fire_clay", output: "tfc:ceramic/unfired_crucible", name: "crucible" }
]);