mojira.dev
MCPE-44092

/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

Attachments

Comments 8

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:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

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:

  • I can't consistently take an apple out of the slot that's being replaced into

  • Picking up and placing items is jittery

  • Double-click to merge all items stops working consistently

  • Left-click drag to distribute items stops working after two slots

[media]

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.

Desert Blaster

(Unassigned)

562454

Confirmed

Android

Android 8.0.0

1.17.20.21 Beta, 1.11.0.8 Beta, 1.17.2 Hotfix, 1.18.2 Hotfix

Retrieved