mojira.dev
MCPE-36442

Error when getting items that break certain blocks

I wanted to get a diamond pickaxe that only breaks diamond blocks for my adveture map. But it say the whole time error. 

Look in the attachment if you want to know it

Attachments

Comments 2

You have to quote the name of the block, like this:

{"minecraft:can_destroy":{"blocks":["diamond_block"]}}

^ Indeed. As well, it appears as though you are using “smart quotes” instead of the correct "straight quotes".

Richard Kroes

(Unassigned)

Unconfirmed

Phone - iOS - iPhone 6

1.5.2.1

Retrieved