
Modrinth · Minecraft mod
Asahi
Remove jittering of the moving sun caused by client desync!
Quick answer
Which Asahi release should I use?
Asahi 1.4.0+26.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is Asahi required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does Asahi 1.4.0+26.1 need?
1.4.0+26.1. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Asahi without breaking your instance.
Built for Asahi 1.4.0+26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.4.0+26.1. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.4.0+26.1. It opens that exact file at the source.
About this project
What does Asahi add?
Client side Minecraft mod that removes daylight cycle rubber-banding caused by server lag!
The problem
Every second (20 ticks,) the server sends a packet that syncs the world time between the client and the server. Since clients have no reference for the tick rate of the server, they assume that the server is running at the standard 20 ticks per second. As such, when the server is lagging, that 20 ticks takes longer to process, leading the client to display the sun ahead of where it is on the server. When that sync packet comes in the vanilla client snaps the sun to the server position, causing the issue that this mod fixes.The solution
A rolling weighted average, and some interpolation! First, we take samples of the last 10 seconds of the amount of ticks that passed on the server per tick on the client. Then, since the sample from 10 seconds ago isn't as relevant as the sample in the last second, we weigh each of them exponentially less compared to the first. Taking the average of this weighted list, we can effectively predict the movement of the sun over the next second. The margin of error in the suns position caused by the prediction varies, but it is imperceptbile in comparison to the snap-back that happens with the vanilla logic.Without Asahi:
With Asahi:

Please note that this gif is from an earlier version of the mod, the interpolation used has only gotten better since!
Circular Sun is part of a resource pack provided by vanillatweaks.net
Config
{
// If the time received by the server is `skipDuration` or more seconds from the client time,
// skip to the server's time, bypassing interpolation.
// Play around with this value if the daylight cycle is absurdly fast.
"skipDuration": 60,
// Amount of prior factors to use in the rolling average interpolation.
// Play around with this value if you notice the sun bouncing back and forth a lot without settling into position.
"interpolateSamples": 10,
// Initial daylight cycle tick per game tick.
// Increase/decrease this value if another mod is present that speeds up/slows down the daylight cycle
"initialFactor": 1.0,
// The standard tick rate with relation to the resolution of the daylight cycle.
// Change if playing with mods that increase/decrease the standard tick rate OR the resolution of a daylight cycle (24000 ticks).
// Note that to my knowledge there are no mods that do this.
"standardTickRate": 20
}
Project description from Modrinth.
Pick your setup
Asahi by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2-snapshot-3
1 loader build26.2-snapshot-2
1 loader build26.2-snapshot-1
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader buildShowing the newest 12 of 50 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Asahi versions and loaders
1.4.0+26.1
asahi-1.4.0+26.1.jar
15 Apr 2026
1.3.0+1.21.2
asahi-1.3.0+1.21.2.jar
18 Feb 2025
1.3.0+1.20.4
asahi-1.3.0+1.20.4.jar
18 Feb 2025
1.3.0+1.20
asahi-1.3.0+1.20.jar
18 Feb 2025
1.2.1+1.21.2
asahi-1.2.1+1.21.2.jar
7 Feb 2025
1.1.2+1.20.4
asahi-1.1.2+1.20.4.jar
7 Feb 2025
1.1.2+1.20
asahi-1.1.2+1.20.jar
7 Feb 2025
1.1.2+1.18.2
asahi-1.1.2+1.18.2.jar
7 Feb 2025
1.1.2+1.16
asahi-1.1.2+1.16.jar
7 Feb 2025
1.1.2+1.14
asahi-1.1.2+1.14.jar
7 Feb 2025
1.2.0+1.21.2
asahi-1.2.0+1.21.2.jar
7 Feb 2025
1.1.0+1.18.2
asahi-1.1.0+1.18.2.jar
7 Feb 2025
Looking for an older file? The official Modrinth project page is in Resources.