The "/item" command cannot replace items within jukeboxes
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.
Created Issue:
/replaceitem isn't working for Jukeboxes
I hope this is no duplicate
When you have a jukebox under you and then execute this command:
/replaceitem block ~ ~-1 ~ slot.container.1 stoneIt says that this block is no container
Added Labels: jukebox replaceitem
Added Attachments:
Added Affects Versions: 1.8
Added Assignee:
[Mojang] Billy Sjöberg
Changed Description:
I hope this is no duplicate
When you have a jukebox under you and then execute this command:
/replaceitem block ~ ~-1 ~ slot.container.1 stone
It says that this block is no containerThe 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.
Removed Labels: replaceitem
Changed Summary:
/replaceitemisn't working for JukeboxesThe "/item" command cannot replace items within jukeboxes
Added Attachments:
Added Fixed Versions: 23w31a
Jukeboxes is WAI, see MC-69387.
You could request it to be reviewed, but it shouldn't be included here.


WAI. A jukebox isn't a container because it has no GUI.
But isn't the definition of container, that it has the possibility to contain items?
Hello?
it is a container, but jukeboxes are not yet supported by this command, can confirm
So is it a bug or not?
Container (Google Dictionary) - an object that can be used to hold or transport something.
A jukebox isn't a container because it has no GUI, and for the fact that it can only support 1 item at a time (a record disc).
Your argument makes absolutely no sense:
Container (Google Dictionary) - an object that can be used to hold or transport something.
Does there stand anything with:
No, it doesn't stand there!
Yes, replaceitem needs a container with a GUI to work (Chests, droppers, dispensers, etc.)
replaceitem also needs a container with multiple storage spaces.
In regards to jukeboxes, they can only be modified with blockdata.
Sonic, I don't understand what your problem is, you are inventing there all kind of rules for containers even you have disproved all of them with your quotation before!
Mods can you please reopen ?
Hello Mods?
it they don't respond, they don't change it, so it won't be reopened, even if you ask they 100 times
I am just not really sure why this is works as intended...
I would still like to get a response from a mod...
Forgetting what FVbico said yet again, I think:
It appears the MC Wiki is your friend when knowing about this:
http://minecraft.gamepedia.com/Commands#replaceitem
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
Is only a realization!
Alright, maybe they will still add this feature eventually
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.
That issue is included in
MC-260485; why was this reopened? The design had changed since its WAI, and the problem described didn't apply anymore.This should not have been reopened and
MC-260485should've been used insteadFixed as part of fix for
MC-260485The "/item" command cannot remove items within chiseled bookshelves - Jira (mojang.com)