Channeling enchantment doesn't work when mob is in water or lava
The bug
The channeling enchantment doesn't work on a mob whilst it is standing in water or lava.
How to reproduce
- Summon an entity in a block of water
- Run the command /weather thunder
- Obtain a trident with the Channeling enchantment
- Strike the entity with the trident
Observed behavior
No lightning strikes the entity and the Channeling enchantment does not affect the entity.
Expected behavior
The Channeling enchantment would be effective even when the entity is in water.
Code analysis
Code analysis by Xander Smith can be found in this comment.
Created Issue:
Channeling enchantment doesn't work when mob is in water
The channeling enchantment doesn't work when a mob is standing in water, or is fully covered in water.
The channeling enchantment doesn't work
when a mob is standing in water, or is fullycovered in water.The channeling enchantment doesn't work on a mob whilst it is standing in water, or is fully submerged in water.
relates to
relates to
The bug
The channeling enchantment doesn't work on a mob whilst it is standing in water, or is fully submerged in water.
How to reproduce
- Summon an entity in a block of water
- Run the command /weather thunder
- Obtain a trident with the Channeling enchantment
- Strike the entity with the trident
Observed behavior
No lightning strikes the entity and the Channeling enchantment does not affect the entity.
Expected behavior
The Channeling enchantment would be effective even when the entity is in water.
The bug
The channeling enchantment doesn't work on a mob whilst it is standing in water
,oris fully submerged in water.How to reproduce
- Summon an entity in a block of water
- Run the command /weather thunder
- Obtain a trident with the Channeling enchantment
- Strike the entity with the trident
Observed behavior
No lightning strikes the entity and the Channeling enchantment does not affect the entity.
Expected behavior
The Channeling enchantment would be effective even when the entity is in water.
The bug
The channeling enchantment doesn't work on a mob whilst it is standing in water or lava.
How to reproduce
- Summon an entity in a block of water
- Run the command /weather thunder
- Obtain a trident with the Channeling enchantment
- Strike the entity with the trident
Observed behavior
No lightning strikes the entity and the Channeling enchantment does not affect the entity.
Expected behavior
The Channeling enchantment would be effective even when the entity is in water.
Channeling enchantment doesn't work when mob is in water or lava
The bug
The channeling enchantment doesn't work on a mob whilst it is standing in water or lava.
How to reproduce
- Summon an entity in a block of water
- Run the command /weather thunder
- Obtain a trident with the Channeling enchantment
- Strike the entity with the trident
Observed behavior
No lightning strikes the entity and the Channeling enchantment does not affect the entity.
Expected behavior
The Channeling enchantment would be effective even when the entity is in water.
Code analysis
Code analysis by Xander Smith can be found in this comment.
I'd said no. Powder snow does not match the description of this report, therefore it should be related and not marked as a duplicate. Also relates to MC-125773.
I would assume the cause of this bug (as well as MC-125773 and MC-217528) to be that Channeling checks for sky exposure at a mob's feet level. So when mobs are standing on non-full blocks that block sky light, their feet technically don't have sky access, therefore Channeling doesn't work. Similarly, when mobs are riding boats/minecarts, their hitboxes extend below the bottom of the vehicles, observable using F3 + B. Hopefully someone can do a code analysis on this, so my speculation can be confirmed.



Still an issue in 1.13pre2
Confirmed for 1.15.1 and 1.15.2pre1
Lightning summoned doesn't go through water unless you are standing in it, perhaps lightning from channeling is supposed to act like it comes from the sky and hits something and not instantly spawned were you point it?
Can confirm in 20w49a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w06a.
Can confirm in 1.16.5 and 21w08b.
Duplicate of MC-134920
Can confirm in 21w11a. I wouldn't say this is a duplicate of MC-134920, however, it's related.
Can confirm in 21w13a.
Can confirm in 21w16a.
Can confirm in 21w17a.
Can confirm in 1.17.1.
Can confirm this in 1.18 Pre-release 4. Here are some extra details regarding this problem.
The Bug:
The channeling enchantment doesn't work if entities are in water.
Steps to Reproduce:
/weather thunder /give @s minecraft:trident{Enchantments:[{id:"minecraft:channeling",lvl:1}]}Observed Behavior:
The channeling enchantment doesn't work if entities are in the water.
Expected Behavior:
The channeling enchantment would work if entities are in water.
Can confirm in 1.18.1.
Can confirm in 22w06a. This issue can also be seen with lava and isn't just exclusive to water.
Can confirm in 22w11a.
Can confirm in 1.18.2 and 22w13a.
Code analysis
Based on yarn mappings in 1.18.2
I'm guessing this is the this.world.isSkyVisible(blockPos) which checks if the block's light level is the maximum, which it isn't in water.
Can confirm in 1.19.
Can confirm in 1.19.2.
Can confirm in 23w03a.