public GuiCrafting(World world, Player p) {
		super(world, p);

		BufferedImage[] textures = new BufferedImage[15];
		for(int i = 0; i < 15; i ++)
			if(Crafting.result(i) != null)
				textures[i] = Crafting.result(i).getItem().getTexture();

		for(int i = 0; i < rowsX(); i ++){
			for(int j = 0; j < rowsY(); j++){
				buttonList.add(new Button(centerX - 40 + i*getSlotSpacingX(), centerY - 45 + j*getSlotSpacingY(), textures[i+ (j*(rowsX()))]));
			}
		}
	}