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

Custom Items, tags and block tags don't work in minecraft:digger component anymore


    • Icon: Bug Bug
    • Resolution: Fixed
    • Preview, 1.19.40
    • Preview, Preview, Preview, Preview, Preview, Preview, Preview, Beta, Preview, Preview, Beta, Preview, Beta, 1.19.0, 1.19.2 Hotfix, 1.19.10, 1.19.20
    • Confirmed
    • Multiple
    • 818009


      Tags like minecraft:is_axe, shovel or hoe don't work anymore to give custom tools functionality like vanilla tools (axe, shovel, hoe).

      Custom items with minecraft:digger component don't take any block tags into consideration when used like in this example:

      "minecraft:digger": {
             "destroy_speeds": [{
      	    "block": {"tags":"q.any_tag('stone','metal','diamond_pick_diggable')"},
                  "speed": 8}]}

      Before 1.19 beta/preview it was working corectly.
      After 1.19 custom item tags and tags from minecraft:digger component didn't work anymore.

      Steps to reproduce
      Create a behavior pack use the amethyst_pickaxe.json item create a new world mine minecraft:stone notice that the speed is not affected and the block will not drop anything.

            soripop1234 Sori Pop
            22 Vote for this issue
            15 Start watching this issue