mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fixed entity rotations (#2596)
* Fixed entity rotations Fixed entity yaw and pitch not changing when entity moves head. * Update ChatBot.cs * Update McClient.cs * Update Protocol18.cs * Update McClient.cs * Finalize code style * Fix incorrect variable type --------- Co-authored-by: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com>
This commit is contained in:
parent
c3fa413b4e
commit
1aea8d3a4e
4 changed files with 85 additions and 3 deletions
|
|
@ -195,6 +195,12 @@ namespace MinecraftClient.Scripting
|
|||
/// <param name="entity">Entity with updated location</param>
|
||||
public virtual void OnEntityMove(Entity entity) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when an entity rotates
|
||||
/// </summary>
|
||||
/// <param name="entity">Entity with updated rotation</param>
|
||||
public virtual void OnEntityRotate(Entity entity) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called after an internal MCC command has been performed
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue