From cd0868afdd05fd5c3de04a3814e013f008d8c01a Mon Sep 17 00:00:00 2001 From: repo-alt Date: Sat, 20 Aug 2022 18:41:11 +0300 Subject: Some fixes for the new input bus (#1278) * Fix a circuit slot position "Borrow" item size rendering from AE2 * Add existing type check --- src/main/java/gregtech/api/gui/GT_Slot_Holo_ME.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/java/gregtech/api/gui/GT_Slot_Holo_ME.java (limited to 'src/main/java/gregtech/api/gui') diff --git a/src/main/java/gregtech/api/gui/GT_Slot_Holo_ME.java b/src/main/java/gregtech/api/gui/GT_Slot_Holo_ME.java new file mode 100644 index 0000000000..08a11d29f4 --- /dev/null +++ b/src/main/java/gregtech/api/gui/GT_Slot_Holo_ME.java @@ -0,0 +1,9 @@ +package gregtech.api.gui; + +import net.minecraft.inventory.IInventory; + +public class GT_Slot_Holo_ME extends GT_Slot_Holo { + public GT_Slot_Holo_ME(IInventory inventory, int slotIndex, int xPos, int yPos, boolean aCanInsertItem, boolean aCanStackItem) { + super(inventory, slotIndex, xPos, yPos, aCanInsertItem, aCanStackItem, Integer.MAX_VALUE); + } +} -- cgit