case CarpenterGUI:
return new GuiCarpenter(player.inventory, (MachineCarpenter) getTileForestry(world, x, y, z));
case CentrifugeGUI:
return new GuiCentrifuge(player.inventory, (MachineCentrifuge) getTileForestry(world, x, y, z));
case FabricatorGUI:
return new GuiFabricator(player.inventory, (MachineFabricator) getTileForestry(world, x, y, z));
case FermenterGUI: