Mojira Archive
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.

Works As Intended

No User

oowooglac

2024-03-06, 03:12 PM

2024-12-10, 05:54 AM

2024-03-07, 08:23 AM

1

1

Confirmed

Commands

24w10a

-