use of crazypants.enderio.machine.invpanel.GuiInventoryPanel in project EnderIO by SleepyTrousers.
the class ClientRemoteGuiManager method getClientGuiElement.
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
TileInventoryPanel te;
if (targetTE != null && targetTEtime >= EnderIO.proxy.getTickCount()) {
te = targetTE;
targetTE = null;
} else {
te = new TileInventoryPanel();
}
return new GuiInventoryPanel(te, new InventoryPanelContainer(player.inventory, te));
}
Aggregations