mojira.dev
MC-280262

Running `loot` on decorated pot with a tool doesn't drop the correct loot table

Summary:

Run loot spawn ~ ~ ~ mine ~ ~ ~ mainhand or loot spawn ~ ~ ~ mine ~ ~ ~ diamond_pickaxe on a decorated pot Instead of dropping the shards and contents of the pot, it simply just drops the pot, without contents. Even when you mine it normally, it should still drop the contents, but also it then just drops the pot.

Steps to Reproduce: Case A:

  • Put down a decorated pot and fill it with some items.

  • Simulate smashing it with a tool. loot spawn ~ ~ ~ mine ~ ~ ~ diamond_pickaxe

Case B:

  • Put down a decorated pot and fill it with some items.

  • Simulate smashing it with your empty hand. loot spawn ~ ~ ~ mine ~ ~ ~ mainhand

Observed Results:

A and B both drop the pot without contents. Expected Results: A should drop the sherds used in the pot and the contents of the pot B should drop the pot and the contents of the pot

Comments 0

No comments.

AgentM

(Unassigned)

Confirmed

Platform

Low

Commands

1.21.4, 25w08a

Retrieved