boolean localized = !title.isEmpty();
if (!localized) title = name;
if (name.equals(Constants.containerCrate))
return new GuiCrate(player, rows, title, localized);
else if (name.equals(Constants.containerKeyring))
return new GuiBetterStorage(new ContainerKeyring(player, title, columns));
else if (name.startsWith(Constants.containerThaumiumChest))
return new GuiThaumiumChest(player, columns, rows, title, localized);
else if (name.equals(Constants.containerCardboardBox))