mojira.dev
MCPE-226262

Copper Golems Don't Drop Poppy When Killed It or Sheared Flower

In the latest version, iron golems can give copper golems a poppy as an easter egg. However, when players kill a copper golem with a poppy or use shears to trim the flower, the poppy is not dropped as an item. This behavior is inconsistent with other dropping mechanics in the game.

How to Reproduce:

  1. Summon a copper golem with a poppy using the command:
    /summon copper_golem ~ ~ ~ ~ ~ minecraft:on_take_flower

  2. Kill the copper golem or use shears on its flower

  3. Check the dropped items

Observed Result:

  • No poppy is dropped when killing the copper golem

  • No poppy is obtained when using shears on the flower

Expected Result:
The poppy should be dropped as an item when:

  1. The copper golem is killed

  2. The flower is trimmed with shears

How to Fix:

Add this JSON file into copper golem’s entities file just like snow golem:

"spawn_items": { "table": "loot_tables/entities/copper_golem_shear.json" }

And create a loot table named copper_golem_shear.json for sheared copper golems:

{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "minecraft:poppy",
          "weight": 1,
          "count": 1
        }
      ]
    }
  ]
}

Attachments

Comments 3

I made a behavior packs to resolve this problem. I found that the copper golem loot table file is lost so I add it in the file.

[media][media]

Note: Minecraft 1.21.100.24 fixed sheared loot tables but kill poppy copper golem still don’t drop flowers.

I think this issue might be some loot tables are lost. So add some loot tables file can solve this issue.

Ju_mao

(Unassigned)

1460162

Confirmed

Multiple

1.21.110.23 Preview

1.21.110.25 Preview

Retrieved