public class GuiCrate extends GuiBetterStorage {
private ContainerCrate containerCrate;
public GuiCrate(EntityPlayer player, int rows, String title, boolean localized) {
super(new ContainerCrate(player, rows, title, localized));
containerCrate = (ContainerCrate)container;
}