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

/item replace has container slots 27-53, but they are unusable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 19w03c, Minecraft 19w04b, 1.15.2, 20w49a, 1.17, 1.20.4, 24w12a
    • Confirmed
    • (Unassigned)

      The bug

      If you tried to replace item in large chest (2 blocks) in slot ID more than 26 (second part of the chest), it returns the error "The target does not have slot #SLOT#" .

      How to reproduce

      • Place 2 chests in 0,0,0 and 0,0,1
      • execute /item replace block 0 0 0 container.42 with minecraft:diamond
      • The target does not have slot 42

       

            Unassigned Unassigned
            Mondemen Mondemen
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: