Fix Incorrect Outputs for Some ABS Recipes (#915)
[BUG] [DETAILS] detail = "Fixes #912" [DETAILS] [IGNORE] checks = { compareBefore = "1.7-beta-5" } [IGNORE]
This commit is contained in:
parent
daee0c4ba0
commit
01b0fdd9bb
@ -3,7 +3,8 @@ import com.nomiceu.nomilabs.util.LabsModeHelper
|
|||||||
import gregtech.api.recipes.RecipeBuilder
|
import gregtech.api.recipes.RecipeBuilder
|
||||||
import gregtech.api.recipes.ingredients.GTRecipeInput
|
import gregtech.api.recipes.ingredients.GTRecipeInput
|
||||||
import gregtech.api.recipes.recipeproperties.TemperatureProperty
|
import gregtech.api.recipes.recipeproperties.TemperatureProperty
|
||||||
import net.minecraftforge.fluids.FluidStack
|
|
||||||
|
import static gregtech.api.GTValues.*
|
||||||
|
|
||||||
// Lumium
|
// Lumium
|
||||||
mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('molten.lumium')])
|
mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('molten.lumium')])
|
||||||
@ -12,6 +13,7 @@ mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('molten.lumium')])
|
|||||||
recipe.inputs(item('extendedcrafting:material', 7) * 2, ore('clathrateGlowstone')) // Luminessence
|
recipe.inputs(item('extendedcrafting:material', 7) * 2, ore('clathrateGlowstone')) // Luminessence
|
||||||
.fluidInputs(fluid('mana') * 1000)
|
.fluidInputs(fluid('mana') * 1000)
|
||||||
}.changeCircuitMeta { meta -> meta + 2 }
|
}.changeCircuitMeta { meta -> meta + 2 }
|
||||||
|
.changeEachFluidOutput { fluid -> fluid * (L * 4) }
|
||||||
.copyProperties(TemperatureProperty.instance)
|
.copyProperties(TemperatureProperty.instance)
|
||||||
.replaceAndRegister()
|
.replaceAndRegister()
|
||||||
}
|
}
|
||||||
@ -23,6 +25,7 @@ mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('molten.signalum')
|
|||||||
recipe.inputs(ore('clathrateRedstone'))
|
recipe.inputs(ore('clathrateRedstone'))
|
||||||
.fluidInputs(fluid('mana') * 1000)
|
.fluidInputs(fluid('mana') * 1000)
|
||||||
}.changeCircuitMeta { meta -> meta + 1 }
|
}.changeCircuitMeta { meta -> meta + 1 }
|
||||||
|
.changeEachFluidOutput { fluid -> fluid * (L * 4) }
|
||||||
.copyProperties(TemperatureProperty.instance)
|
.copyProperties(TemperatureProperty.instance)
|
||||||
.replaceAndRegister()
|
.replaceAndRegister()
|
||||||
}
|
}
|
||||||
@ -34,6 +37,7 @@ mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('molten.enderium')
|
|||||||
recipe.inputs(ore('clathrateEnder'))
|
recipe.inputs(ore('clathrateEnder'))
|
||||||
.fluidInputs(fluid('mana') * 1000)
|
.fluidInputs(fluid('mana') * 1000)
|
||||||
}.changeCircuitMeta { meta -> meta + 1 }
|
}.changeCircuitMeta { meta -> meta + 1 }
|
||||||
|
.changeEachFluidOutput { fluid -> fluid * (L * 4) }
|
||||||
.copyProperties(TemperatureProperty.instance)
|
.copyProperties(TemperatureProperty.instance)
|
||||||
.replaceAndRegister()
|
.replaceAndRegister()
|
||||||
}
|
}
|
||||||
@ -44,6 +48,7 @@ mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('electrum_flux')])
|
|||||||
builder.builder {RecipeBuilder recipe ->
|
builder.builder {RecipeBuilder recipe ->
|
||||||
recipe.inputs(ore('dustMana'))
|
recipe.inputs(ore('dustMana'))
|
||||||
}.changeCircuitMeta { meta -> meta + 1 }
|
}.changeCircuitMeta { meta -> meta + 1 }
|
||||||
|
.changeEachFluidOutput { fluid -> fluid * (L * 9) }
|
||||||
.copyProperties(TemperatureProperty.instance)
|
.copyProperties(TemperatureProperty.instance)
|
||||||
.replaceAndRegister()
|
.replaceAndRegister()
|
||||||
}
|
}
|
||||||
@ -53,10 +58,7 @@ if (LabsModeHelper.normal) {
|
|||||||
mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('red_alloy')])
|
mods.gregtech.alloy_blast_smelter.changeByOutput(null, [fluid('red_alloy')])
|
||||||
.forEach { ChangeRecipeBuilder builder ->
|
.forEach { ChangeRecipeBuilder builder ->
|
||||||
builder.clearCircuitMeta()
|
builder.clearCircuitMeta()
|
||||||
.changeEachFluidOutput { FluidStack fluid ->
|
.changeEachFluidOutput { fluid -> fluid * (L * 2) }
|
||||||
fluid.amount *= 2
|
|
||||||
return fluid
|
|
||||||
}
|
|
||||||
.builder { RecipeBuilder recipe ->
|
.builder { RecipeBuilder recipe ->
|
||||||
recipe.clearInputs()
|
recipe.clearInputs()
|
||||||
.inputs(ore('dustCopper') * 2, item('minecraft:redstone') * 3)
|
.inputs(ore('dustCopper') * 2, item('minecraft:redstone') * 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user