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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.16.200
    • None
    • Community Consensus
    • Multiple

      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.

            Ihategravel Bob bob
            Votes:
            4 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: