WorldOptimiser

WorldOptimiser

A Minecraft Forge mod that automatically optimizes worlds when mod changes are detected, specifically designed to solve ReplayMod block ID mismatch issues.

by
2.4K Downloads
forgemanagementoptimizationtechnology
Rent Server with this Mod

About this Mod

WorldOptimiser

Automatic World Optimization for ReplayMod Compatibility

A Minecraft Forge mod that automatically optimizes worlds when mod changes are detected, specifically designed to solve ReplayMod block ID mismatch issues.

🎯 Purpose

This mod was created to solve a critical issue with ReforgedPlay Mod (version 0.3.1) where adding or removing mods that contain blocks, models, or textures causes ReplayMod to display incorrect textures and models in replay recordings.

The Problem

  • ReplayMod works perfectly when a world is generated with a fixed set of mods
  • Issues arise when you add or remove mods containing blocks, models, or textures
  • This changes the reference ID list, causing ReplayMod to jumble block IDs
  • Previous manual fix: Download world → Open in singleplayer → Manually optimize → Re-upload
  • This was tedious and risky for server environments where mods need to be changed on-the-fly

The Solution

WorldOptimiser automatically detects mod list changes and triggers the world optimization process that you would normally do manually through the "Optimize World" button in singleplayer. This recalibrates the ID mappings and fixes ReplayMod compatibility issues.

✨ Features

  • Automatic Detection: Monitors for mod additions, removals, and version changes
  • Smart Optimization: Only runs when actual mod changes are detected
  • Server-Side: Works on both dedicated servers and integrated servers
  • Non-Intrusive: Runs seamlessly in the background during world startup
  • Replay-Safe: Ensures your ReplayMod recordings display correctly after mod changes

🔧 How It Works

  1. Startup Check: When a world loads, the mod reads the saved mod list from level.dat
  2. Comparison: Compares the saved mod list with currently loaded mods
  3. Detection: Identifies any additions, removals, or version changes
  4. Optimization: Automatically runs the world optimization process if changes are detected
  5. Completion: World starts normally with updated ID mappings

📋 Requirements

  • Minecraft: 1.20.1
  • Forge: 47.4.0 or higher
  • Java: 17+

📦 Installation

  1. Download the latest release from the releases page
  2. Place worldoptimiser-1.0.jar in your mods folder
  3. Start your server/world - the mod will automatically handle optimization when needed

🎮 Usage

No configuration required! The mod works automatically:

  • Install the mod
  • Add/remove other mods as needed
  • Start your world - optimization happens automatically if mod changes are detected
  • Your ReplayMod recordings will now display correctly

📝 Log Output

When the mod detects changes, you'll see messages like:

[Server thread/WARN] [worldoptimiser]: Detected new mods world will be optimised on startup
[Server thread/INFO] [worldoptimiser/worldupgrader]: World will be optimised it may take a while, please wait...
[Server thread/INFO] [worldoptimiser/worldupgrader]: World optimisation complete

🐛 Known Issues

  • World optimization can take some time for large worlds
  • The process blocks world startup until completion (this is necessary for proper ID remapping)

👨‍💻 Created For

This mod was specifically created for @protagnst to solve ReplayMod compatibility issues in their content creation workflow.

💼 Custom Development

Need a custom mod solution for your specific use case? I'm available for hire for custom Minecraft mod development and similar technical solutions.

Contact: Available for custom development work - reach out if you have similar issues that need solving!

📄 Technical Details

  • Mod ID: worldoptimiser
  • Version: 1.0
  • Author: Pelotrio
  • License: All Rights Reserved

Compatibility Note

This issue was specific to ReforgedPlay Mod v0.3.1 on Forge 1.20.1. Previous versions (Forge 1.16.5 and Fabric versions) handled ID changes automatically, but this functionality was lost in the 1.20.1 Forge version.

🔧 For Developers

The mod hooks into Forge's mod loading events and world startup to:

  • Detect mod list changes via ModMismatchEvent
  • Read/compare mod lists stored in world NBT data
  • Trigger Minecraft's built-in WorldUpgrader when needed
  • Ensure compatibility with ReplayMod's block ID system

This mod solves a specific technical issue with ReplayMod compatibility. If you're experiencing similar block ID or texture mapping issues after mod changes, this tool automates the manual optimization process that was previously required.

Available Versions

WorldOptimiser 1.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
September 17, 2025

How to Install WorldOptimiser on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).

3

Install Mod

Open the mod browser in the dashboard and search for "WorldOptimiser". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+3 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

WorldOptimiser server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.

Is WorldOptimiser compatible with forge?

WorldOptimiser officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with WorldOptimiser – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if WorldOptimiser consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install WorldOptimiser with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.20.61.20.51.20.41.20.31.20.21.20.1