-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w07c, Minecraft 1.13-pre6, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.15.2, 20w17a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w13a, 21w16a, 21w17a, 1.17.1, 1.18 Pre-release 4, 1.18.1, 22w06a, 1.18.2 Pre-release 2, 1.18.2, 22w11a, 22w13a, 1.19, 1.19.2, 1.19.3, 23w03a, 1.20.1
-
Confirmed
-
Entities
-
Low
-
Platform
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 isXander can be found in this comment.