diff options
| author | NotAPenguin <michiel.vandeginste@gmail.com> | 2024-06-07 14:12:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 14:12:09 +0200 |
| commit | 245beddeb456b296d133211a976fbec449a402c4 (patch) | |
| tree | 42c2e816c33c085b62d682765b1e57e51a8271b7 /src/main/java/com | |
| parent | d1b422fbe45a8d2314433fd5166c12bcaa486461 (diff) | |
| download | GT5-Unofficial-245beddeb456b296d133211a976fbec449a402c4.tar.gz GT5-Unofficial-245beddeb456b296d133211a976fbec449a402c4.tar.bz2 GT5-Unofficial-245beddeb456b296d133211a976fbec449a402c4.zip | |
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
Diffstat (limited to 'src/main/java/com')
| -rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_CircuitAssemblyLine.java | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -574,6 +574,11 @@ public class GT_TileEntity_CircuitAssemblyLine extends } @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) { if (!aPlayer.isSneaking()) { |
