/replaceitem command locks player's inventory
When using the /replaceitem command in a repeating command block to replace a player's inventory slot with an item, for example /replaceitem entity @a[tag=tagged] slot.armor.head 0 skull 1 2, will lock the player's inventory in which they can't move their items in their inventory even when there's no player target that has the tag "tagged"
Linked Issues
Created Issue:
/replaceitem command locks player's inventory
When using the /replaceitem command in a repeating command block, for example /replaceitem entity @a[tag=tagged] slot.armor.head skull 1 2, will lock the player's inventory in which they can't move their items in their inventory even when there's no target that is [tag=tagged]
- Unresolved
- Open
- Unconfirmed
- Android
- Android 8.0.0
- 1.11.0.8 Beta
When using the /replaceitem command in a repeating command block, for example /replaceitem entity @a [tag=tagged] slot.armor.head skull 1 2, will lock the player's inventory in which they can't move their items in their inventory even when there's no target that
is[tag=tagged]When using the /replaceitem command in a repeating command block to replace a player's inventory slot with an item, for example /replaceitem entity @a [tag=tagged] slot.armor.head skull 1 2, will lock the player's inventory in which they can't move their items in their inventory even when there's no player target that has the tag "tagged"
When using the /replaceitem command in a repeating command block to replace a player's inventory slot with an item, for example /replaceitem entity @a [tag=tagged] slot.armor.head 0 skull 1 2, will lock the player's inventory in which they can't move their items in their inventory even when there's no player target that has the tag "tagged"
is duplicated by
Thank you for your report!
We're actually already tracking this issue at MCPE-44092, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Repeating command blocks when continuously replace that slot with the item...
Also, your command should say "/replaceitem entity @a[tag=tagged] slot.armor.head 0 skull 1 2"
The "0" is the slot id number
And was the tag ever removed from the players?
@Christopher John Crosby
Even when the player removed "tagged" tag, the bug still applies to him/her
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Reopened, updated, confirmed
Does this issue affect all item in player's inventory or just the one being replaced by the command block?
All items. Here's a video of me attempting to do basic inventory actions while a replaceitem is running.
You'll notice:
Minecraft 2021-07-05 23-06-59.mp4
I have also encountered issues where you can't scroll the hotbar, it just glitches back and forth. However this did not happen this time.