Note:This may be intended.
If you hold a sword (enchanted looting) on your main hand, and hold maybe a splash potion of instant damage on the other hand, and you kill an entity with the splash potion, the looting still works.
Comments 2
Yes, duplicate of MC-3304.
I think this could qualify as a dupe of MC-3304. The "weapon" is a damage potion.