From 035be84850f18f40d1659eafe108a1834285d03a Mon Sep 17 00:00:00 2001 From: p2r3 Date: Wed, 27 Aug 2025 15:30:35 +0300 Subject: [PATCH] vary yaw angle randomly for all mobs --- src/procedures.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/procedures.c b/src/procedures.c index f3a2e9e..b7aad05 100644 --- a/src/procedures.c +++ b/src/procedures.c @@ -1131,6 +1131,9 @@ void handleServerTick (int64_t time_since_last_tick) { } + // Vary the yaw angle to look just a little less robotic + yaw += ((r >> 7) & 31) - 16; + // Check if the blocks we're moving into are passable: // if yes, and the block below is solid, keep the same Y level; // if yes, but the block below isn't solid, drop down one block;