use of binnie.core.gui.minecraft.Window in project Binnie by ForestryMC.
the class BinnieGUIHandler method getServerGuiElement.
@Override
@Nullable
public final Object getServerGuiElement(final int id, final EntityPlayer player, final World world, final int x, final int y, final int z) {
Window window = this.getWindow(id, player, world, x, y, z, Side.SERVER);
if (window == null) {
return null;
}
window.initialiseServer();
return window.getContainer();
}