From 2f30528e4f5f54bf2a51a2685936c1e7ebaf1bce Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 4 Jun 2023 11:24:20 +0200 Subject: [PATCH] Added nameitem command --- docs/guide/usage.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index c8e1ed52..c641943b 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -890,6 +890,51 @@ In scripts and remote control, no slash is needed to perform the command, eg. `q /move center ``` +### `nameitem` + +- **Description:** + + This command allows you to name an item when you have an Anvil inventory open and an item in the first slot (slot number 0), + + After you place an item in the first slot of the anvil, use this command, and then do a click on the slot 2 to get an item from the anvil, then do a click on an empty slot in your inventory. + +- **Usage:** + + ``` + /nameitem + ``` + +- **Example:** + + ``` + /nameitem My super duper sword 2000 + ``` + +- **Full Example with anvil:** + + ``` + # Open an anvil + /useblock 12 74 321 + + # Click on an axe in slot 12 + /inventory container click 12 + + # Put an axe to the slot 0 in anvil + /inventory container click 0 + + # Set the new name + /nameitem My fancy axe + + # Click on the axe in slot 2 in the anvil + /inventory container click 2 + + # Put the axe back in your inventory in slot 12 + /inventory container click 12 + + # Close the anvil + /inventory container close + ``` + ### `look` - **Description:**