If the "show_in_tooltip" boolean within the "can_break" component is set to "false" or when the "hide_additional_tooltip" compound component is assigned, the "Can Destroy" tooltip is not hidden and shows "Unknown" and the affected tool is able to destroy all blocks in Adventure Mode.
Comments 4
/give @s iron_axe[can_break={predicates:[{blocks:#logs}],show_in_tooltip:false}]
Was I just typing the command wrong the last time?
#logs
needs to be in quotation marks, but otherwise that command works for me. Is it working for you?
I'm not able to reproduce this; could you provide the exact command you're using?
This command works as expected for me:
Also, note that the
hide_additional_tooltip
component isn't expected to hide the "Can break" tooltip, as it only hides item-specific information (e.g. potion effects, written book details, etc.).