public Model getRecoloredModel(int arg0) {
		if (stackIds != null && arg0 > 1) {
			int id = -1;
			for (int i = 0; i < 10; i++) {
				if (arg0 >= stackAmounts[i] && stackAmounts[i] != 0) {
					id = stackIds[i];
				}
			}
			if (id != -1) {
				return ItemDefinition.forId(id).getRecoloredModel(1);
			}
		}
		Model model = Model.getModel(groundModel);
		if (model == null) {
			return null;
		}
		if (destColors != null) {
			for (int l = 0; l < destColors.length; l++) {
				model.swapColors(destColors[l], srcColors[l]);
			}
		}
		return model;
	}