he ro ta
This commit is contained in:
parent
7f8e06de8c
commit
969e554c9d
31 changed files with 569 additions and 26 deletions
|
|
@ -3,6 +3,7 @@ const newItemsCreate = (event) => {
|
|||
customWelding(event,["forge:ingots/iron","forge:plates/zinc"],"kubejs:galvanized_iron",3);
|
||||
customWelding(event,["forge:ingots/wrought_iron","forge:plates/zinc"],"kubejs:galvanized_iron",3);
|
||||
customHeating(event,"forge:ingots/galvanized_iron",["tfc:metal/wrought_iron",144],1400);
|
||||
//customHeatLevel(event,"forge:ingots/galvanized_iron", 5.714, 921, 1228);
|
||||
|
||||
//shaft craft
|
||||
customAnvil(event,"forge:ingots/galvanized_iron",["create:shaft",4],3,["hit_last","hit_second_last","hit_third_last"]);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
const removeReworkedRecipes = (event) => {
|
||||
event.remove({ mod: 'create' });
|
||||
event.remove({ mod: 'extendedcrafting' });
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
const customWelding = (event,[input1,input2],result,tier) => {
|
||||
const customWelding = (event, [input1, input2], result, tier) => {
|
||||
event.custom({
|
||||
type: "tfc:welding",
|
||||
first_input: {
|
||||
|
|
@ -14,35 +14,48 @@ const customWelding = (event,[input1,input2],result,tier) => {
|
|||
})
|
||||
}
|
||||
|
||||
const customHeating = (event,input1,[result,amount],temperature) => {
|
||||
const customHeating = (event, input1, [result, amount], temperature) => {
|
||||
event.custom({
|
||||
type: "tfc:heating",
|
||||
ingredient: {
|
||||
tag: input1
|
||||
tag: input1
|
||||
},
|
||||
result_fluid: {
|
||||
fluid: result,
|
||||
amount: amount
|
||||
fluid: result,
|
||||
amount: amount
|
||||
},
|
||||
temperature: temperature
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
const customAnvil = (event,input1,[result,count],tier,[firstRule,secondRule,thirdRule]) => {
|
||||
const customAnvil = (event, input1, [result, count], tier, [firstRule, secondRule, thirdRule]) => {
|
||||
event.custom({
|
||||
type: "tfc:anvil",
|
||||
input: {
|
||||
tag: input1
|
||||
tag: input1
|
||||
},
|
||||
result: {
|
||||
item: result,
|
||||
count: count
|
||||
item: result,
|
||||
count: count
|
||||
},
|
||||
tier: tier,
|
||||
rules: [
|
||||
firstRule,
|
||||
secondRule,
|
||||
thirdRule
|
||||
firstRule,
|
||||
secondRule,
|
||||
thirdRule
|
||||
]
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// Кастомная температура плавления
|
||||
|
||||
const customHeatLevel = (event, input1, heat_capacity, forging_temperature, welding_temperature) => {
|
||||
event.custom({
|
||||
ingredient: {
|
||||
item: input1
|
||||
},
|
||||
heat_capacity: heat_capacity,
|
||||
forging_temperature: forging_temperature,
|
||||
welding_temperature: welding_temperature
|
||||
})
|
||||
}
|
||||
16
kubejs/server_scripts/tfc/recipes.js
Normal file
16
kubejs/server_scripts/tfc/recipes.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// priority: 0
|
||||
|
||||
const registerTFCRecipes = (event) => {
|
||||
/*
|
||||
event.custom({
|
||||
type: 'farmersdelight:cutting',
|
||||
ingredients: [
|
||||
{ item: 'minecraft:cake' }
|
||||
],
|
||||
tool: { tag: 'forge:tools/knives' },
|
||||
result: [
|
||||
{ item: 'farmersdelight:cake_slice', count: 7 }
|
||||
]
|
||||
})*/
|
||||
|
||||
}
|
||||
1
kubejs/server_scripts/tfc/utility.js
Normal file
1
kubejs/server_scripts/tfc/utility.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
// priority: 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue