ModsFinder

Function Command Deduplicator

by Myitian

Function Command Deduplicator removes duplicate command objects from mcfunction files, which reduces memory use when loading very large data packs.

FabricForgeNeoForgeServer-side onlyMIT LicenseOpen source1.20.5 – 1.21.8

What it does

Data packs with very large numbers of mcfunction files can use a lot of memory at load time, because many functions repeat the same command objects. This mod strips those duplicate objects so the loaded commands take less space in memory. Its scope is the loading of function files, so gameplay behavior is left as it was. Server-side only, so players join without installing anything, and only the server needs the mod. Files are published for Fabric, Forge and NeoForge, covering 1.20.5 – 1.21.8 across 11 release versions, under the MIT License as open source code.

Key features

  1. Duplicate command removal

    Repeated command objects inside mcfunction files are merged so each unique object is held once in memory.

  2. Large data pack loading

    The reduction targets packs with extremely large function sets, where memory use during loading is the main concern.

  3. Snapshot coverage

    Builds are also published for snapshot versions of the game, with the 0.1-beta release for 1.21.8 as the latest file.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.x9 of 9 versions with builds
1.21.80.1-beta0.1-beta0.1-beta
1.21.70.1-beta0.1-beta0.1-beta
1.21.60.1-beta0.1-beta0.1-beta
1.21.50.1-beta0.1-beta0.1-beta
1.21.40.1-beta0.1-beta0.1-beta
1.21.30.1-beta0.1-beta0.1-beta
1.21.20.1-beta0.1-beta0.1-beta
1.21.10.1-beta0.1-beta0.1-beta
1.210.1-beta0.1-beta0.1-beta
1.20.x2 of 2 versions with builds
1.20.60.1-beta0.1-beta0.1-beta
1.20.50.1-beta0.1-beta0.1-beta
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

How it compares

Full comparison

MemGuard is a client and server mod for Fabric, Forge and NeoForge covering 1.20 – 1.21.11, released as All rights reserved and not open source. Redirected is also client and server and open source under the GNU Lesser General Public License v3.0 only, for 1.20 – 1.21.1.

ModLoadersGame versionsEnvironmentUpdated
Function Command DeduplicatorFabric, Forge and NeoForge1.20.5 – 1.21.8Server-side only2025-08-23
MemGuardFabric, Forge and NeoForge1.20 – 1.21.11Client and server2026-06-03
RedirectedFabric, Forge and NeoForge1.20 – 1.21.1Client and server2025-02-02

Questions

Does the server need this mod, or do players?

Only the server needs it, because the mod is server-side only. Players can join without installing anything.

In the catalog

Function Command Deduplicator is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 17,695 mods support Minecraft 1.21.8.

More from Myitian

All projects

Similar mods

What the author says

Removed duplicate command objects in mcfunctions to reduce memory usage when loading extremely large data packs.
Myitian, on the Modrinth page

Official listing

Owner
Myitian
Published
2025-08-23
Updated on Modrinth
2025-08-23
Facts verified
2026-10-15

Tags