case EngineCopperGUI:
return new GuiEngineCopper(player.inventory, (EngineCopper) getTileForestry(world, x, y, z));
case EngineTinGUI:
return new GuiEngineTin(player.inventory, (EngineTin) getTileForestry(world, x, y, z));
case GeneratorGUI:
return new GuiGenerator(player.inventory, (MachineGenerator) getTileForestry(world, x, y, z));
default: