case GuiIds.AUTO_CRAFTING_TABLE:
if (!(tile instanceof TileAutoWorkbench)) {
return null;
} else {
return new GuiAutoCrafting(player.inventory, world, (TileAutoWorkbench) tile);
}
case GuiIds.REFINERY:
if (!(tile instanceof TileRefinery)) {
return null;