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

CanPlaceOn doesn't work with ink sacs/dyes used on signs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 23w06a, 1.19.4, 23w14a, 1.20.1, 23w33a, 1.20.4, 1.21.1
    • Confirmed
    • Adventure
    • Commands
    • Low
    • Platform

      The bug

      Glow inc sacs or dyes with the CanPlaceOn tag validly set can't be applied to signs in adventure mode.

      Expected:
      It works, just like putting a book in a lectern, stripping a log with an axe, etc. (use item on block)

      Actual:
      It doesn't work.

      Steps to reproduce

      1. Place down a wall sign
      2. Go into gamemode adventure
      3. Give yourself an glow ink sac with the following command
        /give @p glow_ink_sac{CanPlaceOn:["minecraft:oak_sign"]}
        
      4. Try using it on the sign

      -> It doesn't work.

        1. MC-228729.mp4
          5.51 MB
          [Mod] Avoma
        2. MC-228729.png
          855 kB
          [Mod] Avoma

            Unassigned Unassigned
            m124367 AgentM
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: