From bcff60c1705bf8cde0d62c2dba5ccb6ae706bf64 Mon Sep 17 00:00:00 2001 From: kuba6000 Date: Mon, 27 Sep 2021 00:32:03 +0200 Subject: Disable autocrafter --- .../machines/multi/production/GT4Entity_AutoCrafter.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java index dead021a28..fc25a90ae5 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java @@ -133,12 +133,7 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { "Highly Advanced Autocrafter", "Right Click with a Screwdriver to change mode", "200% faster than using single block machines of the same voltage", - "Processes two items per voltage tier", - "--------------------------------------", - "Insert a Memory stick into the GUI", - "to automate a crafting table recipe", - "Requires recipe to be scanned in a project table", - "--------------------------------------", + "Processes two items per voltage tier", "Size: 3x3x3 (Hollow)", "Autocrafter Frame (10 at least!)", "Controller (Front Center)", @@ -255,7 +250,10 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { //5.08 support else { if (mMachineMode.nextMode() == MODE.CIRCUIT) { - mMachineMode = MODE.CRAFTING; + mMachineMode = MODE.ASSEMBLY; + } + else if (mMachineMode.nextMode() == MODE.CRAFTING) { + mMachineMode = MODE.ASSEMBLY; } else { mMachineMode = mMachineMode.nextMode(); @@ -422,6 +420,8 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { } private boolean doCrafting(ItemStack aStack) { + this.mMaxProgresstime = 0; + return false; // do nothing try { // Set Crafting input hatch if (!doesCrafterHave9SlotInput()) { -- cgit From ea2ed554b07371d0d07b823da70d7361787f9112 Mon Sep 17 00:00:00 2001 From: kuba6000 Date: Mon, 27 Sep 2021 00:42:19 +0200 Subject: Fix compilation error & Remove type --- .../tileentities/machines/multi/production/GT4Entity_AutoCrafter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java index fc25a90ae5..5f7b01e4d3 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GT4Entity_AutoCrafter.java @@ -83,7 +83,7 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { @Override public String getMachineType() { - String sType = "Assembler, Disassembler, "+((CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK && !CORE.GTNH) ? "Circuit Assembler, " : "")+"Autocrafter"; + String sType = "Assembler, Disassembler, "+((CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK && !CORE.GTNH) ? "Circuit Assembler" : ""); return sType; } @@ -422,6 +422,7 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { private boolean doCrafting(ItemStack aStack) { this.mMaxProgresstime = 0; return false; // do nothing + /* try { // Set Crafting input hatch if (!doesCrafterHave9SlotInput()) { @@ -544,6 +545,7 @@ public class GT4Entity_AutoCrafter extends GregtechMeta_MultiBlockBase { this.mMaxProgresstime = 0; return false; + */ } @Override -- cgit