Replaceitem prevents taking items from an entity's inventory
Partner Rank:
1
Partner Team Reporting:
Pathway Studios
Verification builds and Platforms:
Minecraft-Release_UWP_DX11_x64_4929535 - 1.16.100.04 RC4
Summary:
Running /replaceitem on a repeating command block prevents the player from taking the affected item out of the entity's inventory on that tick.
Impact:
Breaks a core mechanic in an upcoming map.
Repro Steps:
- Create a new world and spawn a mule
- Ride the mule until it's tamed, then use a chest on it
- Place down a repeating command block with the command:
/replaceitem entity @e[type=mule] slot.inventory 1 iron_sword 1 0
- Crouch and right click the mule to access its inventory.
- Try to take the sword from the mule's inventory
Observed Results:
Player is not able to take the sword.
Expected Results:
Player is able to take the sword.
Screenshot/Video?
Yes, attached.
Regression Builds:
Minecraft-Release_UAP_x64_4645976 - 1.16.40.02
Notes:
None.
2020-11-23, 08:30 PM
2021-03-05, 08:24 PM
2021-03-05, 08:24 PM
0
2
-