简介
Harder Branch Mining 提供多种工具,使分支挖矿变得更加困难,并鼓励玩家进行洞穴探索。
- 你可以控制水平方向的难度——即设定在特定深度挖掘时的难度。
- 你可以控制垂直向下挖掘的难度。
- 你可以控制从哪个深度开始挖掘变得更慢且更令人疲惫。
- 你可以针对来自任何模组的单个工具、物品和维度进行单独控制。
- 你可以控制挖掘矿石方块是保持正常难度还是增加难度!
默认设置
Harder Branch Mining 配备了合理的默认设置,并支持其他常见模组。你无需进行任何操作即可开始使用它。
游玩一段时间后,你可能会发现只需要更改一两项设置。默认情况下,难度从 Y=48 的深度开始增加,并在 Y=5 处达到最大值,而矿石的挖掘难度则保持容易。
工具配置行
工具配置是一个由分号分隔成不同工具的长字符串。以下是一个工具示例及其各部分的功能说明:
minecraft:diamond_pickaxe,minecraft:overworld,48,1.2;
- "模组名:工具名"
- "模组名:维度名"
- "高度:在此深度以上挖掘速度变慢且更耗体力"
- "该工具的基础挖掘速度除数"
版本 11 及更早版本
例如,“Minecraft:Diamond_Pickaxe”在“minecraft:overworld”维度中,于 Y=48 的高度,将正常的方块破坏速度除以 1.2。
如果 Minecraft 的正常方块破坏速度为 5,那么它将被降低至约 4.16,即大约慢 20%。
版本 12 及更新版本(Minecraft 1.18.1)
工具 Y 值修正系数决定了工具开始减速并变得更具消耗性的 Y 轴高度。
1.18.1 之前(版本 12)
工具修正系数会使工具比默认情况减速更多。1.00 无效果。1.2 略微减速。2.0 进一步将速度减半(相对于默认的挖掘修正系数)。
1.18.1 之后(版本 12)
工具修正系数是一个百分比减速值。1.00 不减速。0.9 将其减速至 90% 的速度(并使其多消耗 10% 体力)。
设置
疲劳类型
疲劳率按工具类型和维度进行配置。它们不适用于硬度为 1 或以下的“软”物品(如火把、铁轨、泥土)。
你可以控制额外疲劳开始的深度。额外疲劳会使玩家更快地消耗食物。
示例配置中工具的默认起始深度设置为 Y=48,你可以将其更改为 5 到 255 之间的任意高度。
三种疲劳类型
你可以控制疲劳的类型。
比例疲劳(默认)
当玩家在低于“疲劳深度”的位置挖掘时,他们会逐渐消耗越来越多的食物来维持挖掘。
例如,你可以配置使用木制工具在 Y=50 以下挖掘时,最多消耗额外的 3 个饥饿条。它可能在 Y=49 时开始消耗 0.01 个额外的饥饿条,但在 Y=12 时增加到 2.74 个饥饿条。
例如,你可以配置使用钻石工具在 Y=50 以下挖掘时,最多消耗额外的 0.10 个饥饿条。它可能在 Y=49 时开始消耗 0.003 个额外的饥饿条,但在 Y=5 时增加到 0.097 个饥饿条。
你也可以将其视为额外饥饿条的一个分数。如果你将疲劳深度设置为 50,那么当玩家在 Y=49 挖掘时,疲劳值为额外饥饿条的 1/50。在 Y=12 时,疲劳值为额外饥饿条的 38/50。
无疲劳
此设置按比例减缓挖掘速度,但不消耗额外食物。(由用户 Powraca1 建议)
固定疲劳
当在“疲劳深度”以下挖掘时,挖掘速度固定减少一定量,并且玩家挖掘时需要消耗固定的额外食物量。
例如,你可以设置使用木制工具在 Y=50 以下每挖掘一个方块,就消耗额外的 1 个饥饿条。
例如,你可以设置使用钻石工具在 Y=32 以下每挖掘一个方块,就消耗额外的十分之一饥饿条。
注意事项
根据测试,固定疲劳的良好数值大约是比例疲劳数值的 1/4 到 1/6。
将特定工具和维度组合的疲劳设置为 0.0,实际上会禁用该模组对该特定物品的影响。
如果某个物品或工具未配置特定维度的数据,它将回退到维度 0(主世界)的值。
如果某个物品或工具完全没有配置,它将回退到 “HBM:Default:0” 设置的值。
挖掘速度修正系数
有两种挖掘速度修正系数。“挖掘速度修正系数”始终生效。“向下挖掘速度修正系数”仅在挖掘玩家脚部下方的方块时生效。
挖掘速度修正系数(直到版本 13。从版本 14 起,该设置已移至每个工具上,而非全局设置)
挖掘速度修正系数的范围从 1.0 到 11.0。1.0 表示“无变化”,11.0 表示“非常慢”。
效果随深度缩放。
例如:如果挖掘速度修正系数设置为 10.0,随着玩家挖掘得越深,效果会从无变化逐渐增加到接近基岩层时大约慢 40 倍。
- 1.12.2:始终由服务器强制执行,因此看起来总是正确的。
- 1.15.2:当玩家进入世界时由服务器强制执行。如果客户端设置为较低的值,方块在真正破碎前可能会显示多次破碎动画。
此功能由用户 Oxebjc 建议,他也提供了一些示例代码。感谢 Oxebjc!
向下挖掘速度修正系数(版本 13 及以下。对于版本 14,它是简单的百分比减速)
向下挖掘速度修正系数(除数)的范围从 1.0 到 16.0,适用于挖掘玩家脚部下方且低于疲劳深度的方块。
- 示例:在 1.0 时,向下挖掘所需的时间相同。
- 示例:在 2.0 时,挖掘玩家脚部下方的方块大约需要 10 倍的时间。
- 示例:在 11.0 时,挖掘玩家脚部下方的方块大约需要 60 倍的时间。
此修正系数不随深度缩放。
由服务器强制执行。如果客户端设置为较低的值,方块在真正破碎前可能会显示多次破碎动画。
软物品
硬度为 1 或更低的项目不会导致疲惫或影响挖掘速度。这些包括火把、梯子、铁轨、红石粉尘等。通常可以轻松挖掘的物品很可能硬度为 1 或更低。Minecraft 官方 Wiki 上有一个项目硬度列表。(不确定是否可以直接发布链接)。
普通矿石速度和疲惫选项(默认)
矿石块默认使用原版 vanilla 的疲惫和挖掘速度(true)。但你可以将其更改为 false,这样它们将更难挖掘且更令人疲惫。请记住,这将包括洞穴中的矿石块。
白名单(版本 13 之前,版本 14+ 中称为“忽略方块列表”)
模组将忽略的方块列表。HBM 不会使这些方块变慢或更费力地挖掘。它们对于基于非 OreBlock 和 BlockOre 类型的自定义矿石块很有用。它们也适用于忽略非软性方块,如矿井中的木板和栅栏,并且你可以设置忽略某些种类的石头,使其更快且更柔软。默认白名单包含一些流行的方块作为示例。我很乐意根据用户建议添加更多到默认列表中。由用户 Zeromus92 提出建议。谢谢!
调试级别
有三个调试级别来帮助开发整合包和值:
0 = 关闭,不显示任何调试信息。(默认值)
1 = 记录,调试信息将被添加到文本日志文件中。
2 = 聊天,调试信息将被发送到聊天屏幕并添加到文本日志文件中。
配置界面(仅限 1.12)
可以从标准 1.12.2 模组配置界面编辑值。
配置命令(仅限 1.14.4、1.15.2、1.16)
需要操作员权限或本地创造模式。
注意:在服务器上,更改这些后必须退出世界并重新进入以加载新值。你不需要完全退出客户端。
/hbm exhaustionType 0,1
/hbm debugLevel 0,1,2
/hbm diggingSpeedModifier 1.0-16.0
/hbm downSpeed 1.0-16.0
/hbm info
配置命令(仅限 1.17.1)
需要操作员权限或本地创造模式。
注意:在服务器上,更改这些后必须退出世界并重新进入以加载新值。你不需要完全退出客户端。
/harderbranchmining exhaustionType 0,1
/harderbranchmining debugLevel 0,1,2
/harderbranchmining diggingSpeedModifier 1.0-16.0
/harderbranchmining downSpeed 1.0-16.0
/harderbranchmining info
版本 14+ 的配置命令(mc1.18.1+)
移除了挖掘速度修饰符。现在工具列表上的挖掘速度是一个简单的百分比减慢。
权限!
你被允许将此用于整合包、服务器等。-- 如果可以的话,给我们留个评论会非常好!
喜欢这个模组?
查看我们的其他模组!
Easy Redstone Extras: 9 个简单但强大的红石物品和方块,包括防水的上、下和侧向红石管道。
Nasty Mobs: 六个具有自定义 AI、能力和完全可配置的更聪明的骷髅。
Enameled Armor: 为你的钻石盔甲涂上彩色珐琅,并控制附魔光效是否开启或关闭。
Happy Trails: 轻松配置你的服务器(或个人单人游戏)的移动速度,几乎在任何固体方块上都可以快或慢 1 到 11 倍!
Regrowth: 配置生物导致植物再生、吃草和花,以及村民修复和升级他们的村庄。
Beekeeper: 养蜂人照料蜜蜂,像其他村民一样买卖产品。
Vending Machine: 一台自动补货的售货机,每天早上补充 7 种随机*物品。(*或由地图设计师固定)
Villagers Respawn: 既然村民有了床,他们死后大多数情况下会在床上重生。
Poor Golems: 嘿朋友,你能借我一个锭吗?控制铁傀儡掉落铁锭的频率和数量。
Save Your Pets: 宠物不会立即死亡,而是受伤倒下。你有时间用绷带或金绷带来拯救它们。
常见问题解答
Q: 配置文件在哪里?
A: 对于 1.14.4 到 1.16.1 版本,Forge 现在将配置文件保存在文件夹 : "saves/Worldname/serverconfigurations" 中。从 1.16.2 开始,我改为使用存储在 /config 文件夹中的“common”配置文件。
Q: 如何为一个所有世界保存一个配置?
A: 将你想要的配置副本保存到 "defaultconfigs" 文件夹中。
特别注意事项:自 32.0.67 起,Forge 改变了命令行命令的注册方式。
对于 Forge 版本 32.0.24 到 32.0.66,请使用 Harder Branch Mining 版本 1.16.1 v2.0.0.10。
对于 Forge 版本 32.0.67 及更高版本,请使用 Harder Branch Mining 版本 1.16.1 v2.0.0.11。
Summary
Harder Branch Mining gives you tools to make branch mining more difficult in various ways and to encourage caving.
You can control the horizontal-- setting how hard it is to mine at a given depth.
You can control the vertical-- setting how hard it is to mine downwards.
You can control the depth mining starts becoming slower and more tiring.
You can control on an individual individual tools, item, and dimension basis from any mod.
You can control whether mining ore blocks is normal or harder!
Default Settings
Harder Branch Mining is ready to go with reasonable default settings and support for other common mods. You don't need to do anything to start using it.
You may find you only want to change one or two settings after you play it a while. By default, it starts getting harder at depth 48 and maxes out at depth 5 and ore remains easy to dig.
Tool Configuration Line
Tool configuration is a long string separated by semi-colons into different tools. Here is an example of one tool, then what each part does.
minecraft:diamond_pickaxe,minecraft:overworld,48,1.2;
"The Mod:The Tool", "The Mod:Dimension", "Height Digging Gets Slower and More Exhausting", "Dig Speed Divider For Tool"
Version 11 and earlier.
So this "Minecraft:Diamond_Pickaxe" in the "minecraft:overworld", at height Y=48, divides the normal block break speed by 1.2.
If the normal minecraft block breakspeed was 5, then it would be lowered to 4.16, roughly 20% slower.
Version 12 and later (minecraft 1.18.1)
The tool Y value modifier determines the Y height that a tool starts to slow down and get more exhausting.
Pre 1.18.1 (version 12) The tool modifier slows the tool down more than the default. 1.00 has no effect. 1.2 slows slightly. 2.0 further halfs the speed from the default dig modifier.
Post 1.18.1 (version 12) The tool modifer is a percentage slowdown. 1.00 doesn't slow. 0.9 slows it to 90% speed (and makes it 10% more exhausting).
Settings
Exhaustion Type
Exhaustion rates are configured per tool type and dimension. They do not apply to "soft" items (like torches, rail, dirt) with hardness of 1 or less.
You can control the depth which extra exhaustion starts. Extra exhaustion makes the player consume food faster.
The default starting depth is set to y=48 for tools in the sample configuration and you can change that to any height from 5 to 255.
Three Types of Exhaustion
You can control the type of exhaustion.
Proportional Exhaustion (default)
As a player mines deeper below the Exhaustion Depth, they gradually consume increasing amounts of food to mine.
For example, you could configure mining to cost up to 3 extra food bars below Y=50 with a wooden tool. It might start at .01 extra food bars at Y=49 but increase to 2.74 food bars at Y=12.
For example, you could configure mining to cost up to 0.10 extra food bars below Y=50 with a diamond tool. It might start at .003 extra food bars at Y=49 but increase to 0.097 food bars at Y= 5.
You could also think of this as a fraction of the extra food bars. If you set exhaustion depth at 50, then when a player was digging at Y=49, exhaustion would be 1/50th of the extra food bars. At Y=12, exhaustion would be 38/50ths of the extra food bars.
No Exhaustion
This setting slows down mining proportionally but doesn't use extra food. (suggested by user Powraca1)
Fixed Exhaustion
When mining below the Exhaustion Depth, digging is slowed a fixed amount and players consume a fixed extra amount of food to dig.
For example, you could set mining with a wooden tool to cost an extra food bar for every block mined with a wooden tool below Y=50.
For example, you could set mining with a diamond tool to cost an extra tenth of food bar for every block mined with a diamond tool below Y=32.
Notes
From testing, good values for Fixed exhaustion are about 1/4th to 1/6th those for Proportional exhaustion.
Setting exhaustion to 0.0 for a particular tool and dimension combination effectively disables the mod for that particular item.
If an item or tool isn't configured for a dimension, it will fall back to dimension 0, the Overworld, values.
If an item or tool isn't configured at all, it will fall back to the values set by "HBM:Default:0".
Digging Speed Modifiers
There are two digging speed modifiers. The Digging Speed Modifier always applies. The Downward Digging Speed Modifier only applies when digging blocks lower than the player's feet.
Digging Speed Modifier (thru version 13. As of 14 is now on each tool instead of global)
The Digging Speed Modifier ranges from 1.0 to 11.0. 1.0 is "no change" and 11.0 is "really slow".
The effect scales with depth.
For example: If the Digging Speed Modifier is set at 10.0, as the player digs deeper this will increase from no effect to roughly 40 times longer near bedrock.
1.12.2 Always enforced by server so it always "looks" correct.
1.15.2 Enforced by server when the player enters the world. If the client is set to a lower value, blocks will appear to break multiple times before actually breaking.
This feature was suggested by user Oxebjc who also provided some sample code. Thank you Oxebjc!
Downward Digging Speed modifier (version 13 and below. For 14 is simple percentage slower)
The Downward Digging Speed Modifier (divider) ranges from 1.0 to 16.0 and applies when digging a block lower than the players feet and below the exhaustion depth.
Example: At 1.0, it takes the same amount of time to dig down.
Example: At 2.0, it takes about 10 times longer to dig a block lower than the players feet.
Example: At 11.0, it takes about 60 times longer to dig a block lower than the players feet.
This modifier does not scale with depth.
Enforced by Server. If client is set to lower value, blocks will appear to break multiple times before actually breaking.
Soft Items
Items with hardness of 1 or less do not cause exhaustion or affect digging speed. These include torches, ladders, rail, redstone dust, etc. Anything you can normally dig up easily probably has hardness of 1 or less. There is a list of item hardness on the minecraft official wiki. (not sure it's okay to post a link to it directly).
Normal Ore Speed and Exhaustion Option (default)
Ore blocks use ordinary vanilla exhaustion and digging speed by default (true). But you can change this to false and they will be harder and more exhausting to dig. Keep in mind this will include ore blocks in caves.
Whitelist (thru version 13, Ignore Blocks List in version 14+)
List of blocks the mod will ignore. HBM will not make these blocks slower or more tiring to dig. They are useful for custom oreblocks not based on OreBlock and BlockOre types. They are also useful for ignoring non-soft blocks like wood planks, and fences in mines, and you could set it to ignore some kinds of stone, effectively making them faster and softer. The default whitelist has some popular blocks as examples. I'd be happy to add more to the default list based on user suggestions. Suggested by user: Zeromus92. Thanks!
Debugging Levels
There are three debugging levels to help develop modpacks and values:
0 = Off, No debugging information will be displayed. (default value)
1 = Logged, Debugging information will be added to the text log file.
2 = Chat, Debugging information will be sent to the Chat screen and added to the text log file.
Config Screen (1.12 Only)
Able to edit values from the standard 1.12.2 mod configuration screen.
Config Commands (1.14.4, 1.15.2, 1.16 only)
Requires Operator Level or local Creative.
Note: On a server, you must exit the world and reenter after changing these to load the new values currently. You do not have to completely exit the client
/hbm exhaustionType 0,1
/hbm debugLevel 0,1,2
/hbm diggingSpeedModifier 1.0-16.0
/hbm downSpeed 1.0-16.0
/hbm info
Config Commands (1.17.1)
Requires Operator Level or local Creative.
Note: On a server, you must exit the world and reenter after changing these to load the new values currently. You do not have to completely exit the client
/harderbranchmining exhaustionType 0,1
/harderbranchmining debugLevel 0,1,2
/harderbranchmining diggingSpeedModifier 1.0-16.0
/harderbranchmining downSpeed 1.0-16.0
/harderbranchmining info
Config commands version 14+ (mc1.18.1+)
Removed digging speed modifier. Digging speed now a simple % slower on tools list.
Permission!
You have permission to use this in Modpacks, on servers, etc. -- If you could leave us a comment that would be great!
Like this Mod?
Check out our other mods!
Easy Redstone Extras: 9 simple but powerful redstone items and blocks including waterproof up, down, and sideways redstone pipes.
Nasty Mobs: Six Smarter Skeletons with custom AI, abilities, completely configurable.
Enameled Armor: Cover your Diamond Armor with colored enamel and control whether the enchantment glow is on or off.
Happy Trails: Easily Configure movement on your server (or single person game) to be 1 to 11 times faster or slower on almost any solid block!
Regrowth: Configure Mobs to cause plant regrowth, eat grass and flowers, and villagers to repair and upgrade their villages.
Beekeeper: Beekeepers tend to the bees and buy and sell products like other villagers.
Vending Machine: A vending machine which restocks with 7 random* items every morning. (*or Fixed by Map Designers)
Villagers Respawn: Now that villagers have beds, they have begun to respawn at them most of the time when they are killed.
Poor Golems: Hey Buddy, can you spare an ingot? Control over how often and how many iron ingots iron golems drop.
Save Your Pets: Instead of dying immediately, pets fall down wounded. You have a while to save them with bandages or golden bandages.
FAQ
Q: Where is the configuration file?
A: For versions 1.14.4 to 1.16.1, Forge now saves configuration files in the folder : "saves/Worldname/serverconfigurations". As of 1.16.2 onwards, I changed to "common" config files which are stored in the /config folder.
Q: How do I save one configuration for all worlds?
A: Save a copy of your desired configuration in the "defaultconfigs" folder.
SPECIAL NOTE: Forge changed the way command line commands are registered as of 32.0.67.
use Harder Branch Mining Version 1.16.1 v2.0.0.10 for Forge versions 32.0.24 to 32.0.66
use Harder Branch Mining Version 1.16.1 v2.0.0.11 for Forge versions 32.0.67 onwards
评论 0
登录后参与评分
还没有评论,来抢沙发吧