aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/registration
diff options
context:
space:
mode:
authorQuetz4l <Zereff06@gmail.com>2023-05-26 07:46:03 +0300
committerGitHub <noreply@github.com>2023-05-26 06:46:03 +0200
commit69791bd5a4e5fc5ff6d79b0510c572612ce8bae8 (patch)
treef9dbf9ee31e1899e170714e39e05680702d6f65c /src/main/java/gtPlusPlus/xmod/gregtech/registration
parent79ba91d579447271e6f88e5b3eb2f991f6bba040 (diff)
downloadGT5-Unofficial-69791bd5a4e5fc5ff6d79b0510c572612ce8bae8.tar.gz
GT5-Unofficial-69791bd5a4e5fc5ff6d79b0510c572612ce8bae8.tar.bz2
GT5-Unofficial-69791bd5a4e5fc5ff6d79b0510c572612ce8bae8.zip
added chisel input busses (#638)
* added chisel input busses * fix industrial chisel tooltip * fixes industrial chisel
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
index 4062003d50..bee1aafbd8 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
@@ -5,6 +5,7 @@ import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.util.minecraft.FluidUtils;
import gtPlusPlus.core.util.minecraft.gregtech.PollutionUtils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
+import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_ChiselBus;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_AirIntake;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_AirIntake_Extreme;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_ControlCore;
@@ -27,6 +28,7 @@ public class GregtechCustomHatches {
}
run3();
run4();
+ run5(); // Chisel buses
}
private static void run1() {
@@ -274,4 +276,23 @@ public class GregtechCustomHatches {
GregtechItemList.Hatch_RTG_MV.set(aHatch2.getStackForm(1L));
GregtechItemList.Hatch_RTG_HV.set(aHatch3.getStackForm(1L));
}
+
+ private static GT_MetaTileEntity_ChiselBus makeChiselBus(int id, String unlocalizedName, String localizedName,
+ int tier) {
+ return new GT_MetaTileEntity_ChiselBus(id, unlocalizedName, localizedName, tier);
+ }
+
+ private static void run5() {
+ int aID = 31777;
+
+ GregtechItemList.GT_MetaTileEntity_ChiselBus_I
+ .set((makeChiselBus(aID++, "hatch.chisel.tier.00", "Chisel Bus I", 0)).getStackForm(1L));
+ GregtechItemList.GT_MetaTileEntity_ChiselBus_II
+ .set((makeChiselBus(aID++, "hatch.chisel.tier.01", "Chisel Bus II", 1)).getStackForm(1L));
+ GregtechItemList.GT_MetaTileEntity_ChiselBus_III
+ .set((makeChiselBus(aID++, "hatch.chisel.tier.02", "Chisel Bus III", 2)).getStackForm(1L));
+ GregtechItemList.GT_MetaTileEntity_ChiselBus_IV
+ .set((makeChiselBus(aID++, "hatch.chisel.tier.03", "Chisel Bus IV", 3)).getStackForm(1L));
+
+ }
}