merge
This commit is contained in:
commit
263a9dfab7
29 changed files with 1140 additions and 414 deletions
|
|
@ -728,7 +728,7 @@ function registerGTCEuMachineRecipes(event) {
|
|||
], {
|
||||
A: '#gtceu:circuits/mv',
|
||||
B: 'gtceu:copper_single_cable',
|
||||
C: '#gtceu:circuits/mv',
|
||||
C: 'tfc:compost',
|
||||
D: 'gtceu:solid_machine_casing'
|
||||
}).id('tfg:shaped/greenhouse')
|
||||
|
||||
|
|
|
|||
|
|
@ -834,11 +834,16 @@ function registerGTCEUMetalRecipes(event) {
|
|||
|
||||
const processBars = (material) => {
|
||||
const barsStack = ChemicalHelper.get(TFGTagPrefix.bars, material, 4)
|
||||
const ingotStack = ChemicalHelper.get(TagPrefix.ingot, material, 1)
|
||||
if (barsStack == null)
|
||||
return;
|
||||
|
||||
event.stonecutting(barsStack, ChemicalHelper.get(TagPrefix.ingot, material, 1))
|
||||
.id(`${material.getName()}_ingot_to_bars`)
|
||||
event.recipes.gtceu.cutter(`tfg:${material.getName()}_bars`)
|
||||
.itemInputs(ingotStack)
|
||||
.itemOutputs(barsStack)
|
||||
.duration(100)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
.circuit(1)
|
||||
}
|
||||
|
||||
forEachMaterial(material => {
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ const generateCutterRecipe = (event, input, output, duration, EUt, id) => {
|
|||
.EUt(EUt)
|
||||
}
|
||||
|
||||
const generateGreenHouseRecipe = (event, input, fluid_amount, output, id) => {
|
||||
const generateGreenHouseRecipe = (event, input, fluid_amount, output, id, overworldExclusive) => {
|
||||
|
||||
// Без удобрения
|
||||
event.recipes.gtceu.greenhouse(id)
|
||||
let r = event.recipes.gtceu.greenhouse(id)
|
||||
.itemInputs(input)
|
||||
.circuit(1)
|
||||
.inputFluids(Fluid.of('minecraft:water', fluid_amount))
|
||||
|
|
@ -35,10 +35,12 @@ const generateGreenHouseRecipe = (event, input, fluid_amount, output, id) => {
|
|||
.chancedOutput(input, 5000, 0)
|
||||
.duration(36000) // 30 mins
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
.dimension('minecraft:overworld')
|
||||
|
||||
if (overworldExclusive)
|
||||
r.dimension('minecraft:overworld')
|
||||
|
||||
// С удобрением
|
||||
event.recipes.gtceu.greenhouse(`${id}_fertilized`)
|
||||
r = event.recipes.gtceu.greenhouse(`${id}_fertilized`)
|
||||
.itemInputs(input)
|
||||
.itemInputs('8x gtceu:fertilizer')
|
||||
.circuit(2)
|
||||
|
|
@ -48,7 +50,9 @@ const generateGreenHouseRecipe = (event, input, fluid_amount, output, id) => {
|
|||
.chancedOutput(input, 6000, 0)
|
||||
.duration(12000) // 10 mins
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
.dimension('minecraft:overworld')
|
||||
|
||||
if (overworldExclusive)
|
||||
r.dimension('minecraft:overworld')
|
||||
}
|
||||
|
||||
const getFillingNBT = (material, amount) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue