From 119de99ec6386aa413480e5dd6a3e815c9fe06f8 Mon Sep 17 00:00:00 2001 From: repo-alt Date: Fri, 14 Jan 2022 12:22:44 +0300 Subject: ME output bus cache refactored (#868) * Allow toolbox usage for maintenance w/o opening GUI (Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044) * ME output bus cache refactored Now the bus will infinitely cache items until you connect it to ME network (this means that any other (overflow) output buses will never receive anything by default) This behaviour is toggleable by the screwdriver. --- .../implementations/GT_MetaTileEntity_Hatch_Maintenance.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/gregtech/api/metatileentity/implementations') diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java index c29cc2c33a..44e3771ab8 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java @@ -1,5 +1,6 @@ package gregtech.api.metatileentity.implementations; +import com.mojang.authlib.GameProfile; import gregtech.GT_Mod; import gregtech.api.GregTech_API; import gregtech.api.enums.ItemList; @@ -26,6 +27,8 @@ import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.common.util.FakePlayer; +import net.minecraftforge.common.util.FakePlayer; + import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE; import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE_GLOW; import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE_IDLE; -- cgit