介绍
Contents Director
Contents Director is a runtime mod and file installer for Minecraft modpacks. It downloads and installs files that cannot be bundled directly with a modpack, using configuration supplied by the pack author.
It is intended primarily for modpack authors who need a reproducible way to fetch optional, external, or provider-hosted files when a pack starts.
Features
- Download files from direct URLs
- Install files from CurseForge and Modrinth references
- Verify downloaded files with hashes
- Stage downloads before replacing existing files
- Support optional user-selectable components
- Supersede, disable, move, rename, or delete old files
- Extract ZIP-compatible archives
- Load bundled and remote configuration
- Filter entries by client/server side
- Check modpack versions
- Provide a manual CurseForge download fallback on graphical clients
- Localized UI with English, Japanese, and Simplified Chinese support
Compatibility
The distributed project file is the combined shaded artifact:
ContentsDirector-<version>-all.jar
It contains both the LaunchWrapper and ModLauncher integrations and is the recommended artifact for normal use.
Contents Director supports:
- Forge 1.7.10–1.12.2 through LaunchWrapper
- Forge and compatible ModLauncher-era loaders
- NeoForge through Minecraft 1.21.8
Known limitation: NeoForge 1.21.9 and newer changed loader behavior and are not currently supported.
Contents Director targets Java 8 bytecode for runtime compatibility.
Installation
Place the Contents Director -all.jar in the modpack’s normal mods directory.
For LaunchWrapper-era Forge (1.7.10–1.12.2), add the following launch argument:
--tweakClass com.juanmuscaria.modpackdirector.launchwrapper.ModpackDirectorTweaker
ModLauncher-era environments discover the integration automatically through the transformation service.
Configuration
Configuration files normally belong in:
config/mod-director/
A minimal direct-download entry, for example example.url.json, looks like:
{
"url": "https://example.invalid/example-mod.jar",
"fileName": "example-mod.jar"
}
Contents Director supports several configuration types:
*.url.json— direct downloads*.curse.json— CurseForge files*.modrinth.json— Modrinth versions*.modify.json— move, rename, disable, or delete files*.bundle.json— combine multiple entries*.remote.json— load configuration from HTTP(S)modpack.json— pack-level UI and version settings
For the complete format and examples, see the configuration documentation.
Safety and reliability
Downloads are staged before being committed to the live installation. Configured hashes are checked before replacement, and failed staging or validation does not overwrite an existing working file.
Archive extraction and file modification operations validate paths to prevent escaping the intended installation directory.
Documentation
Credits
Contents Director continues the work of:
常见问题
Contents Director 支持哪些 Minecraft 版本?
Contents Director 支持 Minecraft Java 版 1.7.10–26.3,共 76 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Contents Director 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
LiquidCatMofu 的其他作品
查看全部 →Resource Reload Guard
Prevents accidental, unnecessary, and unsafe client resource reloads by allowing them to be blocked, confirmed, or deferred until restart.
Resource Reload Guard
Prevents accidental, unnecessary, and unsafe client resource reloads by allowing them to be blocked, confirmed, or deferred until restart.
Particle Muffler
Suppresses particles around placed muffler blocks on the client side.
评论
登录后评论和评分