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

show_notification only works for shaped crafting recipes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 23w07a, 1.19.4 Pre-release 1, 1.20, 1.20.5
    • None
    • Confirmed
    • Crafting, Data Packs, UI
    • Normal
    • Platform

      The show_notification is supposed to determines if a notification is shown for recipes, but it is only supported for the crafting_shaped recipe serializer. For all other recipes it always shows the notification.

      Code Analysis

      The Recipe class has a default implementation for showNotification, returning true. Only ShapedRecipe actually overwrites this method and implements parsing show_notification from json.

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            20 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: