BetterHarvestLevel
全面掌控整合包的挖掘进度。BetterHarvestLevel 允许你定义自定义工具等级、覆盖任意方块或工具的挖掘等级,并统一跨模组的进度……所有操作均通过简单的 JSON 配置文件完成。
功能特性
自定义等级定义
除了原版木/石/铁/钻石/下界合金的层级之外,定义你自己的挖掘等级。每个等级支持:
- 自定义名称、显示名称和颜色
- 用于排序的数值等级
- 可配置的图标物品(在 Jade 提示中显示)
- 插入点(
after/before),以实现精确的等级排序
方块与工具覆盖
覆盖挖掘任意方块所需的等级,或指定任意工具所属的等级。可以通过以下方式定位目标以进行覆盖:
- 单个 ID:
minecraft:obsidian、create:brass_block
- 标签:
#minecraft:needs_iron_tool
- 模组命名空间:
create:*(某个模组的所有方块/物品)
- 正则表达式:在整个注册表中匹配模式
等级等价组
将应视为等同的等级分组,以便用于挖掘目的。这对于添加平行进度路径的模组非常有用(例如,使模组合金等级等同于铁)。
配置分层
将覆盖配置拆分到多个文件中以保持组织性。使用 blocks.json、blocks_create.json、blocks_thermal.json 等。BetterHarvestLevel 会按字母顺序自动合并它们。保持各模组的配置干净且独立。
Jade/WAILA 集成
具有 BHL 覆盖的方块会在 Jade 提示中显示其所需等级,包括:
- 以其配置颜色显示的等级名称
- 基于你手中工具的可挖掘性指示器(绿色对勾或红色叉号)
- 该等级的图标物品
游戏内命令
/bhl check held 显示你手中工具的 BHL 等级
/bhl check looking 显示你注视方块的所需等级
/bhl info 列出所有已注册的等级和覆盖数量
/bhl reload 热重载所有配置文件,无需重启游戏
模组忽略列表
排除整个模组不参与覆盖解析,使其方块和工具不受影响。
快速开始
- 安装模组并启动游戏一次。配置文件将在
.minecraft/config/betterharvestlevel/ 中生成。
- 编辑
tiers.json 以定义你的等级层级。
- 在
blocks.json 中添加方块覆盖(或创建按模组划分的文件,如 blocks_create.json)。
- 在
tools.json 中添加工具覆盖(或按模组划分的文件,如 tools_thermal.json)。
- 可选:在
equivalences.json 中定义等价组。
- 在游戏中使用
/bhl reload 即时应用更改。
示例:添加自定义等级并覆盖方块
tiers.json:在石头和铁之间添加“铜”等级:
{
"tiers": [
{ "name": "wood", "level": 0, "displayName": "Wood", "color": "#A0522D", "builtIn": true },
{ "name": "stone", "level": 1, "displayName": "Stone", "color": "#AAAAAA", "builtIn": true },
{ "name": "copper", "level": 2, "displayName": "Copper", "color": "#E8851C", "builtIn": false, "iconItem": "minecraft:copper_ingot" },
{ "name": "iron", "level": 3, "displayName": "Iron", "color": "#FFFFFF", "builtIn": true },
{ "name": "diamond", "level": 4, "displayName": "Diamond", "color": "#55FFFF", "builtIn": true },
{ "name": "netherite", "level": 5, "displayName": "Netherite", "color": "#555555", "builtIn": true }
]
}
blocks.json:要求使用铜等级才能挖掘青金石矿石:
{
"overrides": [
{ "target": "minecraft:lapis_ore", "type": "block", "requiredTier": "copper" },
{ "target": "minecraft:deepslate_lapis_ore", "type": "block", "requiredTier": "copper" }
]
}
面向整合包开发者
BetterHarvestLevel 专为需要对挖掘进度进行精细控制的整合包开发者而构建。随你的整合包分发等级和覆盖配置,无需最终用户进行任何配置。分层配置系统使你能够按模组组织覆盖配置,并随着整合包的演进轻松添加或删除特定模组的文件。
BetterHarvestLevel
Take full control of your modpack's mining progression. BetterHarvestLevel lets you define custom tool tiers, override harvest levels for any block or tool, and unify cross-mod progression… all through simple JSON config files.
Features
Custom Tier Definitions
Define your own mining tiers beyond vanilla's wood/stone/iron/diamond/netherite hierarchy. Each tier supports:
- Custom name, display name, and color
- Numeric level for ordering
- Configurable icon item (shown in Jade tooltips)
- Insertion point (
after/before) for precise tier ordering
Block & Tool Overrides
Override which tier is required to mine any block, or what tier any tool belongs to. Target overrides by:
- Individual ID:
minecraft:obsidian, create:brass_block
- Tag:
#minecraft:needs_iron_tool
- Mod namespace:
create:* (all blocks/items from a mod)
- Regex: pattern-match across the entire registry
Tier Equivalence Groups
Group tiers that should be treated as equivalent for mining purposes. Useful for mods that add parallel progression paths (e.g., making a modded alloy tier equivalent to iron).
Config Layering
Split your overrides across multiple files for organization. Use blocks.json, blocks_create.json, blocks_thermal.json, etc. BetterHarvestLevel merges them all automatically in alphabetical order. Keep per-mod configs clean and separate.
Jade/WAILA Integration
Blocks with BHL overrides display their required tier in the Jade tooltip, complete with:
- Tier name in its configured color
- A harvestability indicator (green checkmark or red X) based on your held tool
- The tier's icon item
In-Game Commands
/bhl check held Show the BHL tier of your held tool
/bhl check looking Show the required tier of the block you're looking at
/bhl info List all registered tiers and override counts
/bhl reload Hot-reload all config files without restarting
Mod Ignore List
Exclude entire mods from override resolution so their blocks and tools are left untouched.
Getting Started
- Install the mod and launch the game once. Config files are generated in
.minecraft/config/betterharvestlevel/.
- Edit
tiers.json to define your tier hierarchy.
- Add block overrides in
blocks.json (or create per-mod files like blocks_create.json).
- Add tool overrides in
tools.json (or per-mod files like tools_thermal.json).
- Optionally define equivalence groups in
equivalences.json.
- Use
/bhl reload in-game to apply changes instantly.
Example: Adding a custom tier and overriding a block
tiers.json: Add a "copper" tier between stone and iron:
{
"tiers": [
{ "name": "wood", "level": 0, "displayName": "Wood", "color": "#A0522D", "builtIn": true },
{ "name": "stone", "level": 1, "displayName": "Stone", "color": "#AAAAAA", "builtIn": true },
{ "name": "copper", "level": 2, "displayName": "Copper", "color": "#E8851C", "builtIn": false, "iconItem": "minecraft:copper_ingot" },
{ "name": "iron", "level": 3, "displayName": "Iron", "color": "#FFFFFF", "builtIn": true },
{ "name": "diamond", "level": 4, "displayName": "Diamond", "color": "#55FFFF", "builtIn": true },
{ "name": "netherite", "level": 5, "displayName": "Netherite", "color": "#555555", "builtIn": true }
]
}
blocks.json: Require the copper tier to mine lapis ore:
{
"overrides": [
{ "target": "minecraft:lapis_ore", "type": "block", "requiredTier": "copper" },
{ "target": "minecraft:deepslate_lapis_ore", "type": "block", "requiredTier": "copper" }
]
}
For Modpack Developers
BetterHarvestLevel is built specifically for modpack developers who need granular control over mining progression. Ship your tier and override configs with your modpack, no end-user configuration needed. The layered config system means you can organize overrides per-mod and easily add or remove mod-specific files as your modpack evolves.
评论 0
登录后参与评分
还没有评论,来抢沙发吧