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

Piglins crash game when reloaded if a block tag called within the piglin_repellents tag cannot be read

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w22a
    • 20w19a, 20w20b
    • Unconfirmed
    • (Unassigned)

      In the block tag minecraft:piglin_repellents, I have #chromakey:quartz

      In the block tag chromakey:quartz, I added a few blocks to the list. One of the block ids are invalid.

       

      After running /reload, the game crashed with:

      java.lang.IllegalStateException: Tag minecraft:piglin_repellents used before it was bound 

      Full crash report:

      ---- Minecraft Crash Report -------- Minecraft Crash Report ----// You should try our sister game, Minceraft!
      Time: 5/9/20 5:43 PMDescription: Ticking entity
      java.lang.IllegalStateException: Tag minecraft:piglin_repellents used before it was bound at acq$a.c(SourceFile:53) at acq$a.a(SourceFile:64) at but.a(SourceFile:135) at cem$a.a(SourceFile:920) at awj.a(SourceFile:133) at awj$$Lambda$4353/27527699.test(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at fr.a(SourceFile:490) at awj.c(SourceFile:129) at awj.a(SourceFile:54) at awn.b(SourceFile:35) at aox.c(SourceFile:371) at aox.a(SourceFile:364) at bce.ed(SourceFile:349) at aog.dD(SourceFile:720) at aof.l(SourceFile:2358) at aog.l(SourceFile:521) at bbd.l(SourceFile:42) at aof.h(SourceFile:2200) at aog.h(SourceFile:326) at yt.a(SourceFile:590) at yt$$Lambda$3726/222720110.accept(Unknown Source) at bow.a(SourceFile:578) at yt.a(SourceFile:405) at net.minecraft.server.MinecraftServer.b(SourceFile:900) at net.minecraft.server.MinecraftServer.a(SourceFile:839) at eoa.a(SourceFile:89) at net.minecraft.server.MinecraftServer.run(SourceFile:698) at java.lang.Thread.run(Thread.java:745)

      A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
      -- Head --Thread: Server threadStacktrace: at acq$a.c(SourceFile:53) at acq$a.a(SourceFile:64) at but.a(SourceFile:135) at cem$a.a(SourceFile:920) at awj.a(SourceFile:133) at awj$$Lambda$4353/27527699.test(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at fr.a(SourceFile:490) at awj.c(SourceFile:129) at awj.a(SourceFile:54) at awn.b(SourceFile:35) at aox.c(SourceFile:371) at aox.a(SourceFile:364) at bce.ed(SourceFile:349) at aog.dD(SourceFile:720) at aof.l(SourceFile:2358) at aog.l(SourceFile:521) at bbd.l(SourceFile:42) at aof.h(SourceFile:2200) at aog.h(SourceFile:326) at yt.a(SourceFile:590) at yt$$Lambda$3726/222720110.accept(Unknown Source)
      -- Entity being ticked --Details: Entity Type: minecraft:piglin (bce) Entity ID: 3044 Entity Name: Piglin Entity's Exact location: 280.94, 70.00, -93.63 Entity's Block location: World: (280,70,-94), Chunk: (at 8,4,2 in 17,-6; contains blocks 272,0,-96 to 287,255,-81), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Entity's Momentum: 0.04, -0.08, -0.06 Entity's Passengers: [] Entity's Vehicle: ~ERROR~ NullPointerException: nullStacktrace: at bow.a(SourceFile:578) at yt.a(SourceFile:405)
      -- Affected level --Details: All players: 1 total; [yu['ChromaKey81'/372, l='ServerLevel[development 12]', x=281.18, y=71.00, z=-82.74]] Chunk stats: ServerChunkCache: 2053 Level dimension: minecraft:overworld Level seed: -6183872666550422925 Level generator options: NBT[{}] Level spawn location: World: (240,67,-128), Chunk: (at 0,4,0 in 15,-8; contains blocks 240,0,-128 to 255,255,-113), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Level time: 16172 game time, 16172 day time Level name: development 12 Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Level generator: ID 00 - default, ver 1. Features enabled: true Level weather: Rain time: 91978 (now: false), thunder time: 78107 (now: false) Known server brands: vanilla Level was modded: false Level storage version: 0x04ABD - AnvilStacktrace: at net.minecraft.server.MinecraftServer.b(SourceFile:900) at net.minecraft.server.MinecraftServer.a(SourceFile:839) at eoa.a(SourceFile:89) at net.minecraft.server.MinecraftServer.run(SourceFile:698) at java.lang.Thread.run(Thread.java:745)
      -- System Details --Details: Minecraft Version: 20w19a Minecraft Version ID: 20w19a Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1054301384 bytes (1005 MB) / 2046820352 bytes (1952 MB) up to 2147483648 bytes (2048 MB) CPUs: 8 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Player Count: 1 / 8; [yu['ChromaKey81'/372, l='ServerLevel[development 12]', x=281.18, y=71.00, z=-82.74]] Data Packs: vanilla, file/ckexpansion, file/platypack_beta0.61_no_recipes.zip (incompatible) Type: Integrated Server (map_client.txt) Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.

            Unassigned Unassigned
            ChromaKey81 ChromaKey
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: