diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2023-12-09 16:15:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 17:15:14 +0100 |
commit | 1f1ce2d996095fc4e5b259c0c7f64874e2e4686e (patch) | |
tree | 8dbbb2bf8d6706cdb2cec96c5565c737e04547ca /src/main/java/gtPlusPlus/xmod/gregtech | |
parent | c2b50ac86fd775ecd4375de8cc0ed35b73836866 (diff) | |
download | GT5-Unofficial-1f1ce2d996095fc4e5b259c0c7f64874e2e4686e.tar.gz GT5-Unofficial-1f1ce2d996095fc4e5b259c0c7f64874e2e4686e.tar.bz2 GT5-Unofficial-1f1ce2d996095fc4e5b259c0c7f64874e2e4686e.zip |
Fixes for overflow valve, wireless charger, and transmission components recipes and ids (#794)
* Fix all the tiers in recipes including for wireless charger and overflow valve
* fix transmission components
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java index e8690b155b..defa3d558b 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java @@ -272,21 +272,22 @@ public class MetaGeneratedGregtechItems extends Gregtech_MetaItem_X32 { "Wood's Glass Lens", "Allows UV & IF to pass through, blocks visible light spectrums")); - int aStartID = 141; + // 141 now unused, was the ulv transmission component + int aStartID = 142; GregtechItemList[] aTransParts = new GregtechItemList[] { GregtechItemList.TransmissionComponent_LV, GregtechItemList.TransmissionComponent_MV, GregtechItemList.TransmissionComponent_HV, GregtechItemList.TransmissionComponent_EV, GregtechItemList.TransmissionComponent_IV, GregtechItemList.TransmissionComponent_LuV, GregtechItemList.TransmissionComponent_ZPM, GregtechItemList.TransmissionComponent_UV, GregtechItemList.TransmissionComponent_UHV, }; - for (int aIndex = 0; aIndex < aTransParts.length; aIndex++) { - aTransParts[aIndex].set( + for (int tier = 1; tier < aTransParts.length + 1; tier++) { + aTransParts[tier - 1].set( this.addItem( aStartID++, - "Transmission Component (" + GT_Values.VN[aIndex] + ")", + "Transmission Component (" + GT_Values.VN[tier] + ")", "", - getTcAspectStack(TC_Aspects.ELECTRUM, aIndex), - getTcAspectStack(TC_Aspects.MACHINA, aIndex), - getTcAspectStack(TC_Aspects.MAGNETO, aIndex))); + getTcAspectStack(TC_Aspects.ELECTRUM, tier), + getTcAspectStack(TC_Aspects.MACHINA, tier), + getTcAspectStack(TC_Aspects.MAGNETO, tier))); } // Distillus Chip |