Back to mods
MicroTimingReplay project artwork

Modrinth · Minecraft mod

MicroTimingReplay

Record sub-tick events and replay them in game!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MicroTimingReplay release should I use?

Updated 22 days ago
alpha file 1.0.0-1.21.1
Game version 1.21.1
Loader Fabric

MicroTimingReplay 1.0.0-1.21.1 targets 1.21.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is MicroTimingReplay required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does MicroTimingReplay 1.0.0-1.21.1 need?

1.0.0-1.21.1. Change the file and its required mods may change too.

No extra mods listed for this file

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 MicroTimingReplay without breaking your instance.

Built for MicroTimingReplay 1.0.0-1.21.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0-1.21.1. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0-1.21.1. It opens that exact file at the source.

About this project

What does MicroTimingReplay add?

MicroTimingReplay (MTIR)

Read more in README.md

A Fabric mod for recording micro-timing events on the server over a period of time (block updates, shape updates, scheduled ticks, block events, piston movements, entity movement/spawning, etc.) and later step-by-step replaying them — you can go forward, backward, jump to any step, and inspect the Java call stack at the moment each event was produced.


Core Concepts

Profile
A container for one recording session. Each profile has its own name, one or more Areas, all recorded tick frames, plus associated world backups and call-stack files.

Area
An axis-aligned bounding box + the dimension it belongs to. Only events that fall inside an area are recorded. A profile can have multiple areas and can span dimensions.

If a profile has no areas at all, no spatial filtering is applied (every event in the entire world is recorded) — the data volume becomes enormous; this is not recommended.

Frame / Event / Step
Recording is sliced into frames by game tick (TickFrame). Inside each frame is an event tree:

Phase → Queue → Update → Leaf events (add scheduled tick / entity move / ...)


Quick Start

/tick freeze
/mtr profile create test
/mtr profile area add test 100 60 100 120 80 120
/mtr record test 20

Recording stops automatically after 20 gt (or you can stop it manually with /mtr record stop).

/mtr replay start test
/mtr replay forward steps 1
/mtr replay screen
/mtr replay stop

Notes

  • Run /tick freeze before recording. The mod never freezes or unfreezes time by itself. Replay is unaffected; stepping works correctly even without freezing.
  • Replay truly modifies the world. replay start restores the areas to the recording start state; replay stop restores your live world. If the server crashes or is force-killed during replay, the _replay backup is not restored automatically and your world stays at the recording-start state — in that case simply run /mtr replay start again and then a normal stop to recover.
  • Non-player entities inside the areas are backed up and restored. On restore the entities inside the areas are first cleared, then rebuilt from the backup.
  • No areas = no filtering. A profile without any areas records every event in the whole world; use with caution.
  • subscribe, unsubscribe, screen and dump must be executed by a player (they either open a UI for the player or bind to a player). All other commands can be run from the console or command blocks.
  • The “currently viewed” state of /mtr profile info is a single server-wide variable; simultaneous operations by multiple players will interfere with each other.

Project description from Modrinth.

Pick your setup

MicroTimingReplay by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MicroTimingReplay versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.