Mojira Archive
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.

Incomplete

Bob bob

2020-12-11, 08:56 PM

2021-04-23, 04:53 PM

2021-04-23, 04:53 PM

4

0

Community Consensus

1.16.200

-