There's nothing going on with behavior here that would prevent these from being const qualified. Also better communicates that this function isn't intended to modify the given resource pack.