mojira.dev
MC-256504

Non-oak planks do not generate in bonus chests at all

Discovered while testing MC-256500.

The bug

Bonus chests can contain wood of any type obtainable in the Overworld. However, the wooden planks which they can also contain only appear to be the oak variety.

How to reproduce

The reproduction steps in MC-256500 can also be used to reproduce this issue.

Expected results

Bonus chests would have the potential to contain a diverse array of planks species.

Actual results

Only oak planks are obtainable from bonus chests, which is inconsistent with logs and also outdated.

Linked issues

Attachments

Comments 4

I can confirm this behavior. To reproduce, you can run the following command provided below to summon a repeating command block that constantly generates the loot found within bonus chests and observe how non-oak planks never appear to generate.

/setblock ~1 ~ ~1 minecraft:repeating_command_block{Command:"loot spawn ~ ~2 ~ loot minecraft:chests/spawn_bonus_chest",auto:1b}
[media][media]

Can confirm in 23w03a

Um, this WAI seems to be in direct contradiction to the fixing of MC-250099 (granted it mentioned logs too, which was fixed); was the design changed since the fix?
How about the fact logs do spawn of any type?

muzikbike

(Unassigned)

Confirmed

Gameplay

Loot tables

1.19.2, 22w42a, 22w45a, 1.19.3, 23w03a, 1.19.4 Pre-release 3, 1.19.4

Retrieved