Mojira Archive
MC-268877

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

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.

Fixed

[Mod] ampolive

[Mojang] Gegy

2024-02-28, 11:24 PM

2024-04-03, 10:12 AM

2024-04-03, 10:05 AM

1

2

Plausible

Important

Platform

Datafixer

24w09a, 24w10a, 24w13a

24w10a, 24w14a