mojira.dev
MCPE-119911

Issue with creating custom mining tools in an addon.

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!

Attachments

Comments 4

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).

Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

@kiizde I’ve updated the post. Hopefully it’s more helpful than before. It is still an issue in the latest versions by the way.

@kiizde I’ve just found out I was mistaken on the use of this component. This is not a bug but is intentional. Sorry for wasting your time but thank you for taking a look at it.

As per reporter's comment closing as Cannot Reproduce.

nathan deko

(Unassigned)

Unconfirmed

Windows

1.16.201 Hotfix

Retrieved