case FabricatorGUI:
return new GuiFabricator(player.inventory, (MachineFabricator) getTileForestry(world, x, y, z));
case FermenterGUI:
return new GuiFermenter(player.inventory, (MachineFermenter) getTileForestry(world, x, y, z));
case MoistenerGUI:
return new GuiMoistener(player.inventory, (MachineMoistener) getTileForestry(world, x, y, z));
case RaintankGUI: