On ServerSided Procedure, setting an Entity's look direction doesn't synchronize the Pitch to the Client

Started by spacebeast on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On ServerSided Procedure, setting an Entity's look direction doesn't synchronize the Pitch to the Client
Sun, 08/30/2026 - 08:53 (edited)

Basically, using the "Set Rotation of Entity" block on the Server only does not update the "Pitch" field at all for the client. Directly printing the Entity's head pitch on the server told me that the Yaw direction was in fact being properly set on the Server, but it isn't visible on the client at all.

 

Edited by spacebeast on Sun, 08/30/2026 - 08:53
Joined Aug 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out a solution…
Sun, 08/30/2026 - 17:41

I figured out a solution that works, you have to manually adjust the Entity's procedure so that it fires an "On Entity Tick" procedure directly on the "Tick" and not "BaseTick".

 

    @Override

public void baseTick() {
super.baseTick();
// FateAIControlProcedure.execute(this.level(), this.getX(), this.getY(), this.getZ(), this);
}

@Override
public void tick() {
super.tick();
FateAIControlProcedure.execute(this.level(), this.getX(), this.getY(), this.getZ(), this);
}