Several blocks that are not containers can have items replaced and some blocks can have items replaced in slots that are only meant for specific items.
Cauldrons are not containers and yet they have 10 slots according to the replaceitem command. Attached is an image of a cauldron +data, it contains 10 stacks of bread. They are not dropped when the cauldron is broken.
It is also possible to replaceitem on the beacons, which are no more a container than a crafting table is. The same goes for all the chemistry blocks when education edition is on.
You can also replace items in slots where they are not meant to go. For example: You can replace bread in a jukebox. You can replace bread in a lectern and it will appear as an empty book; if punched to remove, it will drop as bread. Additionally, you can replaceitems in fuel slots of furnaces and brewing stands, despite said items not actually being fuel.
This is also an issue on latest version of BDS.
Attachments
Comments 3
Steps to Reproduce:
Type this command while standing above a cauldron: /
replaceitem block ~ ~-1 ~ slot.container 1 bread 5 0
Observed Results (by post author):
The cauldron will receive 5 bread but will not drop it when broken. It can only be seen when pick blocking while holding the Ctrl button (the data will be shown when hovering over the item in the inventory). These slots are unused and cannot be seen in any way.
Expected Results:
The game should report an error message in the chat saying that the block doesn't have the specified slot.
Please clarify the Description section above, using this format:
Steps to Reproduce:
1. (be complete and exact so someone else can repeat your steps)
2.
3.
Observed Results:
(briefly describe what actually happens, including exact message(s) shown)
Expected Results:
(briefly describe what should happen)
(add screenshots or video to help explain the issue)
This ticket has been temporarily closed as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Tickets that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.