Item drops from fish entities aren't affected by the looting enchantment
The Bug:
Item drops from fish entities aren't affected by the looting enchantment.
Just for clarification reasons, the affected entities are cod, salmon, tropical fish, and pufferfish.
Steps to Reproduce:
- Give yourself a sword with a high level of looting by using the command provided below.
/give @s minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:100}]} - 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.
- Take note as to whether or not item drops from fish entities are affected by the looting enchantment.
Observed Behavior:
Item drops aren't affected by the looting enchantment.
Expected Behavior:
Item drops would be affected by the looting enchantment.
Code Analysis:
Code analysis by [Mod] Avoma can be found below.
In the affected mob's json files (cod.json, salmon.json, tropical_fish.json, and pufferfish.json), we can see that the "minecraft:looting_enchant" function (the function that's responsible for modifying the count of how many items are returned when an entity is killed by an item with the looting enchantment) isn't present anywhere within the affected mob's loot table, therefore resulting in the drops of cod, salmon, tropical fish, and pufferfish not being affected by the looting enchantment.
Linked Issues
is duplicated by1
relates to4
Created Issue:
Salmon & Fish mobs are not affected by Looting
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
The issue in quesiton may be reproduced as so:
Step 1: locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.Step 2: Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
Step 3: Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Environment
Operating System: Windows 10
Game version: Java Edition 1.16.5
Java version: 1.8.0_51 64bit
Memory: 2048 MB allocated
CPU: AMD Ryzen 9 3900X 12 Core Processor
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
The issue in quesiton may be reproduced as so:
Step 1: locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.Step 2: Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
Step 3: Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.
duplicates
Operating System: Windows 10
Game version: Java Edition 1.16.5
Java version: 1.8.0_51 64bit
Memory: 2048 MB allocated
CPU: AMD Ryzen 9 3900X 12 Core Processor
duplicates
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
The issue in quesiton may be reproduced as so:
Step 1: locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.Step 2: Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
Step 3: Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
To reproduce
- Locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.
- Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
- Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.
is duplicated by
relates to
WAI
MC-149297
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
To reproduce
- Locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.
- Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
- Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.
The bug
Looting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
To reproduce
- Locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.
- Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
- Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.
The
bugLooting III does not affect Salmon and Fish mobs. This is inconsistent with the standard behaviour of Looting with the standard drop table not being multiplied. In particular, a chicken is affected by looting, which like fish drops a single item representing itself (raw chicken) when slain using a weapon not enchanted with looting, yet drops multiple when using a weapon enchanted with looting. Using an already established mob that has drop mechanics near identical to fish with the exception of a second drop, fish should behave the same, but do not.
Toreproduce
- Locate, or for the purposes of testing, produce a salmon or cod alongside a chicken as a control variable.
- Using a sword enchanted with Looting I, II, or III, slay both creatures and retrieve their drops.
Note the differences in drops over multiple tests. One fish will produce one fish consistently, but one chicken may produce from 1-4 whole raw chickens (alongside feathers, which are irrelevant for testing purposes).
Note: The attached image is a test done using a looting 3 diamond sword against four salmon and four chickens.The Bug:
Item drops from fish entities aren't affected by the looting enchantment.
Just for clarification reasons, the affected entities are cod, salmon, tropical fish, and pufferfish.
Steps to Reproduce:
- Give yourself a sword with a high level of looting by using the command provided below.
/give @s minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:100}]}- 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.
- Take note as to whether or not item drops from pandas are affected by the looting enchantment.
Observed Behavior:
Item drops aren't affected by the looting enchantment.
Expected Behavior:
Item drops would be affected by the looting enchantment.
Code Analysis:
Code analysis by [Mod] Avoma can be found below.
In the affected mob's json files (cod.json, salmon.json, tropical_fish.json, and pufferfish.json), we can see that the "minecraft:looting_enchant" function (the function that's responsible for modifying the count of how many items are returned when an entity is killed by an item with the looting enchantment) isn't present anywhere within the affected mob's loot table, therefore resulting in the drops of cod, salmon, tropical fish, and pufferfish not being affected by the looting enchantment.
Salmon & Fish mobs arenot affected byLootingItem drops from fish entities aren't affected by the looting enchantment
The Bug:
Item drops from fish entities aren't affected by the looting enchantment.
Just for clarification reasons, the affected entities are cod, salmon, tropical fish, and pufferfish.
Steps to Reproduce:
- Give yourself a sword with a high level of looting by using the command provided below.
/give @s minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:100}]}- 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.
- Take note as to whether or not item drops from
pandas are affected by the looting enchantment.Observed Behavior:
Item drops aren't affected by the looting enchantment.
Expected Behavior:
Item drops would be affected by the looting enchantment.
Code Analysis:
Code analysis by [Mod] Avoma can be found below.
In the affected mob's json files (cod.json, salmon.json, tropical_fish.json, and pufferfish.json), we can see that the "minecraft:looting_enchant" function (the function that's responsible for modifying the count of how many items are returned when an entity is killed by an item with the looting enchantment) isn't present anywhere within the affected mob's loot table, therefore resulting in the drops of cod, salmon, tropical fish, and pufferfish not being affected by the looting enchantment.
The Bug:
Item drops from fish entities aren't affected by the looting enchantment.
Just for clarification reasons, the affected entities are cod, salmon, tropical fish, and pufferfish.
Steps to Reproduce:
- Give yourself a sword with a high level of looting by using the command provided below.
/give @s minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:100}]}- 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.
- Take note as to whether or not item drops from fish entities are affected by the looting enchantment.
Observed Behavior:
Item drops aren't affected by the looting enchantment.
Expected Behavior:
Item drops would be affected by the looting enchantment.
Code Analysis:
Code analysis by [Mod] Avoma can be found below.
In the affected mob's json files (cod.json, salmon.json, tropical_fish.json, and pufferfish.json), we can see that the "minecraft:looting_enchant" function (the function that's responsible for modifying the count of how many items are returned when an entity is killed by an item with the looting enchantment) isn't present anywhere within the affected mob's loot table, therefore resulting in the drops of cod, salmon, tropical fish, and pufferfish not being affected by the looting enchantment.
relates to
Forwards-resolved towards MC-212795 as that's more detailed and actually explains why this is a bug.


Additional: it has come to my attention that the behaviour of rabbits matches those of chickens in dropping one of itself unless looting is applied. This means that there is an in game trend of animals dropping one item has an exception allowing the drop of more than one only with looting. This further proves fish mobs have inconsistency and therefore bug like behaviour
Relates to MC-200707 and MC-160006.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 1.19 Pre-release 1. This issue is most notably apparent when using high levels of looting. For ease of reproducing this, you can give yourself a sword enchanted with looting 100 and simply kill a fish/salmon and observe the issue.
/give @s minecraft:diamond_sword{Enchantments:[{id:"minecraft:looting",lvl:100}]}Can confirm in 1.19.
Code Analysis:
In the affected mob's json files (cod.json, salmon.json, tropical_fish.json, and pufferfish.json), we can see that the "minecraft:looting_enchant" function (the function that's responsible for modifying the count of how many items are returned when an entity is killed by an item with the looting enchantment) isn't present anywhere within the affected mob's loot table, therefore resulting in the drops of cod, salmon, tropical fish, and pufferfish not being affected by the looting enchantment.
This is probably intentional. On an intuitive level, fish items look like whole fish, implying that a fish mob drops its entire body, so it doesn't make sense to get multiple fish from one. From a parity standpoint, I'm a Bedrock player and can confirm the "bug" on this edition too.
@Blobs2 same for chicken, which are affected by looting.