Skip to content

Commit

Permalink
Add Antimatter recipes (#998)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
S4mpsa and Dream-Master authored Sep 13, 2024
1 parent 01abf3e commit 0754042
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Add your dependencies here

dependencies {
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.94:dev")
api("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.96:dev")
api("com.github.GTNewHorizons:Yamcl:0.6.0:dev")
api("com.github.GTNewHorizons:Baubles:1.0.4:dev")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import gregtech.api.util.GTModHandler;
import gregtech.api.util.GTOreDictUnificator;
import gregtech.api.util.GTUtility;
import gtPlusPlus.core.block.ModBlocks;
import gtPlusPlus.core.material.MaterialsAlloy;
import gtPlusPlus.core.material.MaterialsElements;
import gtPlusPlus.core.material.Particle;
Expand Down Expand Up @@ -1623,5 +1624,169 @@ public void run() {
ItemList.WormholeGenerator.get(1L),
60 * SECONDS,
(int) TierEU.RECIPE_UEV);

// Antimatter Forge
TTRecipeAdder.addResearchableAssemblylineRecipe(
ItemRefer.Naquadah_Fuel_Refinery.get(1),
512000,
2048,
8000000,
64,
new Object[] { ItemRefer.Compact_Fusion_MK5.get(1),
GTOreDictUnificator.get(OrePrefixes.frameGt, MaterialsUEVplus.ProtoHalkonite, 16),
GregtechItemList.CosmicFabricManipulator.get(16), ItemRefer.Field_Restriction_Coil_T3.get(16),
MaterialsElements.STANDALONE.HYPOGEN.getFineWire(64),
GTOreDictUnificator.get(OrePrefixes.wireFine, MaterialsUEVplus.ProtoHalkonite, 64),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 16),
ItemList.Electric_Pump_UIV.get(16),
GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.plateDense, MaterialsUEVplus.TranscendentMetal, 64) },
new FluidStack[] { MaterialsUEVplus.Protomatter.getFluid(10000),
MaterialsUEVplus.SixPhasedCopper.getMolten(9216),
MaterialsUEVplus.TranscendentMetal.getMolten(9216),
MaterialsUEVplus.DimensionallyShiftedSuperfluid.getFluid(10000) },
ItemRefer.AntimatterForge.get(1),
1800 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Antimatter Generator
TTRecipeAdder.addResearchableAssemblylineRecipe(
ItemRefer.Large_Naquadah_Reactor.get(1),
512000,
2048,
8000000,
64,
new Object[] { ItemList.WormholeGenerator.get(1),
tectech.thing.CustomItemList.eM_dynamoTunnel7_UIV.get(4),
ItemRefer.ProtomatterActivationCoil.get(16),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 16), ItemList.Emitter_UIV.get(32),
GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.rotor, MaterialsUEVplus.ProtoHalkonite, 16),
GTOreDictUnificator.get(OrePrefixes.wireGt16, Materials.SuperconductorUIV, 64),
MaterialsElements.STANDALONE.HYPOGEN.getFineWire(64),
MaterialsElements.STANDALONE.HYPOGEN.getFineWire(64),
MaterialsElements.STANDALONE.HYPOGEN.getFineWire(64) },
new FluidStack[] { MaterialsUEVplus.Antimatter.getFluid(1000),
MaterialsUEVplus.SixPhasedCopper.getMolten(9216),
MaterialsUEVplus.TranscendentMetal.getMolten(9216),
Materials.SuperconductorUMVBase.getMolten(9216) },
ItemRefer.AntimatterGenerator.get(1),
1800 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Antimatter Hatch
TTRecipeAdder.addResearchableAssemblylineRecipe(
ItemList.Hatch_Output_UIV.get(1),
256000,
1024,
4000000,
64,
new Object[] { ItemList.Hatch_Output_UIV.get(1), ItemList.Field_Generator_UEV.get(4),
GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.ProtoHalkonite, 1),
ItemList.Electric_Pump_UIV.get(4), ItemList.Electromagnet_Tengam.get(1),
GTOreDictUnificator.get(OrePrefixes.foil, MaterialsUEVplus.ProtoHalkonite, 32) },
new FluidStack[] { Materials.RadoxPolymer.getMolten(1296), MaterialsUEVplus.Protomatter.getFluid(250),
MaterialsUEVplus.DimensionallyShiftedSuperfluid.getFluid(1000) },
goodgenerator.loader.Loaders.AMHatch,
300 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Antimatter Containment Casing
TTRecipeAdder.addResearchableAssemblylineRecipe(
new ItemStack(GregTechAPI.sBlockGlass1, 1, 3),
128000,
1024,
2000000,
32,
new Object[] { new ItemStack(GregTechAPI.sBlockGlass1, 4, 3),
GTOreDictUnificator.get(OrePrefixes.stickLong, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.stickLong, MaterialsUEVplus.TranscendentMetal, 12),
ItemList.Emitter_UIV.get(4),
GTOreDictUnificator.get(OrePrefixes.wireGt04, Materials.SuperconductorUIV, 16), },
new FluidStack[] { Materials.RadoxPolymer.getMolten(16),
MaterialsUEVplus.TranscendentMetal.getMolten(2304) },
ItemRefer.AntimatterContainmentCasing.get(4),
60 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Gravity Stabilization Casing
TTRecipeAdder.addResearchableAssemblylineRecipe(
new ItemStack(GregTechAPI.sBlockCasings10, 1, 8),
128000,
1024,
2000000,
32,
new Object[] { new ItemStack(GregTechAPI.sBlockCasings10, 4, 8), ItemList.Emitter_UIV.get(2),
GregtechItemList.Battery_Gem_4.get(1), // Graviton Anomaly
GTOreDictUnificator.get(OrePrefixes.plate, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.gearGt, MaterialsUEVplus.ProtoHalkonite, 1),
ItemList.Gravistar.get(4), GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 1),
GTOreDictUnificator.get(OrePrefixes.wireGt04, Materials.SuperconductorUIV, 16), },
new FluidStack[] { new FluidStack(FluidRegistry.getFluid("molten.chromaticglass"), 9216),
MaterialsUEVplus.DimensionallyShiftedSuperfluid.getFluid(2304) },
ItemRefer.GravityStabilizationCasing.get(4),
60 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Magnetic Flux Casing
TTRecipeAdder.addResearchableAssemblylineRecipe(
GTOreDictUnificator.get(OrePrefixes.frameGt, MaterialsUEVplus.ProtoHalkonite, 1),
128000,
1024,
2000000,
32,
new Object[] { GTOreDictUnificator.get(OrePrefixes.frameGt, MaterialsUEVplus.ProtoHalkonite, 4),
ItemList.Sensor_UIV.get(2), ItemList.Electromagnet_Tengam.get(1),
GTOreDictUnificator.get(OrePrefixes.plateDense, MaterialsUEVplus.ProtoHalkonite, 1),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 1),
GTOreDictUnificator.get(OrePrefixes.itemCasing, MaterialsUEVplus.TranscendentMetal, 16),
GTOreDictUnificator.get(OrePrefixes.wireGt04, Materials.SuperconductorUIV, 16), },
new FluidStack[] { Materials.TengamPurified.getMolten(9216),
MaterialsUEVplus.TranscendentMetal.getMolten(2304), Materials.SuperCoolant.getFluid(10000) },
ItemRefer.MagneticFluxCasing.get(4),
60 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Protomatter Activation Coil
TTRecipeAdder.addResearchableAssemblylineRecipe(
new ItemStack(ModBlocks.blockCasingsMisc, 1, 8),
128000,
1024,
2000000,
32,
new Object[] { ItemRefer.Field_Restriction_Coil_T3.get(1), ItemList.Electric_Pump_UIV.get(2),
GTOreDictUnificator.get(OrePrefixes.wireGt16, Materials.SuperconductorUIV, 8),
GTOreDictUnificator.get(OrePrefixes.plateSuperdense, Materials.Infinity, 1),
GTOreDictUnificator.get(OrePrefixes.rotor, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 1),
ItemList.Field_Generator_UEV.get(4) },
new FluidStack[] { MaterialsUEVplus.Protomatter.getFluid(100),
MaterialsUEVplus.TranscendentMetal.getMolten(2304),
MaterialsUEVplus.DimensionallyShiftedSuperfluid.getFluid(1000) },
ItemRefer.ProtomatterActivationCoil.get(4),
60 * SECONDS,
(int) TierEU.RECIPE_UIV);

// Antimatter Annihilation Matrix
TTRecipeAdder.addResearchableAssemblylineRecipe(
MaterialsUEVplus.Antimatter.getCells(1),
256000,
2048,
8000000,
32,
new Object[] { ItemRefer.ProtomatterActivationCoil.get(1),
MaterialsElements.STANDALONE.HYPOGEN.getFoil(64), ItemList.Emitter_UIV.get(2),
GTOreDictUnificator.get(OrePrefixes.circuit, Materials.UIV, 1),
GTOreDictUnificator.get(OrePrefixes.frameGt, MaterialsUEVplus.ProtoHalkonite, 4),
GTOreDictUnificator.get(OrePrefixes.wireGt16, Materials.SuperconductorUIV, 8),
ItemList.Sensor_UIV.get(2),
GTOreDictUnificator.get(OrePrefixes.rotor, MaterialsUEVplus.ProtoHalkonite, 4), },
new FluidStack[] { MaterialsUEVplus.Antimatter.getFluid(4),
MaterialsElements.STANDALONE.HYPOGEN.getFluidStack(1440),
MaterialsUEVplus.DimensionallyShiftedSuperfluid.getFluid(1000) },
ItemRefer.AntimatterAnnihilationMatrix.get(4),
60 * SECONDS,
(int) TierEU.RECIPE_UIV);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,26 @@ public void run() {
.itemOutputs(ItemList.Circuit_Wafer_NPIC.get(32)).requiresCleanRoom().duration(60 * 20)
.eut(TierEU.RECIPE_UV).addTo(WaferEngravingRecipes);

// Protomatter recipes
GTValues.RA.stdBuilder().fluidInputs(MaterialsUEVplus.DimensionallyTranscendentResidue.getFluid(100L))
.duration(10 * SECONDS).eut(TierEU.RECIPE_UIV).fluidOutputs(MaterialsUEVplus.Protomatter.getFluid(100L))
.requiresCleanRoom().noOptimize().addTo(laserEngraverRecipes);

GTValues.RA.stdBuilder().fluidInputs(MaterialsUEVplus.SpaceTime.getMolten(100L)).duration(10 * SECONDS)
.eut(TierEU.RECIPE_UMV).fluidOutputs(MaterialsUEVplus.Protomatter.getFluid(1000L)).requiresCleanRoom()
.noOptimize().addTo(laserEngraverRecipes);

GTValues.RA.stdBuilder().fluidInputs(MaterialsUEVplus.PrimordialMatter.getFluid(100L)).duration(10 * SECONDS)
.eut(TierEU.RECIPE_UXV).fluidOutputs(MaterialsUEVplus.Protomatter.getFluid(10000L)).requiresCleanRoom()
.noOptimize().addTo(laserEngraverRecipes);

// Bootstrap antimatter recipe
GTValues.RA.stdBuilder()
.itemInputs(GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.HotProtoHalkonite, 1))
.fluidInputs(MaterialsUEVplus.Protomatter.getFluid(100L)).duration(10000 * SECONDS)
.eut(TierEU.RECIPE_UIV).fluidOutputs(MaterialsUEVplus.Antimatter.getFluid(1L)).requiresCleanRoom()
.addTo(laserEngraverRecipes);

if (OpenComputers.isModLoaded()) {
// floppys w NBT
makeFloppy("OpenOS (Operating System)", "openos", 2, 1);
Expand Down

0 comments on commit 0754042

Please sign in to comment.