This commit is contained in:
Pyritie 2025-06-24 14:54:53 +01:00
parent 8ee2c6a817
commit 172886f0f0
2 changed files with 10 additions and 1 deletions

View file

@ -31,7 +31,7 @@
itemDamageTimeInterval = 60
#Durability for wooden tongs.
#Range: > 0
woodenTongsDurability = 250
woodenTongsDurability = 100
#Durability for potholders.
#Range: > 0
potholderDurability = 600

View file

@ -1114,6 +1114,15 @@ function registerTFCMaterialsRecipes(event) {
let tongPartStack = Item.of(`tfchotornot:tong_part/${material.getName()}`)
if (!tongsStack.isEmpty() && !tongPartStack.isEmpty()) {
event.shaped(tongsStack, [
'AA',
'BC'
], {
A: tongPartStack,
B: '#forge:bolts',
C: '#forge:tools/hammers'
}).id(`tfchotornot:crafting/tongs/${material.getName()}`)
// Ручка щипцов
event.recipes.tfc.heating(tongPartStack, tfcProperty.getMeltTemp())
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))