Channeling

Channeling is a trident enchantment that produces lightning.

Obtaining
Channeling is available from enchantment tables, raid drops, books obtained by fishing, minecart chests, dungeon chests, librarian villagers, and from chests found in Overworld non-village structures.

Usage
Channeling summons a lightning bolt when a mob is hit by a thrown trident if there is currently a thunderstorm occurring.

The mob must be exposed to the open sky for the enchantment to work. This enchantment allows the player to change creepers into charged creepers, villagers into witches, pigs into zombified piglins, and mooshrooms into their opposite color (red into brown and vice versa).

In Java Edition, Channeling doesn't affect mobs in some circumstances. A mob cannot be: in, in , in a , on , on , on (if snow layer is 8), in a Minecart or in a Boat while being hit with this enchantment. Mobs in minecarts and boats can be struck only if passive.

However, it should be noted that in the circumstances stated above, even though a lightning cannot be summoned if the mob itself is hit by a Channeling trident, they are still affected by the lightning if it strikes nearby. For instance, if a Channeling trident hits an armor stand next to a creeper in water, the lightning will be summoned as normal, and the creeper will become charged, for being in the affected radius of the lightning.

Channeling tridents thrown at lightning rods always create lightning without the need for a mob.

Incompatibilities
Channeling and Riptide are mutually exclusive. If combined using commands, Riptide supercedes Channeling.

ID