Minecraft Blogs / Tutorial

How to install a Resource Pack in a Single Player World

  • 3,450 views, 9 today
  • 3
  • 0
  • 2
GentleGravel's Avatar GentleGravel
Level 7 : Apprentice Network
0
Hello everyone.
In this tutorial we are going to see how to install a resource pack on your own map (not in a server).
You probably have seen already that you need to put a zip file named resources.zip that contains the resource pack in your map's root folder.

This is how I interpreted this:

I just went, compressed the resource pack, and put it into the map's folder.
It did not work.
I went to the minecraft logs, and it said the following:
(Yes, I was using the latest snapshot at the moment, but it doesn't matter, it is also for 1.8)

16w03a (1.9 Snapshot) Log
[Client thread/WARN]: Unable to parse metadata section of resourcepack: resources.zip
bwf: 'pack.mcmeta' in ResourcePack '[i]/path/to[/i]/minecraft/saves/[i]MAP NAME[/i]/resources.zip'
at bvw.a(SourceFile:40) ~[16w03a.jar:?]
at bvq.a(SourceFile:60) ~[16w03a.jar:?]
at bwm.a(SourceFile:43) [16w03a.jar:?]
at bcc.e(SourceFile:728) [16w03a.jar:?]
at bcc$8.run(SourceFile:2517) [16w03a.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at g.a(SourceFile:45) [16w03a.jar:?]
at bcc.au(SourceFile:941) [16w03a.jar:?]
at bcc.a(SourceFile:390) [16w03a.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:122) [16w03a.jar:?]


This is what was happening:

When I compressed my resources into resources.zip, I was putting a folder called resources into the zip file itself.
The structure of the zip file came out like this:

resources.zip
> resources
>> assets/
>> pack.mcmeta
>> pack.png


This is not what Minecraft was looking for.
Minecraft was looking for the following structure:

resources.zip
> assets/
> pack.mcmeta
> pack.png

For example, in a Mac, instead of saying Compress "resources" into "resources.zip", I had to select all the items in resources and then click Compress # Items, change the zip file's name to resources.zip, and put it in the root of the map folder.


I know it is awful to have to compress, replace zip file, etc. every time you change something, so I suggest you work on /path/to/minecraft/resourcepacks and when you are finished, that is when you compress the contents of your resource pack.


I hope that helped you :D
Tags

2 Update Logs

Update #2 : by GentleGravel 01/24/2016 5:13:22 pmJan 24th, 2016

Why does Planet Minecraft not keep spaces???
Had to get creative for file structure...
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/24/2016 5:10 am
Level 42 : Master Lumberjack
Mushrom Brother
Mushrom Brother's Avatar
OMG OMG THANK YOU SOOOOOOOOOOOOO MUUUUUUUUUUCH
1
04/09/2016 7:45 pm
Level 7 : Apprentice Network
GentleGravel
GentleGravel's Avatar
You are welcome!!!
Although I think this may have been fixed...
I don't know :)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome