фиксы

This commit is contained in:
Dmitry 2023-12-31 19:30:56 +07:00
parent a162d4aa51
commit 1645ee2a72
2 changed files with 23 additions and 13 deletions

View file

@ -89,6 +89,7 @@ const registerCreateRecipes = (event) => {
{ id: 'create:crafting/kinetics/green_seat' },
{ id: 'create:crafting/kinetics/red_seat' },
{ id: 'create:crafting/kinetics/black_seat' },
{ id: 'create:compat/ae2/mixing/fluix_crystal' },
], mod: 'create' })
// Пушка для постройки схематик

View file

@ -1091,27 +1091,49 @@ const registerGTCEURecipes = (event) => {
GTRegistries.MATERIALS.forEach(material => {
if (material.hasProperty(PropertyKey.ORE))
{
// Сырая руда -> Дробленная руда + Дробленная руда (30%)
event.recipes.createCrushing([`gtceu:${material}_crushed_ore`, Item.of(`gtceu:${material}_crushed_ore`).withChance(0.3)], `#forge:raw_materials/${material}`)
.processingTime(200)
.id(`tfg:crushing/${material}_crushed_ore`)
// Грязная пыль -> Пыль (90%)
event.recipes.createSplashing(Item.of(`gtceu:${material}_dust`).withChance(0.9), `gtceu:${material}_impure_dust`)
.id(`tfg:splashing/${material}_dust`)
// Грязная пыль -> Пыль
event.custom({
type: "ae2:transform",
circumstance: {
type: "fluid",
tag: "minecraft:water"
},
ingredients: [
{
item: `gtceu:${material}_impure_dust`
}
],
result: {
item: `gtceu:${material}_dust`
}
}).id(`tfg:ae_transform/${material}_dust`)
}
if (material.hasFlag($MaterialFlags.GENERATE_PLATE) && material != 'wood')
{
if (material.hasProperty(PropertyKey.INGOT))
{
// Слиток -> Стержень
event.recipes.createPressing(Item.of(`gtceu:${material}_plate`).withChance(0.97), `#forge:ingots/${material}`)
.id(`tfg:pressing/${material}_plate`)
// 9х Слиток -> Блок
event.recipes.createCompacting(Item.of(`#forge:storage_blocks/${material}`), `9x #forge:ingots/${material}`)
.heated()
.id(`tfg:compacting/${material}_block`)
}
else
{
// Блок из гемов -> 9 Пластин
event.recipes.createCutting(Item.of(`9x gtceu:${material}_plate`).withChance(0.65), `#forge:storage_blocks/${material}`)
.id(`tfg:cutting/${material}_plate`)
}
@ -1133,19 +1155,6 @@ const registerGTCEURecipes = (event) => {
}
}).id(`tfg:rolling/${material}_rod`)
}
else
{
event.custom({
type: "createaddition:rolling",
input: {
'tag': `forge:gems/${material}`
},
result: {
'item': `gtceu:${material}_rod`,
'count': 2
}
}).id(`tfg:rolling/${material}_rod`)
}
}
});