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

Game crashes when wind charge hits entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w12a
    • 24w11a
    • None
    • Confirmed
    • Crash, Data Packs
    • Normal
    • Platform

      What I expected to happen was...:
      Wind charge hits entity

      What actually happened was...:
      Game crashes and world cannot be relaunched without crashing

      Steps to Reproduce:
      1. Look at entity

      2. Throw wind charge

      3. Get crash report:
      Description: Ticking entity
       
      java.lang.IllegalStateException: Missing key in ResourceKey[minecraft:root / minecraft:damage_type]: ResourceKey[minecraft:damage_type / minecraft:wind_charge]
      at ji.h(SourceFile:152)
      at java.base/java.util.Optional.orElseThrow(Optional.java:403)
      at ji.g(SourceFile:152)
      at bpk.a(SourceFile:81)
      at bpk.c(SourceFile:214)
      at clt.a(SourceFile:92)
      at cld.a(SourceFile:174)
      at clt.a(SourceFile:124)
      at cks.l(SourceFile:85)
      at clt.l(SourceFile:170)
      at aqe.a(SourceFile:768)
      at czu.a(SourceFile:491)
      at aqe.a(SourceFile:406)
      at due.a(SourceFile:54)
      at aqe.a(SourceFile:370)
      at net.minecraft.server.MinecraftServer.b(SourceFile:994)
      at net.minecraft.server.MinecraftServer.a(SourceFile:885)
      at gqs.a(SourceFile:113)
      at net.minecraft.server.MinecraftServer.y(SourceFile:687)
      at net.minecraft.server.MinecraftServer.a(SourceFile:272)
      at java.base/java.lang.Thread.run(Thread.java:833)
       
       
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
       
      – Head –
      Thread: Server thread
      Stacktrace:
      at ji.h(SourceFile:152)
      at java.base/java.util.Optional.orElseThrow(Optional.java:403)
      at ji.g(SourceFile:152)
      at bpk.a(SourceFile:81)
      at bpk.c(SourceFile:214)
      at clt.a(SourceFile:92)
      at cld.a(SourceFile:174)
      at clt.a(SourceFile:124)
      at cks.l(SourceFile:85)
      at clt.l(SourceFile:170)
      at aqe.a(SourceFile:768)
      at czu.a(SourceFile:491)
      at aqe.a(SourceFile:406)
      at due.a(SourceFile:54)
       
      – Entity being ticked –
      Details:
      Entity Type: minecraft:wind_charge (clv)
      Entity ID: 67
      Entity Name: Wind Charge
      Entity's Exact location: -156.97, 5.06, 68.83
      Entity's Block location: World: (-157,5,68), Section: (at 3,5,4 in -10,0,4; chunk contains blocks -160,-64,64 to -145,319,79), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
      Entity's Momentum: -0.66, -1.20, 0.62
      Entity's Passengers: []
      Entity's Vehicle: null
      Stacktrace:
      at czu.a(SourceFile:491)
      at aqe.a(SourceFile:406)
      at due.a(SourceFile:54)
      at aqe.a(SourceFile:370)
      at net.minecraft.server.MinecraftServer.b(SourceFile:994)
      at net.minecraft.server.MinecraftServer.a(SourceFile:885)
      at gqs.a(SourceFile:113)
      at net.minecraft.server.MinecraftServer.y(SourceFile:687)
      at net.minecraft.server.MinecraftServer.a(SourceFile:272)
      at java.base/java.lang.Thread.run(Thread.java:833)

            slicedlime [Mojang] slicedlime
            ParadocOfTheHeap Josh DaBoss
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: