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. Unlike Bone can increase drop and chance, fish doesn't increase when using looting enchantment. Affects Cod, Pufferfish, Salmon, and Tropical Fish

Steps to Reproduce:

  1. Enchant a sword with Looting 3 by typing /enchant @s looting 3

  2. Summon a Cod, Pufferfish, Salmon, or Tropical Fish.

  3. Kill it using enchanted Looting 3 sword 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.21.60.23 Preview, 1.21.0.21 Preview, 1.20.70.21 Preview, 26.0, 26.10.23 Preview

Retrieved