From 77f5016dd0e198724a31a77e334ca069199eacdb Mon Sep 17 00:00:00 2001 From: repo-alt Date: Fri, 19 Aug 2022 19:22:17 +0300 Subject: ME input bus, gives the multiblock direct access to the 16 selected item types (#1271) * ME input bus, gives the multiblock direct access to the 16 selected item types * Reworked GUI to match the normal interface * Don't need to duplicate shadow slots Sync can (better) be done in `endRecipeProcessing`, in case some multi doesn't call `updateSlots` or does it at the wrong time * Clarify name, to distinguish from the (future) Buffering and Crafting buses * Make the GUI 4x4 again * Make the 4x4 GUI actually work * Make ghost item show item amount * Remove unimplemented code remnants Co-authored-by: Sampsa --- src/main/java/gregtech/api/enums/ItemList.java | 6 +++++- src/main/java/gregtech/api/enums/Textures.java | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'src/main/java/gregtech/api/enums') diff --git a/src/main/java/gregtech/api/enums/ItemList.java b/src/main/java/gregtech/api/enums/ItemList.java index 59641d16d7..483d5c3f99 100644 --- a/src/main/java/gregtech/api/enums/ItemList.java +++ b/src/main/java/gregtech/api/enums/ItemList.java @@ -1898,7 +1898,11 @@ public enum ItemList implements IItemContainer { Circuit_Parts_InductorASMD, Circuit_Parts_InductorXSMD, - VOLUMETRIC_FLASK; + VOLUMETRIC_FLASK, + + Hatch_Input_Bus_ME, + Hatch_CraftingInput_Bus_ME + ; public static final ItemList[] DYE_ONLY_ITEMS = { diff --git a/src/main/java/gregtech/api/enums/Textures.java b/src/main/java/gregtech/api/enums/Textures.java index 08beb1a25d..54727ea269 100644 --- a/src/main/java/gregtech/api/enums/Textures.java +++ b/src/main/java/gregtech/api/enums/Textures.java @@ -1262,7 +1262,14 @@ public class Textures { LARGETURBINE_ADVGAS_EMPTY6, LARGETURBINE_ADVGAS_EMPTY7, LARGETURBINE_ADVGAS_EMPTY8, - LARGETURBINE_ADVGAS_EMPTY9; + LARGETURBINE_ADVGAS_EMPTY9, + + OVERLAY_ME_HATCH_ACTIVE, + OVERLAY_ME_INPUT_HATCH, + OVERLAY_ME_INPUT_HATCH_ACTIVE, + OVERLAY_ME_CRAFTING_HATCH, + OVERLAY_ME_CRAFTING_HATCH_ACTIVE + ; /** * Icon for Fresh CFoam -- cgit