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

Issue with creating custom mining tools in an addon.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.16.201 Hotfix
    • None
    • Unconfirmed
    • Windows

      I WAS MISTAKEN

      I’ve just found out this is not a bug but is intentional. You may ignore the rest of this post.

      Steps to reproduce❌

      1. Create a new item in a behaviour pack with the component “minecraft:digger”.
      2. Add “destroy_speeds” with whatever blocks you choose. (Inside of minecraft:digger)
      3. Add an “on_dig” event inside of minecraft:digger.
      4. Load a Minecraft world using the behaviour pack with the item you just made.
      5. Try digging one of the blocks you specified inside of “destroy_speeds”, and you will see it will only trigger the event on any blocks you didn’t specify.

      Observed Results:❌

      The event only happens when the player mines any block BUT the specified blocks inside of “destroy_speeds”.

      Expected Results:❌

      The event should occur when the player mines any specified blocks inside of “destroy_speeds”.
       

      In the screenshot I highlighted the code I am talking about. I really hope this can get fixed, or at least looked into. Thank you!

            Nexuneth nathan deko
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: