The Bug:
The "/item" command cannot replace items within jukeboxes.
Steps to Reproduce:
Place down a jukebox and stand on top of it.
Replace the jukebox's "container.0" slot with stone by using the command provided below.
/item replace block ~ ~-1 ~ container.0 with minecraft:stone
Inspect the jukebox's block data by using the command provided below.
/data get block ~ ~-1 ~
Observe if the jukebox has anything within its "container.0" slot.
Take note as to whether or not the "/item" command cannot replace items within jukeboxes.
Observed Behavior:
The "/item" command cannot replace items within jukeboxes.
Expected Behavior:
The "/item" command would be able to replace items within jukeboxes.
Attachments
Comments 20
Like it was probably said from many mods before, Minecraft Wiki is not a official source from the developers, they are also people who collect what is known, I guess so then this line
Other blocks which hold items but don't have inventory GUIs (flower pots and jukeboxes) can only be changed with /blockdata.
Is only a realization!
The behavior of this problem has changed slightly ever since this report was initially created. In the current release and snapshot of the game, jukeboxes have a "container.0" slot, contrary to what this ticket was previously concerning. The problem here is that when attempting to change the "container.0" slot of a jukebox, the command claims to be successful, but in reality, it's unsuccessful. I've updated this ticket accordingly to reflect this new information.
Fixed as part of fix for MC-260485 The "/item" command cannot remove items within chiseled bookshelves - Jira (mojang.com)
WAI. A jukebox isn't a container because it has no GUI.