mojira.dev
MCPE-174550

Fish drops from fish entities aren't affected by the looting enchantment

Fish drops from fish entities aren’t affected by the looting enchantment. They drop a fish and bone (25% chance) if without looting enchantment. But fish dropping doesn't increase when using looting enchantment.

Affects cod, salmon, tropical fish, and pufferfish

Steps to Reproduce:

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

  2. Summon a cod, salmon, tropical fish, or pufferfish.

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

Observed Results:

Fish drops aren't affected by the looting enchantment, but bone drops are.

Expected Results:

Fish drops would be affected by the looting enchantment.

Code Analysis:

Fish drops in fish.json, pufferfish.json, salmon_<size>.json, and tropicalfish.json are missing the "looting_enchant" function. (Similar in this comment).

Linked issues

Attachments

Comments 1

[media][media][media][media]

Ghost29MC_xd

(Unassigned)

1096800

Confirmed

Multiple

cod, looting, pufferfish, salmon, tropical_fish

1.20.40.20 Preview, 1.20.30.25 Preview, 1.20.30.24 Preview, 1.20.15 Hotfix, 1.20.40.21 Preview, ..., 1.20.60.22 Preview, 1.20.51 Hotfix, 1.21.60.23 Preview, 1.21.0.21 Preview, 1.20.70.21 Preview

Retrieved