mojira.dev
MCPE-175590

Item drops from iron golems and cats aren't affected by the looting enchantment

Item drops from iron golems and cats aren't affected by looting enchantment. Here's the list of mob drops without looting enchantment

  • Iron Golem drops 3-5 iron ingot and 0-2 poppies

  • Cat drops 0-2 string

Steps to Reproduce:

  1. Make sure to enchant your sword with Looting 3, using /enchant @s looting 3

  2. Summon Iron golem and cats

  3. Kill it using the sword enchanted with looting and observe the loot that it drops upon death

Observed Results:

  • Killing Cat doesn't increase string drops

  • Killing Iron Golem doesn't increase Iron Ingot and Poppy drops

Expected Results:

Both cat and iron golem drops would be affected by the looting enchantment.

Code Analysis:

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 4

Duplicate of MCPE-35307 I think. If not its related.

Thank you for your report!
We're tracking this issue in MCPE-35307, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

This is not a duplicate of MCPE-35307. This occurs because iron_golem.json and cat.json are missing the "looting_enchant" function.

Ghost29MC_xd

(Unassigned)

1124607

Confirmed

Multiple

cat, iron_golem, looting

1.20.31 Hotfix, 1.20.40.23 Preview, 1.20.40.24 Preview, 1.20.50.20 Preview, 1.20.32 Hotfix, 1.20.60.20 Preview, 1.20.51 Hotfix, 1.21.60.23 Preview, 1.21.0.21 Preview, 1.20.70.21 Preview

Retrieved