Dual-Dye Shulkers
适用于 Minecraft 1.21.1 – 26.3 的 Fabric 模组,允许为潜影盒的**顶部(盖子)和底部(基座)**应用不同的颜色!
特性
- 双色潜影盒 - 将一种颜色应用于盖子,另一种颜色应用于基座
- 可配置的按键(默认):
- Shift + 右键点击染料 → 为**顶部(盖子)**上色
- Ctrl + 右键点击染料 → 为**底部(基座)**上色
- 合成配方 - 将染料放在潜影盒上方可为盖子着色,放在下方则为基座着色
- 支持所有 16 种染料颜色(共 256 种组合!)
- 颜色持久化 - 在破坏和放置循环中保持颜色不变
- 创造模式拾取方块 - 复制精确的颜色配置
- 炼药锅清洗 - 使用装有水的炼药锅移除自定义颜色
- 工具提示显示 - 悬停在物品上时查看已应用的颜色
- 完整的 3D 渲染 - 放置在方块和物品中的颜色正确显示
使用方法
- 放置一个潜影盒
- 手持任意染料并 Shift+右键点击潜影盒,为盖子上色
- 手持任意染料并 Ctrl+右键点击,为基座上色
- 或者进行合成:在合成台中将潜影盒与上方的染料(用于盖子)和/或下方的染料(用于基座)一起合成
- 要移除颜色,请使用装有水的炼药锅对潜影盒物品进行操作
配置
安装 Cloth Config 和 Mod Menu 以启用游戏内配置界面。
选项:
- 显示颜色工具提示 - 切换潜影盒物品的工具提示显示
- 为顶部(盖子)染色 - 自定义为上盖着色的按键组合(默认:Shift + 右键点击)
- 为底部(基座)染色 - 自定义为下底着色的按键组合(默认:Ctrl + 右键点击)
按键组合可以是任意两个键/鼠标按钮的组合。
依赖项
- Minecraft 1.21.1, 1.21.4 – 1.21.8, 26.2 或 26.3
- Fabric Loader 0.16.0+ (1.21.x) 或 0.19.0+ 且需 Java 25 (26.x)
- Fabric API
可选依赖:
- Cloth Config - 用于配置界面
- Mod Menu - 用于访问配置界面
安装方法
- 安装 Fabric Loader
- 下载 Fabric API
- 从 Modrinth 下载此模组
- 将这两个模组放入你的
mods文件夹中
从源代码构建
本项目使用 Stonecutter 来支持多版本。
# Windows
# 为当前激活的版本构建(通过 ./gradlew chiseled 管理激活版本)
gradlew.bat build
# Linux/macOS
./gradlew build
输出的 JAR 文件位于 versions/<mc-version>/build/libs/ 中。
Minecraft 1.21.x 基于 master 分支构建,26.x 基于 26.x 分支构建。
测试
端到端测试使用 Fabric GameTest,位于 src/gametest 中。
# 服务端游戏测试(无头模式,也会由 `build` 运行)
./gradlew 26.3:runGameTest
# 客户端游戏测试:带有模拟输入和截图检查的真实客户端
./gradlew 26.3:runClientGameTest
截图保存至 versions/<mc-version>/build/run/clientGameTest/screenshots/。
许可证
MIT License - 详见 LICENSE。
Dual-Dye Shulkers
A Fabric mod for Minecraft 1.21.1 – 26.3 that lets you apply different colors to the top (lid) and bottom (base) of shulker boxes!
Features
- Dual-color shulker boxes - Apply one color to the lid, another to the base
- Configurable controls (default):
- Shift + right-click with dye → colors the top (lid)
- Ctrl + right-click with dye → colors the bottom (base)
- Crafting recipe - Dye above the shulker colors the lid, dye below colors the base
- Works with all 16 dye colors (256 combinations!)
- Colors persist through break/place cycles
- Creative pick-block copies the exact colors
- Cauldron washing - Remove custom colors with a water cauldron
- Tooltip display - See applied colors when hovering over items
- Full 3D rendering - Colors display correctly on placed blocks and items
Usage
- Place a shulker box
- Hold any dye and Shift+right-click the shulker to color the lid
- Hold any dye and Ctrl+right-click to color the base
- Or craft it: put the shulker box in a crafting grid with a dye above it (lid) and/or below it (base)
- To remove colors, use a water cauldron on the shulker box item
Configuration
Install Cloth Config and Mod Menu for an in-game config screen.
Options:
- Show Color Tooltip - Toggle tooltip display on shulker items
- Dye Top (Lid) - Customize key combo for coloring the top (default: Shift + Right Click)
- Dye Bottom (Base) - Customize key combo for coloring the bottom (default: Ctrl + Right Click)
Key combos can be any combination of two keys/mouse buttons.
Requirements
- Minecraft 1.21.1, 1.21.4 – 1.21.8, 26.2 or 26.3
- Fabric Loader 0.16.0+ (1.21.x) or 0.19.0+ with Java 25 (26.x)
- Fabric API
Optional:
- Cloth Config - For config screen
- Mod Menu - For config screen access
Installation
- Install Fabric Loader
- Download Fabric API
- Download this mod from Modrinth
- Place both mods in your
modsfolder
Building from Source
This project uses Stonecutter for multi-version support.
# Windows
# Build for the active version (manage active version with ./gradlew chiseled)
gradlew.bat build
# Linux/macOS
./gradlew build
The output JAR will be in versions/<mc-version>/build/libs/.
Minecraft 1.21.x is built from the master branch, 26.x from the 26.x branch.
Tests
End-to-end tests use Fabric GameTest and live in src/gametest.
# Server game tests (headless, also run by `build`)
./gradlew 26.3:runGameTest
# Client game tests: real client with simulated input and screenshot checks
./gradlew 26.3:runClientGameTest
Screenshots are saved to versions/<mc-version>/build/run/clientGameTest/screenshots/.
License
MIT License - see LICENSE for details.
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
下载 Dual-dye shulkers
- Bug 修复:将双色潜影盒恢复为单色时,不再清空其内容(物品、名称及其他数据均得以保留)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧