keybinds work

This commit is contained in:
PrototypeTrousers
2023-01-31 23:24:27 -03:00
parent d6f2ed30e5
commit a0ec9ceb51
16 changed files with 275 additions and 83 deletions
@@ -67,6 +67,7 @@ public class WirelessTerminalGuiObject implements IPortableCell, IActionHost, II
private final IWirelessTermHandler wth;
private final String encryptionKey;
private final EntityPlayer myPlayer;
private final boolean isBaubleSlot;
private IGrid targetGrid;
private IStorageGrid sg;
private IMEMonitor<IAEItemStack> itemStorage;
@@ -86,6 +87,7 @@ public class WirelessTerminalGuiObject implements IPortableCell, IActionHost, II
this.myPlayer = ep;
this.wth = wh;
this.inventorySlot = x;
this.isBaubleSlot = y == 1;
ILocatable obj = null;
@@ -327,6 +329,11 @@ public class WirelessTerminalGuiObject implements IPortableCell, IActionHost, II
return this.inventorySlot;
}
@Override
public boolean isBaubleSlot() {
return isBaubleSlot;
}
@Override
public IItemHandler getViewCellStorage() {
NBTTagCompound data = effectiveItem.getTagCompound();