To successfully execute the command generated below (especially those with custom names and enchantments) in Minecraft **Java Edition (1.13+)**, follow these steps:
-
✅ Step 1: Enable Cheats/Commands
You must have the ability to run commands. Ensure your world settings have **Cheats enabled**. If you are on a server, you must have **Operator (OP) status**.
-
✍️ Step 2: Copy the Generated Command
After generating, click the "Copy Command" button. The command will include the entire custom data structure (NBT) enclosed in curly braces **`{...}`**.
Example: /give @p diamond_sword{display:{Name:'{"text":"Legend"}'}} 1
-
⬆️ Step 3: Paste and Execute
Paste the command string directly into the chat box ($T$ or $/$ by default) or a Command Block and press **Enter**.