mojira.dev
MC-50667

CanDestroy & CanPlaceOn doesn't accept datavalues

When adding the CanDestory tag to tools, specific data values cannot be specified.

Example: I can make a diamond pick that can break stonebricks with "/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:["minecraft:stonebricks"]}"

But I cannot make one that breaks only Cracked Stone bricks.

/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:["minecraft:stonebricks:2"]}

/give @p minecraft:diamond_pickaxe 1 0 {CanDestroy:["minecraft:stonebricks 2"]}

Both Create a pick that "Can break: missingno"

Linked issues

Attachments

Comments 1

1. It should be minecraft:stonebrick.
2. This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

Max Hadson

(Unassigned)

Unconfirmed

Minecraft 14w10c

Retrieved