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

root_system feature config's codec uses a wrong field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.17.1 Pre-release 1
    • 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17
    • None
    • Confirmed
    • Custom Worlds, World generation
    • Important

      The codec of RootSystemFeatureConfig class uses the requiredVerticalSpaceForTree field twice, one for required_vertical_space_for_tree, the other for allowed_vertical_water_for_tree.

      It makes the allowedVerticalWaterForTree field unused, and prevents the feature to work as expected.

       

      Affected parts of the codec:

      .fieldOf("required_vertical_space_for_tree").forGetter(arg -> arg.requiredVerticalSpaceForTree)
      .fieldOf("allowed_vertical_water_for_tree").forGetter(arg -> arg.requiredVerticalSpaceForTree)

            slicedlime [Mojang] slicedlime
            Yanis48 Yanis
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: