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

Game crashes when one of the vanilla damage types is removed with a data pack / java.lang.IllegalStateException: Missing key in ResourceKey[minecraft:root / minecraft:damage_type]: ResourceKey[minecraft:damage_type / minecraft:<damage_type>]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.20.6, 1.21 Pre-Release 4
    • None
    • Community Consensus
    • Crash

      When a vanilla damage type is blocked by a data pack, the server crashes when loading data packs.

      How to reproduce:

      1. In the singleplayer world list, click "Create New World."
      2. Add the attached data pack (MC-273171.zip) in the data packs screen.
      3. Create the world.

      Expected result:

      The game loads fine, but without the removed damage type.

      Observed result:

      The game crashes upon trying to load the data pack.

            Unassigned Unassigned
            ManosSef [Mod] ManosSef
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: