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

Advancement description is required, despite having specific behaviors if it contains no text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.2, 22w42a, 1.19.3, 1.19.4
    • None
    • Plausible
    • Advancements, Resource Packs, Text

      Despite advancements with empty descriptions having the specific behavior of not showing a description box in the menu, it is still a required field.

      Steps to reproduce:

      • Add the following advancement:
        {
            "display": {
                "icon": {
                    "item": "minecraft:flower_banner_pattern"
                },
                "title": {
                    "text": "Test"
                },
                "description": {
                    "text": ""
                },
                "background": "minecraft:textures/gui/advancements/backgrounds/stone.png"
            },
            "criteria": {
                "tick": {
                    "trigger": "minecraft:tick"
                }
            }
        }
      • Observe how the menu shows no description box
      • Remove the description field
      • Observe how the advancement fails to load.

      Expected behavior:
      Description can be left out.

      Current behavior:
      Description is a required field if the display object is provided.

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: