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

Configured features within datapacks are broken (FIXED – see comments)

    XMLWordPrintable

    Details

    • Confirmation Status:
      Unconfirmed

      Description

      The Bug:

      In the newest snapshot, all instances of the name field within worldgen json files (datapacks) have been renamed to type. However, the game log returns an error stating Feature: No key name in MapLike when name is renamed to type, and returns Feature: Input does not contain a key [type] if I don't rename the name fields to type.

       

      To Reproduce:

      1. Add the attached datapack to a new world
      2. Teleport to anywhere in custom:test

      What should happen: the terrain should generate with custom birch trees from minecraft/worldgen/configured_feature/custom/trees_birch.

      What actually happens: the custom trees do not generate and instead the following error is returned in the game log:

      Feature: No key name in MapLike[\{"config":{"feature":"custom:birch_bees_0002","decorator":{"config":{"outer":{"config":{},"type":"minecraft:square"},"inner":\{"config":{},"type":"minecraft:heightmap"}},"type":"minecraft:decorated"}},"type":"minecraft:decorated"}]

       

      Important Notes:

      This configured feature is taken directly from Slicedlime's vanilla worldgen folder https://t.co/cm3pJcAHcy?amp=1 and has not been modified except for path names.

      I also got this error when adding a datapack which listed individual structures in the dimension json file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Endwater29 Ethan Wilson
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: