mojira.dev
MC-276757

Beehives/bee nests broken in Creative do not follow their assigned loot table, but beehives/bee nests broken in Survival do

Relates to MC-276756. May also relate to MC-162705 since that would also be caused by nonstandard item drop code.

The bug

If the loot table for beehives or bee nests is changed such that they drop a block that is not a beehive or bee nest, they will correctly drop that block if broken in Survival mode, but not when broken in Creative mode.

How to reproduce

A data pack that makes beehives drop bee nests and bee nests drop beehives is attached to this ticket.

  1. Download and apply the attached data pack

  2. Get some bees and/or honey in a bee nest or beehive

  3. Break it in Creative

  4. Break it in Survival with Silk Touch

Expected results

In both cases, the opposite bee block would be dropped

Actual results

In Creative mode, the same type of block is dropped instead.

Attachments

Comments 1

muzikbike

(Unassigned)

Confirmed

Loot tables

1.21.1, 24w37a

Retrieved