Resource pack handling (round 1).

Signed-off-by: V10lator <v10lator@myway.de>