Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-154024

Loot Tables type "entity" not working.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.14.2, 1.14.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Default Minecraft vanilla Client, custom Launcher: MultiMC
    • Confirmation Status:
      Unconfirmed
    • Category:
      Loot tables

      Description

      Below are 2 identical loot tables, but only one works. I can't understand why this happens. The error I always get is:
      *[13:47:50] [Server thread/ERROR]: Couldn't parse loot table minecraft:entities/blaze
      java.lang.NullPointerException: null
      at cow.a(SourceFile:24) ~[minecraft-1.14.3-pre1-client.jar:?]
      at cor$b.a(SourceFile:176) ~[minecraft-1.14.3-pre1-client.jar:?]
      at cor$b.deserialize(SourceFile:169) ~[minecraft-1.14.3-pre1-client.jar:?]
      at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.0.jar:?]
      at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.0.jar:?]
      at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[gson-2.8.0.jar:?]
      at com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.0.jar:?]
      at com.google.gson.Gson.fromJson(Gson.java:952) ~[gson-2.8.0.jar:?]
      at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:162) ~[gson-2.8.0.jar:?]
      at zn.a(SourceFile:440) ~[minecraft-1.14.3-pre1-client.jar:?]
      at zn.a(SourceFile:456) ~[minecraft-1.14.3-pre1-client.jar:?]
      at cos$b.a(SourceFile:215) ~[minecraft-1.14.3-pre1-client.jar:?]
      at cos$b.deserialize(SourceFile:211) ~[minecraft-1.14.3-pre1-client.jar:?]
      at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) ~[gson-2.8.0.jar:?]
      at com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.0.jar:?]
      at com.google.gson.Gson.fromJson(Gson.java:952) ~[gson-2.8.0.jar:?]
      at com.google.gson.Gson.fromJson(Gson.java:925) ~[gson-2.8.0.jar:?]
      at cou.a(SourceFile:57) ~[minecraft-1.14.3-pre1-client.jar:?]
      at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_211]
      at cou.a(SourceFile:55) ~[minecraft-1.14.3-pre1-client.jar:?]
      at cou.a(SourceFile:26) ~[minecraft-1.14.3-pre1-client.jar:?]
      at xh.a(SourceFile:13) ~[minecraft-1.14.3-pre1-client.jar:?]
      at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_211]
      at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_211]
      at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_211]
      at xi.a(SourceFile:71) ~[minecraft-1.14.3-pre1-client.jar:?]
      at rh.run(SourceFile:18) [minecraft-1.14.3-pre1-client.jar:?]
      at agl.h(SourceFile:135) [minecraft-1.14.3-pre1-client.jar:?]
      at agp.h(SourceFile:23) [minecraft-1.14.3-pre1-client.jar:?]
      at agl.p(SourceFile:114) [minecraft-1.14.3-pre1-client.jar:?]
      at net.minecraft.server.MinecraftServer.aW(SourceFile:702) [minecraft-1.14.3-pre1-client.jar:?]
      at net.minecraft.server.MinecraftServer.p(SourceFile:696) [minecraft-1.14.3-pre1-client.jar:?]
      at agl.c(SourceFile:123) [minecraft-1.14.3-pre1-client.jar:?]
      at net.minecraft.server.MinecraftServer.b(SourceFile:1466) [minecraft-1.14.3-pre1-client.jar:?]
      at net.minecraft.server.MinecraftServer.a(SourceFile:450) [minecraft-1.14.3-pre1-client.jar:?]
      at dxl.a(SourceFile:79) [minecraft-1.14.3-pre1-client.jar:?]
      at dxl.d(SourceFile:104) [minecraft-1.14.3-pre1-client.jar:?]
      at net.minecraft.server.MinecraftServer.run(SourceFile:605) [minecraft-1.14.3-pre1-client.jar:?]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]*

        Attachments

        1. blaze.json
          2 kB
          Maity
        2. blaze.json
          2 kB
          Maity

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              itsMikki Maity
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: