diff options
author | Ryan Nasers <42074409+Cardinalstars@users.noreply.github.com> | 2024-08-05 03:30:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 15:30:58 +0700 |
commit | 1ab7b9dbcbf375ceff1449502acd0f873f2da51a (patch) | |
tree | 0b68625e6e1ab655ca6892272211fb4bb4a79cd1 /src/main/java/gtPlusPlus/xmod/gregtech/registration | |
parent | 5c9c4000c6130bd44ad43204dd6220dcda401c10 (diff) | |
download | GT5-Unofficial-1ab7b9dbcbf375ceff1449502acd0f873f2da51a.tar.gz GT5-Unofficial-1ab7b9dbcbf375ceff1449502acd0f873f2da51a.tar.bz2 GT5-Unofficial-1ab7b9dbcbf375ceff1449502acd0f873f2da51a.zip |
Adding some stuff I removed long ago (#2702)
* Adding back in stuff I removed
* Fixing connections
* Idk what this was
* Spotless
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/registration')
5 files changed, 87 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneButtonPanel.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneButtonPanel.java new file mode 100644 index 0000000000..c999a7cd08 --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneButtonPanel.java @@ -0,0 +1,16 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.redstone.GT_MetaTileEntity_RedstoneButtonPanel; + +public class GregtechRedstoneButtonPanel { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Redstone Button Panel."); + if (CORE.ConfigSwitches.enableMachine_RedstoneBlocks) { + GregtechItemList.RedstoneButtonPanel.set(new GT_MetaTileEntity_RedstoneButtonPanel(31800).getStackForm(1L)); + } + } +} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneCircuitBlock.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneCircuitBlock.java new file mode 100644 index 0000000000..106ee48fba --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneCircuitBlock.java @@ -0,0 +1,17 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.redstone.GT_MetaTileEntity_RedstoneCircuitBlock; + +public class GregtechRedstoneCircuitBlock { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Redstone Circuit Block."); + if (CORE.ConfigSwitches.enableMachine_RedstoneBlocks) { + GregtechItemList.RedstoneCircuitBlock + .set(new GT_MetaTileEntity_RedstoneCircuitBlock(31801).getStackForm(1L)); + } + } +} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneLamp.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneLamp.java new file mode 100644 index 0000000000..81c2a0469d --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneLamp.java @@ -0,0 +1,16 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.redstone.GT_MetaTileEntity_RedstoneLamp; + +public class GregtechRedstoneLamp { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Redstone Lamp."); + if (CORE.ConfigSwitches.enableMachine_RedstoneBlocks) { + GregtechItemList.RedstoneLamp.set(new GT_MetaTileEntity_RedstoneLamp(31803).getStackForm(1L)); + } + } +} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthDisplay.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthDisplay.java new file mode 100644 index 0000000000..c8bee5c5c1 --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthDisplay.java @@ -0,0 +1,21 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.redstone.GT_MetaTileEntity_RedstoneStrengthDisplay; + +public class GregtechRedstoneStrengthDisplay { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Redstone Strength Display."); + if (CORE.ConfigSwitches.enableMachine_RedstoneBlocks) { + GregtechItemList.RedstoneStrengthDisplay.set( + new GT_MetaTileEntity_RedstoneStrengthDisplay( + 31804, + "redstone.display", + "Redstone Strength Display", + "Displays Redstone Strength").getStackForm(1L)); + } + } +} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthScale.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthScale.java new file mode 100644 index 0000000000..e08a489216 --- /dev/null +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechRedstoneStrengthScale.java @@ -0,0 +1,17 @@ +package gtPlusPlus.xmod.gregtech.registration.gregtech; + +import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.CORE; +import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; +import gtPlusPlus.xmod.gregtech.common.tileentities.redstone.GT_MetaTileEntity_RedstoneStrengthScale; + +public class GregtechRedstoneStrengthScale { + + public static void run() { + Logger.INFO("Gregtech5u Content | Registering Redstone Strength Scale."); + if (CORE.ConfigSwitches.enableMachine_RedstoneBlocks) { + GregtechItemList.RedstoneStrengthScale + .set(new GT_MetaTileEntity_RedstoneStrengthScale(31805).getStackForm(1L)); + } + } +} |