Mojira Archive
MC-256827

Advancement description is required, despite having specific behaviors if it contains no 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.

Works As Intended

user-f2760

2022-10-23, 08:44 PM

2023-04-28, 07:18 AM

2023-04-28, 07:18 AM

0

2

Plausible

Advancements, Resource Packs, Text

1.19.2, 22w42a, 1.19.3, 1.19.4

-