Mojira Archive
MC-136535

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

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

 

Unresolved

Mondemen

2018-08-28, 04:54 PM

2024-03-25, 06:09 AM

6

3

Confirmed

(Unassigned)

/replaceitem, chest, command, large-chest, slot

Minecraft 1.13.1 - 24w12aMinecraft 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

-