Added a command to (re)name items in the Anvil

This commit is contained in:
Anon 2023-06-03 16:12:17 +02:00
parent 9855e2e0f1
commit fce12db33f
8 changed files with 174 additions and 0 deletions

View file

@ -477,5 +477,13 @@ namespace MinecraftClient.Protocol
/// <returns>True if packet was successfully sent</returns>
bool ClickContainerButton(int windowId, int buttonId);
/// <summary>
/// Send a rename item packet when the anvil inventory is open and there is an item in the first slot
/// </summary>
/// <param name="itemName">New name (max 50 characters)</param>
/// <returns>True if packet was successfully sent</returns>
bool SendRenameItem(string itemName);
}
}