mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
parent
70e5ae85d7
commit
2e1e79bcef
10 changed files with 128 additions and 11 deletions
|
|
@ -212,8 +212,20 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="item">Item (may be null for empty slot)</param>
|
||||
void OnSetSlot(byte inventoryID, short slotID, Item item);
|
||||
|
||||
/// <summary>
|
||||
/// Called when player health or hunger changed.
|
||||
/// </summary>
|
||||
/// <param name="health"></param>
|
||||
/// <param name="food"></param>
|
||||
void OnUpdateHealth(float health, int food);
|
||||
|
||||
/// <summary>
|
||||
/// Called when client need to change slot.
|
||||
/// </summary>
|
||||
/// <remarks>Used for setting player slot after joining game</remarks>
|
||||
/// <param name="slot"></param>
|
||||
void OnHeldItemChange(byte slot);
|
||||
|
||||
/// <summary>
|
||||
/// Called when the Player entity ID has been received from the server
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue