Фабрики рецептов и правки
This commit is contained in:
parent
46deeeb800
commit
b42d195aad
4 changed files with 117 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
|||
const customWelding = (event,[input1,input2],result,tier) => {
|
||||
event.custom({
|
||||
type: "tfc:welding",
|
||||
first_input: {
|
||||
tag: input1
|
||||
},
|
||||
second_input: {
|
||||
tag: input2
|
||||
},
|
||||
result: {
|
||||
item: result
|
||||
},
|
||||
tier: tier,
|
||||
})
|
||||
}
|
||||
115
kubejs/server_scripts/create/newFluids.js
Normal file
115
kubejs/server_scripts/create/newFluids.js
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
|
||||
const newCreateFluids = (event) => {
|
||||
event.create('solder')
|
||||
.stillTexture('tfc:block/molten_still')
|
||||
.flowingTexture('tfc:block/molten_flow')
|
||||
//.color(0x8393A6)
|
||||
.color(0x8388A6)
|
||||
.displayName(`Solder`)
|
||||
.noBlock()
|
||||
|
||||
event.create('incandescent_oil')
|
||||
.stillTexture('kubejs:block/incandescent_oil_still')
|
||||
.flowingTexture('kubejs:block/incandescent_oil_flow')
|
||||
.color(0x6A7536)
|
||||
.displayName('Incandescent Oil')
|
||||
.noBlock()
|
||||
|
||||
event.create('potion_beer')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xC39E36)
|
||||
.displayName('Formulated Beer')
|
||||
.noBlock()
|
||||
event.create('potion_cider')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xB0AE31)
|
||||
.displayName('Formulated Cider')
|
||||
.noBlock()
|
||||
event.create('potion_rum')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0x6E0122)
|
||||
.displayName('Formulated Rum')
|
||||
.noBlock()
|
||||
event.create('potion_sake')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xB7D9BB)
|
||||
.displayName('Formulated Sake')
|
||||
.noBlock()
|
||||
event.create('potion_vodka')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xDCDCDB)
|
||||
.displayName('Formulated Vodka')
|
||||
.noBlock()
|
||||
event.create('potion_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0x583718)
|
||||
.displayName('Formulated Whiskey')
|
||||
.noBlock()
|
||||
event.create('potion_corn_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xD9C7B6)
|
||||
.displayName('Formulated Corn Whiskey')
|
||||
.noBlock()
|
||||
event.create('potion_rye_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xC77D50)
|
||||
.displayName('Formulated Rye Whiskey')
|
||||
.noBlock()
|
||||
|
||||
event.create('potion_strong_beer')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xC39E36)
|
||||
.displayName('Alchemical Beer')
|
||||
.noBlock()
|
||||
event.create('potion_strong_cider')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xB0AE31)
|
||||
.displayName('Alchemical Cider')
|
||||
.noBlock()
|
||||
event.create('potion_strong_rum')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0x6E0122)
|
||||
.displayName('Alchemical Rum')
|
||||
.noBlock()
|
||||
event.create('potion_strong_sake')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xB7D9BB)
|
||||
.displayName('Alchemical Sake')
|
||||
.noBlock()
|
||||
event.create('potion_strong_vodka')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xDCDCDB)
|
||||
.displayName('Alchemical Vodka')
|
||||
.noBlock()
|
||||
event.create('potion_strong_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0x583718)
|
||||
.displayName('Alchemical Whiskey')
|
||||
.noBlock()
|
||||
event.create('potion_strong_corn_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xD9C7B6)
|
||||
.displayName('Alchemical Corn Whiskey')
|
||||
.noBlock()
|
||||
event.create('potion_strong_rye_whiskey')
|
||||
.stillTexture('minecraft:block/water_still')
|
||||
.flowingTexture('minecraft:block/water_flow')
|
||||
.color(0xC77D50)
|
||||
.displayName('Alchemical Rye Whiskey')
|
||||
.noBlock()
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
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,"kubejs:galvanized_iron",["tfc:metal/wrought_iron",144],1400 );
|
||||
}
|
||||
|
|
@ -2,4 +2,5 @@
|
|||
StartupEvents.registry('item', event =>
|
||||
{
|
||||
newCreateItems(event);
|
||||
newCreateFluids(event);
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue