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

Players in Adventure mode can use some items even without CanPlaceOn tag

    XMLWordPrintable

Details

    • Confirmed
    • Adventure

    Description

      The bug

      Players in Adventure mode can use some items which create entities on use even if the items do not have the CanPlaceOn tag. This is inconsistent with other items like armor stands, paintings and item frames which require this tag.

      Affected items

      Item Note
      fireworks -
      minecart Could be used for rail type distinction
      boat Problem: Would probably not work with water
      lead Problem: Player may not have lead item anymore when using it on a fence

      Steps to reproduce

      1. Switch to Adventure mode
        /gamemode adventure
        
      2. Give yourself one of the affected items
      3. Try to place them

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Plagiatus Plagiatus
              Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: