{"id":72010,"date":"2026-06-04T05:06:08","date_gmt":"2026-06-04T02:06:08","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/"},"modified":"2026-06-04T05:06:08","modified_gmt":"2026-06-04T02:06:08","slug":"forceloadlib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/","title":{"rendered":"ForceloadLib"},"content":{"rendered":"<p># ForceloadLib<br \/>\nA Minecraft Data Pack library that adds various useful features related to forceloading chunks.<br \/>\nDownload: Modrinth<br \/>\nFor inquiries, please contact **@silicatYT** on Discord.<\/p>\n<p>## Why you need ForceloadLib<br \/>\nIf your DataPack uses forceloaded chunks, it&#8217;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.<\/p>\n<p>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.<br \/>\nForceloadLib also offers many useful features aside from that.<\/p>\n<p>**Note:** While ForceloadLib strives for cross-pack compatibility, DataPacks that don&#8217;t use it will still be incompatible.<\/p>\n<p>## Features<br \/>\n&#8211; Reference-based forceloading<br \/>\n  &#8211; Add and remove forceload references from a chunk<br \/>\n  &#8211; The chunk will only stop being forceloaded once every single reference has been removed<br \/>\n  &#8211; Each reference belongs to a namespace for better control &#038; cross-system compatibility<br \/>\n&#8211; Various optional parameters for your forceload references:<br \/>\n  &#8211; `Command`: Run a command at the specified location<br \/>\n  &#8211; `CommandTrigger`: Specify when the command runs<br \/>\n    &#8211; Instantly (or as soon as the chunk loads)<br \/>\n    &#8211; Only if the chunk loads<br \/>\n  &#8211; `Force`: Make the reference unremovable until the chunk is loaded<br \/>\n  &#8211; `Protected`: Make the reference unremovable unless you target it directly via ID<br \/>\n  &#8211; `Duration`: Make the reference disappear after an arbitrary number of ticks<br \/>\n&#8211; Powerful reference management<br \/>\n  &#8211; Either remove the last removable reference from a chunk, or target it directly via ID<br \/>\n&#8211; Chunk loading management. When a chunk gets loaded:<br \/>\n  &#8211; `#ForceloadLib.ChunkLoaded ForceloadLib` score gets set to the reference&#8217;s ID<br \/>\n  &#8211; `forceloadlib:event ChunkLoaded` storage gets set with the `Dimension`, `X` and `Z` data of the chunk<br \/>\n  &#8211; `#forceloadlib:chunk_loaded` function tag gets called with that storage as a macro source<br \/>\n&#8211; A function tag that&#8217;s called whenever a chunk gets loaded<br \/>\n  &#8211; It also sets a score (Reference ID) &#038; a storage (Dimension &#038; X\/Z coords) for<br \/>\n&#8211; Compatibility with Vanilla forceloaded chunks<br \/>\n  &#8211; These chunks will be ignored when trying to add\/remove references<\/p>\n<p>## How to use<br \/>\nFollow the instructions in the respective function (Everything except `zprivate`):<br \/>\n&#8211; Add forceload references:<br \/>\n  &#8211; `forceloadlib:util\/add\/from_storage`<br \/>\n  &#8211; `forceloadlib:util\/add\/from_storage_and_position` **=>** 1 macro call less than `from_storage`, but must be executed inside the correct chunk<br \/>\n&#8211; Remove forceload references:<br \/>\n  &#8211; `forceloadlib:util\/remove\/from_storage`<br \/>\n  &#8211; `forceloadlib:util\/remove\/from_storage_and_position` **=>** 1 macro call less than `from_storage`, but must be executed inside the correct chunk<br \/>\n  &#8211; `forceloadlib:util\/remove\/with_id`<br \/>\n  &#8211; `forceloadlib:util\/remove\/with_id_from_position` **=>** 1 macro call less than `with_id`, but must be executed inside the correct chunk<br \/>\n&#8211; Update ForceloadLib:<br \/>\n  &#8211; Run `forceloadlib:uninstall`<br \/>\n  &#8211; Remove the datapack and replace it with the new version<br \/>\n  &#8211; Reload<br \/>\n&#8211; Uninstall ForceloadLib:<br \/>\n  &#8211; Run `forceloadlib:uninstall` and click the red `CLICK HERE` message to clear all remaining chunk data<br \/>\n  &#8211; Remove the datapack<\/p>\n<p>**Note:** ForceloadLib provides a free-to-use scoreboard objective called `ForceloadLib.ChunkID`<\/p>\n<p>## Credit<br \/>\nFrom CMDred:<br \/>\n&#8211; **SilicatYT**<\/p>\n<p>## License<br \/>\nAs per the MIT License, you are allowed to redistribute, modify and use this project as long as we are credited for the original work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Minecraft Data Pack library that adds various useful features related to forceloading chunks.<\/p>\n","protected":false},"featured_media":72011,"template":"","meta":{"_minecraft_slug":"forceloadlib","_minecraft_project_id":"zjTWTBWV","_minecraft_author":"SilicatYT","_minecraft_license":"MIT","_minecraft_downloads":480,"_minecraft_follows":5,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"forceloadlib.zip","_minecraft_size_bytes":1031553,"_minecraft_version_count":6,"_minecraft_updated_at":"2026-05-16T07:38:44.686037Z","_minecraft_date_created":"2024-07-18T20:35:02.321064Z","_minecraft_date_modified":"2025-03-25T17:18:31.528963Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/forceloadlib","_minecraft_icon_attachment_id":72011,"_minecraft_imported_at":"2026-06-04T02:06:09+00:00","_minecraft_import_hash":"e2dca76c0d4b62211bc372c28e8ed11d","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,873,126,92],"mod_loader":[86],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82,83],"class_list":["post-72010","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-datapack","mod_category-library","mod_category-management","mod_category-utility","mod_loader-datapack","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-26-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ForceloadLib - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ForceloadLib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A Minecraft Data Pack library that adds various useful features related to forceloading chunks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/\",\"name\":\"ForceloadLib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp\",\"datePublished\":\"2026-06-04T02:06:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/forceloadlib\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ForceloadLib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ForceloadLib - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/","og_locale":"en_US","og_type":"article","og_title":"ForceloadLib - Minecraft","og_description":"A Minecraft Data Pack library that adds various useful features related to forceloading chunks.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/","name":"ForceloadLib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp","datePublished":"2026-06-04T02:06:08+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/forceloadlib-icon-86aec8e56a7d25802b2052cc324d15bbb65e0ac5_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/forceloadlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"ForceloadLib"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/72010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/72011"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=72010"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=72010"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=72010"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=72010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}