前往下载
8
SharedShaderPacks
模组
玄易同志
2026-12-05
资源介绍
这是一个客户端模组。你把光影包放进一个共享文件夹后,Fabric、Forge、NeoForge 的不同游戏实例都会从这里读取,不必再把同一批光影复制进每个实例的 `shaderpacks`。当前游戏无法运行的包不会出现在光影列表里。
本模组不附带任何光影包,也不能代替光影加载器。使用前需要自行安装 Iris、Oculus、OptiFine、ShadersMod 或 Angelica,并自行准备光影文件。
如果你同时维护多个 Minecraft 版本或启动器实例(官方启动器、HMCL、PCL、Prism 等),可以用它减少重复拷贝、节省磁盘,并避免在不兼容的版本里选到无法使用的光影。
1. 把这一个 jar 放进实例的 `mods` 文件夹。Fabric、Forge、NeoForge 使用同一份文件,不必按版本或加载器再选。
2. 安装上述光影加载器之一。
3. 把光影包(zip 或文件夹包)放进共享目录。
4. 启动游戏,在光影设置里选择可用的包。
覆盖范围:Fabric 1.14–26.x,NeoForge 1.20.2–26.x,Forge 1.8–26.x。不支持 Forge 1.7.10。Quilt 尚未验证。不支持 Canvas、Vulkan 等非 OptiFine 格式的光影。
所有实例读取同一个文件夹。你指定的路径优先,查找顺序如下:
1. JVM 参数 `-Dsharedshaderpacks.directory=`(Windows 建议用正斜杠,例如 `-Dsharedshaderpacks.directory=D://SharedShaderPacks`)
2. 该实例 `config/sharedshaderpacks.properties` 里的 `sharedDirectory=`
3. 环境变量 `SHARED_SHADERPACKS_DIR`
4. 默认目录:在 Windows 上是除 C: 以外第一块可写固定磁盘上的 `\SharedShaderPacks`(例如 `D:\SharedShaderPacks`),默认不会放到 C:。如果没有这样的磁盘,不会悄悄改用 C:,这次也不会提供共享包,需要你自己指定路径。其它系统为用户主目录下的 `SharedShaderPacks`。
同一系统用户的多个实例,在不改配置时也会指向这个默认文件夹。首次启动会生成带说明的配置文件。本模组没有游戏内设置界面。
实例 `shaderpacks` 里已经存在的同名文件优先,共享目录不会覆盖它。如果模组无法识别当前游戏版本,则不会提供任何共享包;这时可在配置里填写 `assumeMinecraftVersion`,或加上 JVM 参数 `-Dsharedshaderpacks.mcVersion=`。
打开光影文件夹时,可在实例的 `shaderpacks` 里看到 `sharedshaderpacks-where.txt`,里面写有共享目录的实际路径。更详细的扫描结果在 `config/sharedshaderpacks-report.txt`。
作者:CyanBukkit。许可证:MIT。
*
This is a client-side mod. You keep shader packs in one shared folder. Fabric, Forge, and NeoForge instances read that folder instead of each keeping a private copy under `shaderpacks`. A pack the current game cannot run is not shown in the shader list.
This mod does not include any shader packs, and it does not replace a shader loader. You still need Iris, Oculus, OptiFine, ShadersMod, or Angelica, plus your own packs.
Use it if you maintain several Minecraft versions or launcher instances (official launcher, HMCL, PCL, Prism, and similar) and want to avoid copying the same packs over and over, while also hiding packs that the current game cannot run.
1. Drop this one jar into the instance `mods` folder. Fabric, Forge, and NeoForge all use the same file.
2. Install one of the shader loaders listed above.
3. Put your shader packs (zip files or folder packs) into the shared folder.
4. Launch the game and choose a pack in the shader settings.
Covered tracks: Fabric 1.14–26.x, NeoForge 1.20.2–26.x, and Forge 1.8–26.x. Forge 1.7.10 is not supported. Quilt has not been verified. Canvas, Vulkan, and other non-OptiFine shader formats are not supported.
Every instance reads the same folder. A path you set takes priority, in this order:
1. JVM argument `-Dsharedshaderpacks.directory=` (on Windows, prefer forward slashes, for example `-Dsharedshaderpacks.directory=D:/SharedShaderPacks`)
2. `sharedDirectory=` in that instance's `config/sharedshaderpacks.properties`
3. Environment variable `SHARED_SHADERPACKS_DIR`
4. The default folder: on Windows, `\SharedShaderPacks` on the first writable fixed drive other than C: (for example `D:\SharedShaderPacks`). The default is not placed on C:. If no such drive exists, the mod does not fall back to C:, no shared pack is offered, and you need to set the path yourself. On other systems, the default is `SharedShaderPacks` in the user home directory.
Instances that belong to the same system user already share this default folder if you do not change the config. The first launch writes a commented properties file. There is no in-game settings screen.
A file of the same name already in the instance `shaderpacks` folder takes priority and is not overwritten. If the current Minecraft version cannot be detected, no shared pack is offered. In that case, set `assumeMinecraftVersion` in the config, or add `-Dsharedshaderpacks.mcVersion=`.
When you open the shader packs folder, `shaderpacks/sharedshaderpacks-where.txt` shows the shared folder path. A more detailed scan report is written to `config/sharedshaderpacks-report.txt`.
Author: CyanBukkit. License: MIT.
本模组不附带任何光影包,也不能代替光影加载器。使用前需要自行安装 Iris、Oculus、OptiFine、ShadersMod 或 Angelica,并自行准备光影文件。
如果你同时维护多个 Minecraft 版本或启动器实例(官方启动器、HMCL、PCL、Prism 等),可以用它减少重复拷贝、节省磁盘,并避免在不兼容的版本里选到无法使用的光影。
怎么用
1. 把这一个 jar 放进实例的 `mods` 文件夹。Fabric、Forge、NeoForge 使用同一份文件,不必按版本或加载器再选。
2. 安装上述光影加载器之一。
3. 把光影包(zip 或文件夹包)放进共享目录。
4. 启动游戏,在光影设置里选择可用的包。
覆盖范围:Fabric 1.14–26.x,NeoForge 1.20.2–26.x,Forge 1.8–26.x。不支持 Forge 1.7.10。Quilt 尚未验证。不支持 Canvas、Vulkan 等非 OptiFine 格式的光影。
共享目录
所有实例读取同一个文件夹。你指定的路径优先,查找顺序如下:
1. JVM 参数 `-Dsharedshaderpacks.directory=`(Windows 建议用正斜杠,例如 `-Dsharedshaderpacks.directory=D://SharedShaderPacks`)
2. 该实例 `config/sharedshaderpacks.properties` 里的 `sharedDirectory=`
3. 环境变量 `SHARED_SHADERPACKS_DIR`
4. 默认目录:在 Windows 上是除 C: 以外第一块可写固定磁盘上的 `\SharedShaderPacks`(例如 `D:\SharedShaderPacks`),默认不会放到 C:。如果没有这样的磁盘,不会悄悄改用 C:,这次也不会提供共享包,需要你自己指定路径。其它系统为用户主目录下的 `SharedShaderPacks`。
同一系统用户的多个实例,在不改配置时也会指向这个默认文件夹。首次启动会生成带说明的配置文件。本模组没有游戏内设置界面。
实例 `shaderpacks` 里已经存在的同名文件优先,共享目录不会覆盖它。如果模组无法识别当前游戏版本,则不会提供任何共享包;这时可在配置里填写 `assumeMinecraftVersion`,或加上 JVM 参数 `-Dsharedshaderpacks.mcVersion=`。
打开光影文件夹时,可在实例的 `shaderpacks` 里看到 `sharedshaderpacks-where.txt`,里面写有共享目录的实际路径。更详细的扫描结果在 `config/sharedshaderpacks-report.txt`。
作者:CyanBukkit。许可证:MIT。
*
This is a client-side mod. You keep shader packs in one shared folder. Fabric, Forge, and NeoForge instances read that folder instead of each keeping a private copy under `shaderpacks`. A pack the current game cannot run is not shown in the shader list.
This mod does not include any shader packs, and it does not replace a shader loader. You still need Iris, Oculus, OptiFine, ShadersMod, or Angelica, plus your own packs.
Use it if you maintain several Minecraft versions or launcher instances (official launcher, HMCL, PCL, Prism, and similar) and want to avoid copying the same packs over and over, while also hiding packs that the current game cannot run.
How to use
1. Drop this one jar into the instance `mods` folder. Fabric, Forge, and NeoForge all use the same file.
2. Install one of the shader loaders listed above.
3. Put your shader packs (zip files or folder packs) into the shared folder.
4. Launch the game and choose a pack in the shader settings.
Covered tracks: Fabric 1.14–26.x, NeoForge 1.20.2–26.x, and Forge 1.8–26.x. Forge 1.7.10 is not supported. Quilt has not been verified. Canvas, Vulkan, and other non-OptiFine shader formats are not supported.
The shared folder
Every instance reads the same folder. A path you set takes priority, in this order:
1. JVM argument `-Dsharedshaderpacks.directory=` (on Windows, prefer forward slashes, for example `-Dsharedshaderpacks.directory=D:/SharedShaderPacks`)
2. `sharedDirectory=` in that instance's `config/sharedshaderpacks.properties`
3. Environment variable `SHARED_SHADERPACKS_DIR`
4. The default folder: on Windows, `\SharedShaderPacks` on the first writable fixed drive other than C: (for example `D:\SharedShaderPacks`). The default is not placed on C:. If no such drive exists, the mod does not fall back to C:, no shared pack is offered, and you need to set the path yourself. On other systems, the default is `SharedShaderPacks` in the user home directory.
Instances that belong to the same system user already share this default folder if you do not change the config. The first launch writes a commented properties file. There is no in-game settings screen.
A file of the same name already in the instance `shaderpacks` folder takes priority and is not overwritten. If the current Minecraft version cannot be detected, no shared pack is offered. In that case, set `assumeMinecraftVersion` in the config, or add `-Dsharedshaderpacks.mcVersion=`.
When you open the shader packs folder, `shaderpacks/sharedshaderpacks-where.txt` shows the shared folder path. A more detailed scan report is written to `config/sharedshaderpacks-report.txt`.
Author: CyanBukkit. License: MIT.
作者信息
玄易同志
网站的个人号~