mojira.dev
MC-97235

Resource pack in minecraft world save file not working

Resource packs (zipped) seem to not be loaded when loading a save file that has that particular resource pack in it. This feature has been working for all previous snapshot versions, but seem to be bugged in 16w07.

Linked issues

Attachments

Comments 17

Confirmed.

My included "resources" resource pack in my map worked for all previous snapshots, but doesn't work in 16w07a. Neither sound or textures are showing.

Confirmed for

  • 1.9-pre1

Please reopen

The elytra longer function server which creates many problems.
Thank you try to fix the bug in the shortest time

@unknown:
1. that's unrelated here
2. do a jump in mid-air

Confirmed for 1.9-pre2

7 more comments

Never mind, apparently the resources.zip requires a pack.mcmeta to be in it. This was not a requirement in 1.9 so my bad. False alarm

Ever since 1.10 pre 1 I can't get this to work anymore. And I do have a pack.mcmeta inside resources.zip. I did in 1.9 too. And pack_format is set to 2 (inside that file).

If something changed in the pre 1 please let me know. I can't find any information about it anywhere. If not, then this is a bug.

@unknown: What's in the game output console of the launcher when loading that world ? Can you load the resource pack manually when copied in ./minecraft/resourcepacks ?

It works when selecting a resource pack manually (located in ./minecraft/resourcepacks).

It says "Server resourcepack is invalid, ignoring it"

[14:09:17] [Server thread/INFO]: Saving chunks for level 'The Wall 3'/Overworld
[14:09:17] [Netty Local Client IO #0/WARN]: Server resourcepack is invalid, ignoring it
com.google.gson.JsonParseException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 3
    at bwr.a(SourceFile:70) ~[1.10.jar:?]
    at bwr.a(SourceFile:60) ~[1.10.jar:?]
    at bxh$a.a(SourceFile:339) ~[1.10.jar:?]
    at bxh.b(SourceFile:269) [1.10.jar:?]
    at bxh.a(SourceFile:295) [1.10.jar:?]
    at bll.a(SourceFile:1338) [1.10.jar:?]
    at hi.a(SourceFile:42) [1.10.jar:?]
    at hi.a(SourceFile:9) [1.10.jar:?]
    at eo.a(SourceFile:136) [1.10.jar:?]
    at eo.channelRead0(SourceFile:53) [1.10.jar:?]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.local.LocalChannel.finishPeerRead(LocalChannel.java:326) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:45) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:312) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.channel.local.LocalEventLoop.run(LocalEventLoop.java:33) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.23.Final.jar:4.0.23.Final]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 3
    at com.google.gson.internal.Streams.parse(Streams.java:56) ~[gson-2.2.4.jar:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:84) ~[gson-2.2.4.jar:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:59) ~[gson-2.2.4.jar:?]
    at bwr.a(SourceFile:68) ~[1.10.jar:?]
    ... 19 more
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 5 column 3
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[gson-2.2.4.jar:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:494) ~[gson-2.2.4.jar:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403) ~[gson-2.2.4.jar:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666) ~[gson-2.2.4.jar:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667) ~[gson-2.2.4.jar:?]
    at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642) ~[gson-2.2.4.jar:?]
    at com.google.gson.internal.Streams.parse(Streams.java:44) ~[gson-2.2.4.jar:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:84) ~[gson-2.2.4.jar:?]
    at com.google.gson.JsonParser.parse(JsonParser.java:59) ~[gson-2.2.4.jar:?]
    at bwr.a(SourceFile:68) ~[1.10.jar:?]
    ... 19 more
[14:09:17] [Server thread/INFO]: Saving chunks for level 'The Wall 3'/Nether
[14:09:17] [Server thread/INFO]: Saving chunks for level 'The Wall 3'/The End
[14:09:20] [Server thread/INFO]: Saving and pausing game...

Can you load the resource pack manually when copied in ./minecraft/resourcepacks?

Six Nemsis

michael

Confirmed

Minecraft 16w07a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2

Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 3

Retrieved