Skip to content

Commit

Permalink
Halkonite/Superdense Plate fixes (GTNewHorizons#3081)
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss authored Sep 6, 2024
1 parent a710669 commit 1d464dc
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/main/java/gregtech/api/enums/Materials.java
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,8 @@ private static void initSubTags() {
TengamAttuned,
MaterialsUEVplus.Eternity,
MaterialsUEVplus.MagMatter,
MaterialsUEVplus.Creon,
MaterialsUEVplus.Mellion,
MaterialsUEVplus.HotProtoHalkonite,
MaterialsUEVplus.ProtoHalkonite,
MaterialsUEVplus.HotExoHalkonite,
Expand Down Expand Up @@ -2546,6 +2548,10 @@ private static void disableUnusedHotIngots() {
OrePrefixes.ingotHot.disableComponent(Materials.EnergeticAlloy);
OrePrefixes.ingotHot.disableComponent(Materials.PulsatingIron);
OrePrefixes.ingotHot.disableComponent(Materials.CrudeSteel);
OrePrefixes.ingotHot.disableComponent(MaterialsUEVplus.HotProtoHalkonite);
OrePrefixes.ingotHot.disableComponent(MaterialsUEVplus.ProtoHalkonite);
OrePrefixes.ingotHot.disableComponent(MaterialsUEVplus.HotExoHalkonite);
OrePrefixes.ingotHot.disableComponent(MaterialsUEVplus.ExoHalkonite);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ public MetaGeneratedItem01() {
OrePrefixes.plateQuadruple,
OrePrefixes.plateQuintuple,
OrePrefixes.plateDense,
OrePrefixes.plateSuperdense,
OrePrefixes.stick,
OrePrefixes.lens,
OrePrefixes.round,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ private void protoHalkoniteRecipes() {
this.addProtoHalkonitePartRecipe(OrePrefixes.frameGt, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.ingot, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plate, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plateDouble, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plateDense, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.stick, 2);
this.addProtoHalkonitePartRecipe(OrePrefixes.round, 8);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,26 @@ public void run() {
.eut(TierEU.RECIPE_UIV)
.addTo(compressorRecipes);

GTValues.RA.stdBuilder()
.itemInputs(GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.Creon, 1))
.fluidInputs(MaterialsUEVplus.MoltenProtoHalkoniteBase.getFluid(32 * 144))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.HotProtoHalkonite, 1))
// Require stabilized black hole
.metadata(CompressionTierKey.INSTANCE, 2)
.duration(45 * SECONDS / 4)
.eut(TierEU.RECIPE_UIV)
.addTo(compressorRecipes);

GTValues.RA.stdBuilder()
.itemInputs(GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.Mellion, 1))
.fluidInputs(MaterialsUEVplus.MoltenProtoHalkoniteBase.getFluid(32 * 144))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.plateSuperdense, MaterialsUEVplus.HotProtoHalkonite, 1))
// Require stabilized black hole
.metadata(CompressionTierKey.INSTANCE, 2)
.duration(45 * SECONDS / 4)
.eut(TierEU.RECIPE_UIV)
.addTo(compressorRecipes);

GTValues.RA.stdBuilder()
.itemInputs(WerkstoffLoader.MagnetoResonaticDust.get(OrePrefixes.gem, 9))
.itemOutputs(WerkstoffLoader.MagnetoResonaticDust.get(OrePrefixes.block, 1))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ public void run() {
this.addProtoHalkonitePartRecipe(OrePrefixes.frameGt, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.ingot, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plate, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plateDouble, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.plateDense, 1);
this.addProtoHalkonitePartRecipe(OrePrefixes.stick, 2);
this.addProtoHalkonitePartRecipe(OrePrefixes.round, 8);
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "animation": { "interpolate": false, "frametime": 1 } }
{"animation": {"frametime": 3}}

0 comments on commit 1d464dc

Please sign in to comment.