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

CanPlaceOn Tag Crashes Client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w11a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Client: Ubuntu MATE 17.10 x64, OpenJDK 1.8.0_151
      Server: Ubuntu 16.04 x64, OpenJDK 1.8.0_151

    • Confirmation Status:
      Unconfirmed

      Description

      I want to be able to place a block on any type of planks in adventure mode. I can give myself such an item with the CanPlaceOn NBT tag, using the following...

      /give @p minecraft:stone{CanPlaceOn:["#minecraft:planks"]}
      

      However, every time I mouse over the item in my inventory, the client crashes. Also, if I switch to Adventure Mode with the item selected, the client also crashes - and continues to crash every time I rejoin the game. (I had to clear my inventory via server console immediately upon joining to get around this.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                CodeMouse92 Jason C. McDonald
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: