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

Beehives/bee nests in inventory lose honey level after converting to newer world version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w10a, 24w14a
    • 24w09a, 24w10a, 24w13a
    • None
    • Plausible
    • Datafixer
    • Important
    • Platform

      The bug

      Beehives/bee nests in inventory lose honey level after converting to the latest snapshot.

      To reproduce

      1. Create a new creative world in 1.20.4.
      2. Place down a beehive and a bee nest.
      3. Use a debug stick and left-click twice, then right-click until honey_level is set to 5.
      4. Break the beehive and nest and collect them.
      5. Save and exit.
      6. Reload the same world in 24w10a.

      Expected result

      The honey level of the items would stay the same.

      Observed result

      In 24w09a

      The honey level of the items is set to 0.
      This outputs the following in the log:

      [20:22:01] [Server thread/ERROR]: Tried to load invalid item: 'Not a string missed input: {honey_level:5} missed input: {"minecraft:block_state":{honey_level:5}}'
      [20:22:01] [Server thread/ERROR]: Tried to load invalid item: 'Not a string missed input: {honey_level:5} missed input: {"minecraft:block_state":{honey_level:5}}'
      

      In 24w10a

      The honey level of the items is set to "true". This does not fix the issue, and the nest stays with an empty honey level.

            gegy1000 [Mojang] Gegy
            ampolive [Mod] ampolive
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: