mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Added enchanting
This commit is contained in:
parent
d222d5f683
commit
4dc1b420f5
12 changed files with 474 additions and 1 deletions
|
|
@ -280,6 +280,15 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="TimeOfDay">Time of Day</param>
|
||||
void OnTimeUpdate(long worldAge, long timeOfDay);
|
||||
|
||||
/// <summary>
|
||||
/// When received window properties from server.
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="inventoryID">Inventory ID</param>
|
||||
/// <param name="propertyId">Property ID</param>
|
||||
/// <param name="propertyValue">Property Value</param>
|
||||
public void OnWindowProperties(byte inventoryID, short propertyId, short propertyValue);
|
||||
|
||||
/// <summary>
|
||||
/// Called when inventory items have been received
|
||||
/// </summary>
|
||||
|
|
@ -439,5 +448,15 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="location">The location of the block.</param>
|
||||
/// <param name="block">The block</param>
|
||||
public void OnBlockChange(Location location, Block block);
|
||||
|
||||
/// <summary>
|
||||
/// Send a click container button packet to the server.
|
||||
/// Used for Enchanting table, Lectern, stone cutter and loom
|
||||
/// </summary>
|
||||
/// <param name="windowId">Id of the window being clicked</param>
|
||||
/// <param name="buttonId">Id of the clicked button</param>
|
||||
/// <returns>True if packet was successfully sent</returns>
|
||||
|
||||
bool ClickContainerButton(int windowId, int buttonId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue