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))
return new GuiBetterStorage(player, columns, rows, new InventoryWrapper(
new InventoryCardboardBox(new ItemStack[columns * rows]), title, localized));
else if (name.equals(Constants.containerCraftingStation))
return new GuiCraftingStation(player, title, localized);