π What This Mod Does
Teleport Optimizer replaces Minecraft’s default teleport handling with a high-performance teleport pipeline that:
β 1. Preloads chunks BEFORE the teleport happens
No more stutters when a player arrives in an unloaded area.
Chunks are intelligently requested, sorted, and prepared ahead of time.
β 2. Batches teleports to avoid lag spikes
If many players teleport at once (events, RTP spam, respawns), the mod processes them in controlled micro-batches to eliminate any server freeze.
β 3. Async & parallel scheduling
Using CompletableFutures and a lightweight executor, nearly all heavy work is offloaded away from the main server thread.
β 4. Mixins that patch vanilla teleport bottlenecks
The mod intercepts and replaces slow teleport logic inside ServerPlayerEntity, removing the synchronous stall that normally occurs.
βοΈ Core Features
πΉ ChunkPreloader
-
Preloads destination chunks around the target location
-
Ensures chunk readiness before teleport
-
Uses smart radii & ordering to preload only what’s necessary
-
Avoids “teleport into void” delays
πΉ TeleportBatcher
-
Queues teleports instead of forcing them instantly
-
Smooths out load spikes
-
Dramatically improves MSPT stability during heavy player activity
πΉ Teleport Metrics
-
Optional lightweight profiling
-
Tracks average & worst-case teleport performance
-
Helps server admins debug chunk-loading hotspots
πΉ Admin Command
/teleportoptimizer reload
— Reloads config and recalculates batching rules on the fly.
π§© Compatibility
β
Waystones
β
FTB Essentials
β
FastRTP / RTP Mods
β
Vanilla /tp, /spreadplayers
β
Claims & protection mods
β
Pure server-side — clients DO NOT need the mod
π¦ Technical Details
-
Fabric Loader ≥ 0.16.14
-
Minecraft 1.20.1
-
Fabric API required
-
Java 17+
-
Server-side only

