From 245beddeb456b296d133211a976fbec449a402c4 Mon Sep 17 00:00:00 2001 From: NotAPenguin Date: Fri, 7 Jun 2024 14:12:09 +0200 Subject: Allow the controller slots of multiblocks to be automated (#2639) Allow multiblock controllers to mark internal slots as automatable, and mark the controller slot of PA, AAL and CAL as such --- .../tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/com') diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java index 9094d9faaa..06b80e1028 100644 --- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java +++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java @@ -573,6 +573,11 @@ public class GT_TileEntity_CircuitAssemblyLine extends return true; } + @Override + protected boolean supportsSlotAutomation(int aSlot) { + return aSlot == getControllerSlotIndex(); + } + @Override public boolean onWireCutterRightClick(ForgeDirection side, ForgeDirection wrenchingSide, EntityPlayer aPlayer, float aX, float aY, float aZ) { -- cgit