Minecraft wiki entry for Raw_Cod, associated text: Guardians and elder guardians have a 40% and 50% chance, respectively, to drop raw cod when killed. In Java Edition, cooked cod is dropped if a guardian is on fire when killed.