mojira.dev
MCPE-155786

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

Update!

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.
 
 
 

Linked issues

Attachments

Comments 5

Resolving temporarily as Awaiting Response. Could you please attach the entire addon to this report?
This ticket will reopen automatically when you reply.

Sorry, I don't have the old add-on anymore. I fixed everything by adding every block in the game manually for every custom tool. Hope you fix this soon didn't find a proper fix for the custom tools right click functionality yet, minecraft:on_use_on component is not working the same way as vanilla.

I can also confirm this is happing and this is pretty much halting so much of my addon at the moment its pretty annoying.

still a problem in 1.19.20

This is still a problem in 1.19.21 :/

Sori Pop

(Unassigned)

818009

Confirmed

Multiple

Windows 10 , Android 5.1 , IOS 7 , Xbox

custom-item, custom-tool-tag, digging, tag, tags, tool-tag

1.19.30.22 Preview, 1.19.20.23 Preview, 1.19.10.24 Preview, 1.19.10.23 Preview, 1.19.10.22 Preview, ..., 1.19.0.30 Beta, 1.19.0, 1.19.2 Hotfix, 1.19.10, 1.19.20

1.19.40.20 Preview, 1.19.40

Retrieved