From 950b57b46b213eb2739a1ec918bf9621cd66be4c Mon Sep 17 00:00:00 2001 From: Alkalus Date: Mon, 7 Aug 2017 00:37:12 +0000 Subject: + Added Cyclotron registration. --- .../xmod/gregtech/api/enums/GregtechItemList.java | 4 ++++ .../registration/gregtech/GregtechCyclotron.java | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCyclotron.java (limited to 'src/Java/gtPlusPlus') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java index 69cbedad83..bd35116d70 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/enums/GregtechItemList.java @@ -182,6 +182,7 @@ public enum GregtechItemList implements GregtechItemContainer { //Tree Farm Industrial_TreeFarm, TreeFarmer_Structural, + //Sifter Industrial_Sifter, //Advanced Boilers @@ -219,6 +220,9 @@ public enum GregtechItemList implements GregtechItemContainer { //Computer Cube Gregtech_Computer_Cube, + //Cyclotron + COMET_Cyclotron + diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCyclotron.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCyclotron.java new file mode 100644 index 0000000000..94d2446a74 --- /dev/null +++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCyclotron.java @@ -0,0 +1,20 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.core.util.Utils; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.generators.GregtechMetaTileEntity_RTG; + +public class GregtechCyclotron { + + public static void run(){ + if (gtPlusPlus.core.lib.LoadedMods.Gregtech){ + Utils.LOG_INFO("Gregtech5u Content | Registering COMET Cyclotron."); + run1(); + } + } + + private static void run1(){ + GregtechItemList.COMET_Cyclotron.set(new GregtechMetaTileEntity_Cyclotron(801, "cyclotron.tier.single", "COMET - Compact Cyclotron").getStackForm(1L)); + } + +} -- cgit