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

Stonecutter no longer uses custom nbt in item selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.20.2 Pre-release 1, 1.20.2 Pre-release 2
    • None
    • Unconfirmed
    • (Unassigned)

      Before 1.20.2 (Pre-1), if custom/modded server sent Stonecutter recipe, that contained custom nbt in the output item, Vanilla client would display it without issues. Since this pre-release (or likely earlier snapshot), it is no longer the case.

      After checking the serialization code with Fabric, it looks like recipe constructed from packet doesn't copy nbt into new/recipe-bound ItemStack, while still writing it to the packet. While it doesn't affect vanilla servers, it still breaks functionality from previous versions. See attached images for comparition between 1.20.2 and 1.20.1.

            Unassigned Unassigned
            Patbox Patbox
            Votes:
            23 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: