mojira.dev
MCPE-110683

on_dig for minecraft:digger only activates event for blocks/tags not listed under destroy_speeds

on_dig only activates the specified event for blocks/tags not listed in the destroy_speeds section.
"minecraft:digger": {
"use_efficiency": true,
"destroy_speeds": [
{
"block":

{ "tags": "q.any_tag('stone', 'metal', 'wood_pick_diggable')" }

,
"speed": 2
},

{ "block": "minecraft:ice", "speed": 2 }

,

{ "block": "minecraft:sandstone", "speed": 2 }

],
"on_dig":

{ "event": "ihg:break" }

The event "ihg:break" will not activate from the tags stone, metal, wood_pick_diggable and the blocks minecraft:ice and minecraft:sandstone, only blocks not specified like dirt will activate ihg:break.

Comments 3

i can confirm, it seems to be inverted

To make your bug report as effective as possible, please attach the add-ons you're using 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.

Quick Links:
πŸ““Β Issue Guidelines – πŸ’¬Β Mojang Support – πŸ“§Β Suggestions – πŸ“–Β Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Bob bob

(Unassigned)

Community Consensus

Multiple

Windows 10

1.16.200

Retrieved