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❌
Create a new item in a behaviour pack with the component “minecraft:digger”.
Add “destroy_speeds” with whatever blocks you choose. (Inside of minecraft:digger)
Add an “on_dig” event inside of minecraft:digger.
Load a Minecraft world using the behaviour pack with the item you just made.
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
@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.
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:
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