public void draw(Graphics2D g, int x, int y, ItemStack stack){

		g.drawImage(texture, x, y, 16, 16, null);

		g.setFont(font);
		if(stack.stackSize < 10)
		{
			g.setColor(Color.DARK_GRAY);
			g.drawString(stack.stackSize+"", x+11, y+17);
			g.setColor(Color.white);
			g.drawString(stack.stackSize+"", x+10, y+16);
		}
		else
		{
			g.setColor(Color.DARK_GRAY);
			g.drawString(stack.stackSize+"", x+4, y+17);
			g.setColor(Color.white);
			g.drawString(stack.stackSize+"", x+3, y+16);
		}
	}