22.214.171.124 Beta, 126.96.36.199 Beta, 1.17.30
When a mob gets killed by a projectile, the loot from the mob will not be applied with looting, resulting in less drops from the killed mob. This happend after the 1.17.30 update
The loot from the mob gets applied with looting. Just like it happens on Java.
The mob only drops the amount of loot that is the same as killing a mob without looting.
Steps to reproduce
Shoot an arrow or trident against a Ghast with 1 or 2 health left (try punching the ghast 3 times before shooting)
Switch as quick as possible to a looting 3 sword in your hand
Look at what the Ghast drops, only 0-2 gunpowder and 0-1 ghast tears. This should be 0-5 gunpowder and 0-4 ghast tears per Ghast
In 1.17.10, using a trident, the ghast drops:
3 gunpowder and 1 ghast tear. Because I got 3 gunpowder, means there must be looting applied as getting 3 gunpowder is impossible without looting (max loot of gunpowder without looting is 2 gunpowder
3 gunpowder and 4 ghast tears. The multiple ghast tears shows that looting is definitely applied in 1.17.10 on mobs killed by looting
In 1.17.30+ (the recording is done in 188.8.131.52, but 1.17.30 experience the same issue as seen by the other attachments)
1 gunpowder. Because I got only 1 gunpowder, it can be said looting is not applied
1 gunpowder and 1 ghast tears. This once again shows looting is not applied if mobs are killed by projectiles
In Java you can see, after throwing the trident, it will drop the loot with looting applied. This means the change in 1.17.30 is in disparity with Java