-
Bug
-
Resolution: Duplicate
-
None
-
20w30a
-
Unconfirmed
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:
- Add the attached datapack to a new world
- 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.
- duplicates
-
MC-195407 Adding custom setting parameters to a dimension.json causes an error (Datapack)
- Resolved