mojira.dev
MC-269127

player.cursor slot name is available in creative mode

As per the information provided on https://www.minecraft.net/de-de/article/minecraft-snapshot-24w10a, the slot name player.cursor is not intended to function in creative mode, particularly within the regular inventory. However, this restriction doesn't extend to GUIs other than the regular inventory. When examining a GUI other than the standard inventory, the slot name does indeed work in creative mode. To replicate this, input the command

item replace entity @a player.cursor with air

into a repeating command block. You'll observe that items picked up with your cursor in creative mode are deleted when viewing a chest, crafting table, etc.

Linked issues

Attachments

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

oowooglac

No User

(Unassigned)

Confirmed

Commands

24w10a

Retrieved