-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 17w18a
-
Unconfirmed
Mod Note
All json files now use strict json.
{ "model": "oak_log_0", "x": 90, "y": 90, "weight"=20 },
Should be:
{ "model": "oak_log_0", "x": 90, "y": 90, "weight":20 },
The "weight" option in resource packs no longer works: it just gives an error.
Steps to reproduce:
1. Download a randomized blocks resource pack. I used Vaderman27's.
2. Open up a world, and place down a few of the blocks that had been randomized in the pack. They should show up as missing texture cubes.
Unable to load definition minecraft:tall_grass java.lang.RuntimeException: Encountered an exception when loading model definition of 'minecraft:tall_grass' from: 'minecraft:blockstates/tall_grass.json' in resourcepack: 'Blocks Pack V1.0' at cfj.a(SourceFile:308) at cfj.a(SourceFile:293) at cfj.a(SourceFile:282) at cfj.b(SourceFile:206) at cfj.a(SourceFile:182) at cfk.a(SourceFile:23) at ced.c(SourceFile:105) at ced.a(SourceFile:93) at bhh.f(SourceFile:720) at bhh.c(SourceFile:1852) at bhh.aB(SourceFile:1735) at bhh.t(SourceFile:1621) at bhh.ax(SourceFile:964) at bhh.a(SourceFile:404) at net.minecraft.client.main.Main.main(SourceFile:123) Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 3 column 55 path $.variants.normal[0].weight at com.google.gson.internal.Streams.parse(Streams.java:60) at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) at qm.a(SourceFile:492) at qm.a(SourceFile:532) at bvd.a(SourceFile:39) at cfj.a(SourceFile:306) ... 14 more Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 3 column 55 path $.variants.normal[0].weight at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:524) at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:716) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) at com.google.gson.internal.Streams.parse(Streams.java:48) ... 19 more