mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Added a command to (re)name items in the Anvil
This commit is contained in:
parent
9855e2e0f1
commit
fce12db33f
8 changed files with 174 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue