if(pipe == null || pipe.pipe == null || !(pipe.pipe instanceof PipeItemsProviderLogistics)) return null;
return new GuiProviderPipe(player.inventory, ((PipeItemsProviderLogistics)pipe.pipe).getprovidingInventory(), (PipeItemsProviderLogistics)pipe.pipe);
case GuiIDs.GUI_SatelitePipe_ID:
if(pipe != null && pipe.pipe != null && pipe.pipe instanceof PipeItemsSatelliteLogistics) {
return new GuiSatellitePipe((PipeItemsSatelliteLogistics)pipe.pipe, player);
}
if(pipe != null && pipe.pipe != null && pipe.pipe instanceof PipeFluidSatellite) {
return new GuiSatellitePipe((PipeFluidSatellite)pipe.pipe, player);
}
return null;
case GuiIDs.GUI_Normal_Orderer_ID:
return new NormalGuiOrderer(x, y, z, MainProxy.getDimensionForWorld(world), player);