HomeJavaDatapacksForceloadLib
ForceloadLib
DatapacksJava

ForceloadLib

by SilicatYT · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.21.5–26.2⬇ Download for 1.21–1.21.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

ForceloadLib

A Minecraft Data Pack library that adds various useful features related to forceloading chunks.
Download: Modrinth
For inquiries, please contact @silicatYT on Discord.

Why you need ForceloadLib

If your DataPack uses forceloaded chunks, it's inherently incompatible with any other DataPack which does too. The same is the case for multiple systems within the same DataPack which use forceloads.

ForceloadLib solves this by not only providing a reference-based approach, but also by namespacing the references. This allows your systems or DataPacks to independently forceload chunks without interfering with one another.
ForceloadLib also offers many useful features aside from that.

Note: While ForceloadLib strives for cross-pack compatibility, DataPacks that don't use it will still be incompatible.

Features

How to use

Follow the instructions in the respective function (Everything except zprivate):

Note: ForceloadLib provides a free-to-use scoreboard objective called ForceloadLib.ChunkID

Credit

From CMDred:

License

As per the MIT License, you are allowed to redistribute, modify and use this project as long as we are credited for the original work.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more