Add command to check player health and saturation

This commit is contained in:
ReinforceZwei 2020-04-03 23:31:25 +08:00 committed by ORelio
parent fe020c74c7
commit 975e6d4daa
5 changed files with 31 additions and 8 deletions

View file

@ -212,7 +212,7 @@ namespace MinecraftClient.Protocol
/// <param name="item">Item (may be null for empty slot)</param>
void OnSetSlot(byte inventoryID, short slotID, Item item);
void OnUpdateHealth(float health);
void OnUpdateHealth(float health, int Food);
/// <summary>
/// Called when the Player entity ID has been received from the server