概览
通过此模组,来自牛和哞菇等生物的部分资源现在需要依赖冷却时间。默认情况下,这意味着牛每天大约只能用桶挤奶两次(而不是以前那样一只动物可以无限且即时地提供牛奶)。这个持续时间可以在配置中调整。其他资源,例如从哞菇处收获蘑菇汤,也受冷却时间限制。
该模组本身提供了一些额外的挑战性,但主要目的是鼓励使用替代的奶牛养殖场。或者也许是为了改善牛栏的组织管理?
有替代牛奶吗?
当然有!以下是我脑海中想到的几个模组:
- Neapolitan:虽然这个模组主要关注其他作物和与食物相关的机制,但它增加了通过在滴水石上放置牛来从锅中获取牛奶的能力,类似于水/熔岩的方式。产出速度较慢,但确实允许获得额外的免费牛奶。
- Simple Soy:抛开一些奇怪的刻板印象不谈,这个模组提供了一种名为大豆牛奶的植物基替代品,使用的是该模组标题中的作物。
注意:我与这两个模组都没有关联;我只是觉得它们提供的选项很酷,并且未被充分利用 :)
配置
默认情况下,仍处于冷却时间的生物会生成粒子效果以表明它们尚未准备好满足任何不耐烦的玩家的需求。可以通过将 angryParticle 设置为 false 来禁用此功能。
自定义计时器
[1.20.1] 配置与实体标签
在配置文件中,值 bucketTimer、worseBucketTimer、bowlTimer 和 bottleTimer 分别对应四种可挤奶生物的冷却时间(以秒为单位)。
有四个实体类型标签:milky_way:bucket_milkable、milky_way:worse_bucket_milkable、milky_way:bowl_milkable 和 milky_way:bottle_milkable。
- 默认情况下,像牛这样的生物会被放入
bucket_milkable,而提供较差替代品的生物(如哞菇或来自 Environmental 的牦牛)则被放入worse_bucket_milkable。- 默认情况下,处于
worse_bucket_milkable的生物具有整整一天的冷却时间,而处于bucket_milkable的生物只需一半的时间。
- 默认情况下,处于
- 将一个生物同时放入
bucket_milkable和worse_bucket_milkable可能会产生可怕的后果!!(我不知道因为我也没试过,只是听起来很可怕。)- 其他重叠情况如
bowl_milkable和bucket_milkable是可以的。例如,可以使用 Neapolitan 配置用瓶子给牛挤奶,因此它们会被同时放入bucket_milkable和bottle_milkable。
- 其他重叠情况如
[1.21.1] 数据映射
现在有一个(说实话非常详尽)的数据映射,其中必须包含所有相关的生物、冷却计时器、用于提取资源的物品等。数据映射中的每个实体类型都对应一个 items 列表,其中包括针对上述物品的每个相关参数的特定值。查看默认映射 在此处。
为了帮助解析映射,考虑一下普通的哞菇:
"minecraft:mooshroom": {
"items": [
{
"item": "milky_way:buckets",
"seconds": 1200
},
{
"item": "minecraft:bowl",
"seconds": 600
},
{
"item": "minecraft:glass_bottle",
"seconds": 400,
"mod_loaded": "neapolitan"
}
]
},
哞菇可以用碗(用于炖菜)或桶(用于牛奶)“挤奶”,因此相应的物品及其恢复库存所需的时间都有详细说明。如果加载了 Neapolitan 模组,则还提供用玻璃瓶挤奶的选项。
在上述情况下,每只哞菇只有一个“资源计时器”——收获蘑菇汤意味着在接下来的 600 秒内既不能获得牛奶也不能获得炖菜,反之亦然。但是,如果您希望不同的资源计时器以不同的速率恢复,您可以添加一个 milk_type 参数:
"minecraft:mooshroom": {
"items": [
{
"item": "milky_way:buckets",
"seconds": 1200,
"milk_type": 0
},
{
"item": "minecraft:bowl",
"seconds": 600,
"milk_type": 1
},
{
"item": "minecraft:glass_bottle",
"seconds": 400,
"mod_loaded": "neapolitan",
"milk_type": 0
}
]
},
这样,哞菇就可以每 1200 秒提供一次牛奶,每 600 秒提供一次炖菜,而不受另一种资源计时器的影响。请注意,milk_type 接受一个字节值,所以如果你的生物有超过 255 种不同的资源或基于计时的物品交互,你会遇到麻烦,而且说实话,你活该。
对于那些想知道为什么桶被标记为 milky_way:buckets 而不是简单的 minecraft:bucket 的人来说,观察得很仔细。它是一个哨兵值;请参考下面的“物品标签”。
物品标签
物品标签 milky_way:buckets 使此模组能够与添加替代桶的模组保持兼容,例如 Caverns and Chasms 的金桶或 Windswept's 的木桶。
需要 Blueprint 6.2.0+。 各种可选依赖项也已内置。
[1.20.1] 如果安装了 Cobblemon,则可挤奶的生物(仅限基础模组中的 Miltank)将与标准桶可挤奶的生物归为一类。[1.21.1: 存在一个持久性错误,即当使用精灵球重新召唤时,可挤奶生物的计时器会重置。不确定这是否会修复,抱歉。]
Overview
With this mod, certain resources offered by mobs such as cows and mooshrooms now rely on a cooldown. By default, this means cows can be milked with a bucket roughly twice a day (as opposed to one animal giving infinite and instantaneous milk). This duration is configurable. Other resources, such as harvesting mushroom stew from mooshrooms, are also dependent on a cooldown.
The mod offers some additional challenge on its own, but it's mainly meant to encourage the use of alternative milk farms. Or maybe improved organization in cow pens?
Got Alternative Milk?
Why yes! Here are a few mods off the top of my head:
- Neapolitan: Although this mod primarily focuses on other crops and food-related mechanics, it adds the ability to farm milk out of cauldrons by placing cows over dripstone, similarly to water/lava. The output is slow, but it does allow for extra free milk.
- Simple Soy: Silly stigmas aside, this mod provides a vegan alternative in the form of soy milk, using the mod's titular crop.
Note: I'm not affiliated with either of these mods; I just think the options they provide are neat and under-utilized :)
Config
By default, mobs that are still on a cooldown will spawn a particle to indicate they're not ready to any impatient players. This can be disabled by setting angryParticle to false.
Custom Timers
[1.20.1] Config & Entity Tags
In the config, the values bucketTimer, worseBucketTimer, bowlTimer, and bottleTimer all correspond to the cooldown (in seconds) of the four types of milkable mobs.
There are four entity type tags: milky_way:bucket_milkable, milky_way:worse_bucket_milkable, milky_way:bowl_milkable, and milky_way:bottle_milkable.
- By default, mobs like cows are put into
bucket_milkable, and mobs that would provide worse alternatives (such as mooshrooms or yak from Environmental are put intoworse_bucket_milkable.- By default, a mob in
worse_bucket_milkablehas a full-day cooldown, whereas mobs inbucket_milkableonly take half as long.
- By default, a mob in
- Putting a mob in both
bucket_milkableandworse_bucket_milkablemay have terrible consequences!! (I wouldn't know because I haven't tried, it's just that scary.)- Other overlaps like
bowl_milkableandbucket_milkableare fine, though. For example, cows can configured to be milked with bottles using Neapolitan so they're put in bothbucket_milkableandbottle_milkable.
- Other overlaps like
[1.21.1] Data Map
There is now a (frankly exhaustive) data map where you must include all relevant mobs, cooldown timers, items used to extract resources, etc. Each entity type in the data map corresponds to an items list, which includes a specific value for each relevant parameter corresponding to said item. Check out the default map here.
To help parse the map, consider the humble mooshroom:
"minecraft:mooshroom": {
"items": [
{
"item": "milky_way:buckets",
"seconds": 1200
},
{
"item": "minecraft:bowl",
"seconds": 600
},
{
"item": "minecraft:glass_bottle",
"seconds": 400,
"mod_loaded": "neapolitan"
}
]
},
A mooshroom can be "milked" with a bowl (for stew) or bucket (for milk), so the corresponding item is detailed along with the time it takes for the mob to replenish its stock. If the mod Neapolitan is loaded, the option to milk the mob with a glass bottle is also made available.
In this case above, each mooshroom only has one "resource timer"--harvesting mushroom stew makes it impossible to get milk OR stew for the next 600 secs, and vice versa. However, if you want separate resource timers to replenish at different rates, you can add a milk_type parameter:
"minecraft:mooshroom": {
"items": [
{
"item": "milky_way:buckets",
"seconds": 1200,
"milk_type": 0
},
{
"item": "minecraft:bowl",
"seconds": 600,
"milk_type": 1
},
{
"item": "minecraft:glass_bottle",
"seconds": 400,
"mod_loaded": "neapolitan",
"milk_type": 0
}
]
},
With this, a mooshroom would be able to give milk every 1200 seconds and stew every 600 seconds, disregarding the other resource's timer. Note that milk_type takes in a byte value, so if your mob has more than 255 different resources or timer-based item interactions you're going to have a bad time and frankly, you deserve it.
For those wondering why the bucket is denoted as milky_way:buckets and not just minecraft:bucket, nice catch. It's a sentinel value; please reference "Item Tags" below.
Item Tags
The item tag milky_way:buckets lets this mod maintain compatibility with mods that add alternative buckets, like Caverns and Chasms and their golden buckets or Windswept's wooden buckets.
Requires Blueprint 6.2.0+. Various optional dependencies are also built-in.
[1.20.1] If Cobblemon is installed, mobs that are milkable (only Miltank in the base mod) are put in the same boat as standard bucket-milkable mobs. [1.21.1: There is a persistent bug where milkable mob timers reset when re-summoned with a Pokeball. Not sure if this will be fixed, apologies.]
I know that there could be other mods that add their own fluids to cows, so feel free to extend suggestions and incompatibilities in the issue tracker. Thank you!
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
下载 Milky Way
- 生物在退出和重新进入世界时会保存其牛奶计时器
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
更多生物群系,更多生物,更多工具,为炽热的维度
评论 0
登录后参与评分
还没有评论,来抢沙发吧