#Error model
21 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
Is it only the dragon_katana that looks like an error cube or do all netherite swords look like that?
only that
and I assume the dragon_katana.json is in models/item along with the netherite_sword.json, correct?
yes
Unless the dragon_katana model has some invalid rotated or positioned cube I don't see why it wouldn't work 🤔
Does the game's output log throw any errors/warnings that mention the dragon_katana?
!faq output-log
The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it.
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).
lemme try outpot log
Unable to load model: 'minecraft:item/dragon_katana' referenced from: minecraft:netherite_sword#inventory: java.io.FileNotFoundException: minecraft:models/item/dragon_katana.json
it say like this
i dont know how to fix it
is there no warning/error message before or after that?
wait
Failed to load model minecraft:models/item/dragon_katana.json
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 6 column 3 path $.textures.0
at com.google.gson.internal.Streams.parse(Streams.java:61)
at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:72)
at aor.a(SourceFile:524)
at aor.b(SourceFile:531)
at aor.a(SourceFile:581)
at fkw.a(SourceFile:86)
at fwx.b(SourceFile:105)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 6 column 3 path $.textures.0
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1657)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:514)
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:422)
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:779)
at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:725)
at com.google.gson.internal.Streams.parse(Streams.java:49)
... 13 more
tthis thing
right, that comma needs to be removed
else it expects another texture to be listed
but all it finds is }, at line 6 of the file (at position/column 3 in that line), hence that error message
yo its fix