Resolution: Works As Intended
Affects Version/s: Minecraft 19w05a
Fix Version/s: None
The /replaceitem command allows in general incongruous slot types, e.g. you can use inventory.X for a container (where you should use container.X), see
This can result in targeting the wrong slot and the mistake is often not obvious.
The expected behavior would be that the slot is validated based on the targeted entity or block and the command would fail executing if the wrong slot type is used.
- Place a chest
- Use inventory.X as slot
→ The command is executed and the stone is placed in the second row