From 4cae5451fedfd526a36ffa8d5e576a5c4ee6fd43 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 6 Feb 2018 10:16:30 -1000 Subject: Fix Industrial Centrifuge not processing Gendustry customized combs Pass the buffer check if the recipe has more than 16 outputs. --- .../implementations/base/GregtechMeta_MultiBlockBase.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Java/gtPlusPlus') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java index e0da8e9fc2..492872d37d 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java @@ -121,6 +121,11 @@ GT_MetaTileEntity_MultiBlockBase { public String getSound() { return ""; } public boolean canBufferOutputs(final GT_Recipe aRecipe, int aParallelRecipes) { + if (aRecipe.mOutputs.length > 16) { + // Gendustry custom comb with a billion centrifuge outputs? Do it anyway. + return true; + } + // Count slots available in output buses ArrayList tBusStacks = new ArrayList<>(); -- cgit From cdeae91a18c4f9e8df5d568a8cca52c965b70adf Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 6 Feb 2018 10:49:54 -1000 Subject: Recommend HV output bus for Industrial Centrifuge --- .../machines/multi/GregtechMetaTileEntity_IndustrialCentrifuge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialCentrifuge.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialCentrifuge.java index 770575dc7c..1546bf39ab 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialCentrifuge.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialCentrifuge.java @@ -55,7 +55,7 @@ extends GregtechMeta_MultiBlockBase { "1x Input Hatch", "1x Output Hatch", "1x Input Bus", - "1x Output Bus", + "1x [HV] Output Bus", "1x [EV] Energy Hatch (Can be higher Tier) [Blue]", "Centrifuge Casings for the rest (16 at least)", CORE.GT_Tooltip}; -- cgit