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:
- Make sure to enchant your sword with Looting 3, using /enchant @s looting 3
- Summon a cod, salmon, tropical fish, or pufferfish.
- 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).
2023-08-24, 09:08 AM
2024-12-09, 03:41 AM
5
0
1096800
cod, looting, pufferfish, salmon, tropical_fish
1.21.60.23 Preview - 1.20.51 Hotfix
1.21.60.23 Preview, 1.21.0.21 Preview, 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.40.22 Preview, 1.20.30, 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.60.22 Preview, 1.20.70.21 Preview, 1.20.51 Hotfix
-