Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-175239

"on_dig" no longer works with 1.20.30 format version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.30
    • None
    • Unconfirmed
    • Windows

      After converting my add-on for my items to support 1.20.30, I realised the "on_dig" in the digger component no longer works as it should, when it normally would. The event it leads to is supposed to make it lose durability.

      However, I did try applying a fill command around the player in this event afterwards as a way to double check its function, and it seemed to work exclusively in creative, but not in survival, so it's not only damaging the tool that's not working.

      I am more than 100% certain nothing is affecting the item itself, the only thing I changed was replacing creative_category with menu_category in the description. I thought it was a general issue with events, but the "on_hurt_entity" and "on_hit_block" under the weapon component executed the events just fine.

      I used the error checker under creator in settings, and no errors appeared.

      Thanks for reading.

            Stratospheer Stratospheer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: