if(pipe == null || pipe.pipe == null || !(pipe.pipe instanceof PipeItemsFluidSupplier)) return null;
return new GuiFluidSupplierPipe(player.inventory, ((PipeItemsFluidSupplier)pipe.pipe).getDummyInventory(), (PipeItemsFluidSupplier)pipe.pipe);
case GuiIDs.GUI_FluidSupplier_MK2_ID:
if(pipe == null || pipe.pipe == null || !(pipe.pipe instanceof PipeFluidSupplierMk2)) return null;
return new GuiFluidSupplierMk2Pipe(player.inventory, ((PipeFluidSupplierMk2)pipe.pipe).getDummyInventory(), (PipeFluidSupplierMk2)pipe.pipe);
case GuiIDs.GUI_ProviderPipe_ID:
if(pipe == null || pipe.pipe == null || !(pipe.pipe instanceof PipeItemsProviderLogistics)) return null;
return new GuiProviderPipe(player.inventory, ((PipeItemsProviderLogistics)pipe.pipe).getprovidingInventory(), (PipeItemsProviderLogistics)pipe.pipe);