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

crossbow_charge_time enchantment effect ignores slot field of enchantment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21
    • None
    • Community Consensus
    • Data Packs, Enchantments
    • Normal
    • Platform

      crossbow_charge_time enchantment effect works in both hands, ignoring slot field of enchantment. It is probably introduced by the fix of MC-272339.

      Steps to reproduce

      1. install the attached datapack and rejoin the world
      2. take a crossbow and enchant it by /enchant @s test:never_charge
      3. try to charge the crossbow in mainhand and offhand

      Expected behavior
      Since the enchantment is specified to work only in mainhand, the crossbow only takes very long time to charge in mainhand.
      The charge time in offhand should be normal.

      Observed behavior
      The charge time is very long even if the crossbow is in offhand.

        1. bug_report.zip
          0.8 kB
        2. never_charge.json
          0.4 kB
        3. 2024-06-20_18-59-48.mp4
          1.37 MB

            Unassigned Unassigned
            d291623 Yui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: