Mojira Archive
MC-275186

Enchantment effect component "hit_block" does not trigger on full blocks for tridents.

Using data-driven enchantments in a datapack and editing the vanilla channeling enchantment by removing the section: 

{
  "block": "minecraft:lightning_rod",
  "condition": "minecraft:block_state_property"
} 

Should make it so that whenever a trident hits any block, lightning is summoned. However it only works when when hitting blocks without a full hitbox, for example: fences, iron bars, trapdoors, snow layers (2 to 7), cakes, conduit.

Hitting any full block does not seem to trigger the lightning.

Awaiting Response

tenfalcon

2024-08-14, 08:20 PM

2024-08-14, 09:34 PM

2024-08-14, 09:34 PM

0

0

Unconfirmed

(Unassigned)

1.21.1

-