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

Applying multiple layers of "using_converts_to" will produce ghost items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21 Pre-Release 1
    • 24w19b
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      If the item generated by using_converts_to of component food also contains using_converts_to component, an additional ghost item will be generated (in some cases, it will become a normal item)

       

      /give @p honey_block[minecraft:food={can_always_eat:true,eat_seconds:0.05,nutrition:1,saturation:0,using_converts_to:{id:"moss_block",components:{"minecraft:food":{can_always_eat:true,eat_seconds:0.15,nutrition:1,saturation:1,using_converts_to:{id:"grass_block",components:{"minecraft:food":{can_always_eat:true,eat_seconds:0.9,nutrition:1,saturation:2}}}}}}}] 64

       

      It is recommended to watch the video:

       

      Through 2024-05-23 19-47-12.mp4 you can see that even items that are generated normally cannot stack with the original items if they are saved and reopened when placed separately.

            gegy1000 [Mojang] Gegy
            Kirby46994 beebee
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: