Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-275186

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.21.1
    • None
    • Windows 11, Java 21
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            tenfalcon tenfalcon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: