Held Items Data
If you want to create a GUI that displays the playerโs currently held item from their main hand, you can use the Player Held Items Data entry.
This entry displays the item the player is currently holding in their main hand in the specified GUI slots. The item is generated dynamically when the GUI is opened, making it perfect for anvil GUIs, repair interfaces, or item processing systems.
You can optionally configure a Reference Item to apply custom properties (name, lore, enchantments) to the held item while preserving its original type.
If the playerโs main hand is empty, no items will appear in the specified slots.