Mojira Archive
MC-50795

CanDestroy and CanPlaceOn can be used with item ID's instead of the names

If I type in for example

/give @p command_block 1 0 {CanPlaceOn:["137"]}

(like in one of the pictures), the tooltip says "Can place on: Command Block"
Also when I type in

/give @p diamond_pickaxe 1 0 {CanDestroy:["137"]}

the tooltip says "Can destroy: Command Block"

This is not a major bug, I don't even know if anyone else have noticed this (I didn't see that anyone have reported it yet...), I was just curious and tested it... This somewhat similar to MC-45114 in that it uses the block ID's instead of the names.

Fixed

Ruben

2014-03-10, 11:33 PM

2018-01-30, 10:19 AM

2018-01-21, 11:30 PM

3

4

Confirmed

Minecraft 14w10c - Minecraft 17w13bMinecraft 14w10c, Minecraft 14w18b, Minecraft 14w19a, Minecraft 1.8.1-pre3, Minecraft 15w33c, Minecraft 15w34a, Minecraft 1.11.2, Minecraft 17w13b

Minecraft 18w03b