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
|
|
@ -850,5 +850,15 @@ namespace MinecraftClient
|
|||
Container container = Handler.GetPlayerInventory();
|
||||
return new Container(container.ID, container.Type, container.Title, container.Items);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Check if player is eating or not
|
||||
/// </summary>
|
||||
/// <remarks>Some bot like AutoAttack need this. We don't want to attack while eating</remarks>
|
||||
/// <returns>True if is eating</returns>
|
||||
protected bool GetIsEating()
|
||||
{
|
||||
return Handler.GetIsEating();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue