Skip to content

Commit

Permalink
Merge branch 'master' into compressor-tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss authored Jan 3, 2025
2 parents 10ba6ed + b2c7982 commit e2b332c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/main/java/gregtech/common/GTProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -1627,8 +1627,9 @@ public void registerOre(OreDictionary.OreRegisterEvent aEvent) {
try {
aEvent.Ore.stackSize = 1;

// skipping TinkerConstruct ore registration
if (this.mIgnoreTcon && aOriginalMod.equals(TinkerConstruct.ID)) {
// skipping TinkerConstruct ore registration except for blocks
if (this.mIgnoreTcon && aOriginalMod.equals(TinkerConstruct.ID)
&& !(aEvent.Ore.getItem() instanceof ItemBlock)) {
return;
}
String tModToName = aMod + " -> " + aEvent.Name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public class WerkstoffMaterialPool implements Runnable {
public static final Werkstoff NitratedRareEarthMonaziteConcentrate = new Werkstoff(
new short[] { 250, 223, 173 },
"Nitrogenated Monazite Rare Earth Concentrate",
subscriptNumbers("??LaNd??"),
subscriptNumbers("????"),
new Werkstoff.Stats(),
Werkstoff.Types.MIXTURE,
new Werkstoff.GenerationFeatures().disable()
Expand All @@ -236,7 +236,7 @@ public class WerkstoffMaterialPool implements Runnable {
public static final Werkstoff NitricMonaziteLeachedConcentrate = new Werkstoff(
new short[] { 244, 202, 22 },
"Nitric Monazite Leached Concentrate",
subscriptNumbers("??LaNd??"),
subscriptNumbers("????"),
new Werkstoff.Stats(),
Werkstoff.Types.MIXTURE,
new Werkstoff.GenerationFeatures().disable()
Expand Down Expand Up @@ -416,7 +416,7 @@ public class WerkstoffMaterialPool implements Runnable {
public static final Werkstoff SamaricResidue = new Werkstoff(
new short[] { 248, 243, 231 },
"Samaric Residue",
subscriptNumbers("??SmGd??"),
subscriptNumbers("Sm2Gd"),
new Werkstoff.Stats(),
Werkstoff.Types.MIXTURE,
new Werkstoff.GenerationFeatures().disable()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ protected CheckRecipeResult checkProcessing_EM() {
return SimpleCheckRecipeResult.ofFailure("no_computing");
}
if (overclock.getStatus(true).isOk && overvolt.getStatus(true).isOk) {
float eut = V[7] * (float) overClockRatio * (float) overVoltageRatio;
float eut = Math.max(V[6], V[7] * (float) overClockRatio * (float) overVoltageRatio);
if (eut < Integer.MAX_VALUE - 7) {
mEUt = -(int) eut;
} else {
Expand Down

0 comments on commit e2b332c

Please sign in to comment.