use of mekanism.client.gui.element.window.GuiCraftingWindow in project Mekanism by mekanism.
the class GuiQIOItemViewer method transferWindows.
protected void transferWindows(Collection<GuiWindow> windows) {
for (GuiWindow window : windows) {
// Transition all current popup windows over to the new screen.
if (window instanceof GuiCraftingWindow) {
// Updating the references for listeners and the like for crafting windows
craftingWindowTab.adoptWindows(window);
// Update the container the virtual slots point to be correct
((GuiCraftingWindow) window).updateContainer(menu);
}
addWindow(window);
window.transferToNewGui(this);
}
}
Aggregations