aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorFiyorin ᵘʷᵘ <61357+Fiyorin@users.noreply.github.com>2023-05-21 12:42:59 +0200
committerGitHub <noreply@github.com>2023-05-21 12:42:59 +0200
commitaaf8bb156d51826dc603743fd65ffe82f24dfa46 (patch)
tree73b208e03e6ede0ba31301c686b99378dd0f7914 /src/main/java
parentf3233d537f3cdf30819d726f8524540900e5bcfe (diff)
downloadGT5-Unofficial-aaf8bb156d51826dc603743fd65ffe82f24dfa46.tar.gz
GT5-Unofficial-aaf8bb156d51826dc603743fd65ffe82f24dfa46.tar.bz2
GT5-Unofficial-aaf8bb156d51826dc603743fd65ffe82f24dfa46.zip
Void Miner: Don't suggest muffler/data access hatch in BlockRenderer (#325)
* Void Miner: Don't suggest muffler/data access hatch in BlockRenderer the structure still forms as before * sPoTlEsS --------- Co-authored-by: Fiyorin <david@bitmail.cc> Former-commit-id: e628696f882ac1019defa9525c016bf1f5d87562
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/github/bartimaeusnek/crossmod/galacticgreg/GT_TileEntity_VoidMiner_Base.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/crossmod/galacticgreg/GT_TileEntity_VoidMiner_Base.java b/src/main/java/com/github/bartimaeusnek/crossmod/galacticgreg/GT_TileEntity_VoidMiner_Base.java
index 2574f1bd23..c6b4656953 100644
--- a/src/main/java/com/github/bartimaeusnek/crossmod/galacticgreg/GT_TileEntity_VoidMiner_Base.java
+++ b/src/main/java/com/github/bartimaeusnek/crossmod/galacticgreg/GT_TileEntity_VoidMiner_Base.java
@@ -15,6 +15,11 @@ package com.github.bartimaeusnek.crossmod.galacticgreg;
import static bloodasp.galacticgreg.registry.GalacticGregRegistry.getModContainers;
import static com.github.bartimaeusnek.bartworks.util.BW_Tooltip_Reference.MULTIBLOCK_ADDED_BY_BARTIMAEUSNEK_VIA_BARTWORKS;
+import static gregtech.api.enums.GT_HatchElement.Energy;
+import static gregtech.api.enums.GT_HatchElement.InputBus;
+import static gregtech.api.enums.GT_HatchElement.InputHatch;
+import static gregtech.api.enums.GT_HatchElement.Maintenance;
+import static gregtech.api.enums.GT_HatchElement.OutputBus;
import static gregtech.api.enums.GT_Values.VN;
import java.util.HashMap;
@@ -40,6 +45,7 @@ import com.github.bartimaeusnek.bartworks.system.material.WerkstoffLoader;
import com.github.bartimaeusnek.bartworks.system.oregen.BW_OreLayer;
import com.github.bartimaeusnek.bartworks.util.Pair;
import com.google.common.collect.ArrayListMultimap;
+import com.google.common.collect.ImmutableList;
import bloodasp.galacticgreg.GT_Worldgen_GT_Ore_Layer_Space;
import bloodasp.galacticgreg.GT_Worldgen_GT_Ore_SmallPieces_Space;
@@ -51,6 +57,7 @@ import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.api.GregTech_API;
import gregtech.api.enums.GT_Values;
import gregtech.api.enums.Materials;
+import gregtech.api.interfaces.IHatchElement;
import gregtech.api.interfaces.ISubTagContainer;
import gregtech.api.objects.XSTR;
import gregtech.api.util.GT_Multiblock_Tooltip_Builder;
@@ -187,6 +194,11 @@ public abstract class GT_TileEntity_VoidMiner_Base extends GT_MetaTileEntity_Dri
return tt;
}
+ @Override
+ protected List<IHatchElement<? super GT_MetaTileEntity_DrillerBase>> getAllowedHatches() {
+ return ImmutableList.of(InputHatch, InputBus, OutputBus, Maintenance, Energy);
+ }
+
/**
* getter for the external drop map
*