Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-50795

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w03b
    • Minecraft 14w10c, Minecraft 14w18b, Minecraft 14w19a, Minecraft 1.8.1-pre3, Minecraft 15w33c, Minecraft 15w34a, Minecraft 1.11.2, Minecraft 17w13b
    • None
    • Confirmed

      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.

        1. 2014-03-10_22.32.25.png
          2014-03-10_22.32.25.png
          703 kB
        2. 2014-03-10_22.32.31.png
          2014-03-10_22.32.31.png
          489 kB
        3. 2014-03-10_22.32.37.png
          2014-03-10_22.32.37.png
          701 kB
        4. 2014-03-10_22.32.46.png
          2014-03-10_22.32.46.png
          494 kB
        5. 2014-10-31_14.15.40.png
          2014-10-31_14.15.40.png
          1002 kB
        6. 2014-10-31_14.15.45.png
          2014-10-31_14.15.45.png
          2.22 MB

            Unassigned Unassigned
            TheGangster4 Ruben
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: