# Thermoo Patches
[](https://modrinth.com/mod/frostiful)
[](https://modrinth.com/mod/scorchful)
遇到问题?请前往 Discord 获取帮助:https://discord.gg/aqASuWebRU
Thermoo Patches 为基于 [Thermoo](https://github.com/TheDeathlyCow/thermoo/)
的模组提供兼容性补丁与集成,包括 [Frostiful](https://github.com/TheDeathlyCow/frostiful/)
和 [Scorchful](https://github.com/TheDeathlyCow/scorchful/),以及其他适合加入 Thermoo 集成的非 Thermoo 模组。
# 补丁列表
以下补丁目前已经实现,或计划实现。
| 模组名称 | 补丁说明 | 已实现版本 |
|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
| [Armor Points++](https://modrinth.com/mod/armorpoints) & [libhud](https://modrinth.com/mod/libhud) | 温度现在会正确显示在 HUD 上,温度百分比也会显示在生命值文本旁边。需要 libhud 才能运行! | 仅 1.20.1 |
| [Colorful Hearts](https://modrinth.com/mod/colorful-hearts) | 温度现在会正确显示在 HUD 上。 | 1.20.1, 1.20.4, 1.21.1 |
| [Overflowing Bars](https://modrinth.com/mod/overflowing-bars) | 温度现在会正确显示在 HUD 上 | 1.20.1, 1.21.1, 1.21.10 |
| [Fabric Seasons](https://modrinth.com/mod/fabric-seasons) | 让 Frostiful/Scorchful 能识别当前季节(包括热带季节,其中夏季为旱季)。 | 1.20.1[^1], 1.21.1 |
| [Serene Seasons](https://modrinth.com/mod/serene-seasons) | 让 Frostiful/Scorchful 能识别当前季节(包括热带季节,其中夏季为旱季)。 | 1.20.1[^1], 1.20.4, 1.21.1, 1.21.10 |
| [Simple Seasons](https://modrinth.com/mod/simple-seasons) | 让 Frostiful/Scorchful 能识别当前季节(包括热带季节,其中夏季为雨季)。 | 1.21.1 |
| [Immersive Weathering](https://modrinth.com/mod/immersive-weathering) | 食用 Icicles 和 Ice Sickles 会让玩家降温。 | 仅 1.20.1 |
| [Origins](https://modrinth.com/mod/origins) | 提供将 Thermoo 温度系统与 Origins 集成的能力。Blazeborn 起源会无视高温影响,但对寒冷极其脆弱。 | 1.21.1 |
| [Mob Origins](https://modrinth.com/mod/moborigins) | Snow Golem 会在寒冷中得到强化,但在温暖时会融化。同时移除了 Snow Golem 自带的温度系统(因为与 Thermoo 重复)。 | 1.20.1, 1.20.4 |
| [Extra Origins](https://modrinth.com/mod/extra-origins) | Piglin 起源拥有额外的耐热能力 | 1.20.1, 1.20.4, 1.21.1 |
| [Friends & Foes](https://modrinth.com/mod/friends-and-foes) | Iceologer 的 Ice Chunk 攻击和 Totem of Freezing 会通过 Thermoo 的系统冻结受害者;Iceologer 免疫寒冷且被标记为受益于寒冷,Wildfire 被标记为受益于高温;Iceologer 的最高温度为 0;Wildfire 的最低温度为 0 | 1.21.1, 1.21.10 |
| [Stellaris](https://modrinth.com/mod/stellaris) | 将各个行星的温度设定为接近其现实中的温度,并为 Space Suits 提供合适的环境抗性。 | 1.21.1 |
| [Ad Astra](https://modrinth.com/mod/ad-astra) | 为不同星球添加更极端的温度,并禁用常规温度效果。 | 1.20.1, 1.20.4 |
---
请注意,目前并没有计划支持其他温度模组,例如 EnvironmentZ 和 Tough as Nails。这是因为在安装了 Frostiful 和 Scorchful 后,这些
模组在很大程度上是重复的,所以很遗憾,我认为为它们添加支持并不是非常值得投入时间的事情。如果你想要这些补丁,欢迎提交 PR
(或者自己制作一个独立的补丁模组)。
---
[^1]: 1.20.1 的季节集成不支持 Tropical Seasons。
# 参与贡献
如果你希望为 Thermoo 添加某个补丁,请创建 issue 或提交 pull request!对于任何补丁,最重要的一点是它们**必须是可选的**。如果被补丁支持的模组未加载,那么不应该发生任何崩溃或故障。Thermoo Patches 唯一必需的模组是 Fabric API、Cloth Config,当然还有
Thermoo。
# Origins 能力与集成
Thermoo Patches 为整合包作者提供了一些可在 Origins 中使用的能力和数据包功能。其中部分能力已经被集成到某些起源中(见上方具体补丁说明),但它同样也可以作为一种“API”,用于你在整合包中处理 Thermoo + Origins 的联动。
**重要:** 这些能力如何被补丁到起源上,取决于你的游戏版本。在
1.20.x 中,它们是通过直接覆盖数据包条目来进行补丁的(就像你自己会做的那样),并使用 `loading_priority`
设为 `1000`。不过,从 1.21.1 开始,这项工作改为在 Java 代码中动态完成,并且*仅当该 origin JSON 文件是由 Origins 模组本体提供时*才会生效。任何由附属模组或数据包添加的 Origins 都不会自动应用这些能力,除非你自己添加。
你可能会想先阅读一下 [Thermoo Wiki](https://thermoo.thedeathlycow.com),以便更好地理解这些能力的作用,因为像温度变化、抗冻/抗热等内容在其中有更明确的定义。
| Power ID | 说明 |
|------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| `thermoo-patches:cold_immune` | 为受影响实体添加大量 Frost Resistance,使其实际上免疫所有寒冷温度变化。 |
| `thermoo-patches:ignores_cold_effects` | 使受影响实体免疫 Frostiful 的*负面*温度效果 |
| `thermoo-patches:cold_vulnerability` | 使受影响实体因寒冷温度变化而受到的冻结量翻倍。 |
| `thermoo-patches:extra_frost_resistance` | 给予受影响实体 50% 的寒冷温度变化抗性 |
| `thermoo-patches:heat_immune` | 为受影响实体添加大量 Heat Resistance,使其实际上免疫所有温暖温度变化。 |
| `thermoo-patches:ignores_heat_effects` | 使受影响实体免疫 Scorchful 的*负面*温度效果 |
| `thermoo-patches:heat_vulnerability` | 使受影响实体因温暖温度变化而受到的升温量翻倍。 |
| `thermoo-patches:extra_heat_resistance` | 给予受影响实体 50% 的温暖温度变化抗性 |
有些能力以命名空间 `thermoo-patches-origins-patch` 提供。这些能力应被视为 Thermoo Patches 的内部内容,并不是稳定的 API。不过,你可以按照 GNU LGPL 的条款将它们复制到你自己的数据包中。
| Predicate ID | 说明 |
|------------------------------|---------------------------------------------------------------------------------------------------------------|
| `thermoo-patches:can_freeze` | 目标是否会受到来自寒冷的负面温度效果影响(请使用它代替 `frostiful:can_freeze`)。 |
| `thermoo-patches:can_heat` | 目标是否会受到来自高温的负面温度效果影响(请使用它代替 `scorchful:can_heat`)。 |
# 额外致谢
* [Stellaris Icon](https://github.com/st0x0ef/stellaris/blob/f7fd8393196106091d208d83cb93d26b9c29aa83/fabric/src/main/resources/logo.png),
由 st0x0ef 制作,依据 [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en) 使用。
* [Simple Seasons Icon](https://github.com/steves-underwater-paradise/simple-seasons/blob/ccdb19626986d771f4ef980cf913f5d1972cb1d9/src/main/resources/assets/simple_seasons/icon.png),
由 Steveplays28 制作,依据 [LGPL-3.0](https://www.gnu.org/licenses/lgpl-3.0.en.html) 使用。
* [Fabric Seasons Icon](https://github.com/lucaargolo/fabric-seasons/blob/e0b2dd285e5a7f0b2850871ea7a0eb5289d0937c/src/main/resources/assets/seasons/icon.png),
由 lucaargolo 制作,依据 [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/) 使用。
* [Colorful Hearts Icon](https://github.com/Terrails/colorful-hearts/blob/5c0a4a4ba913b2c0d6efc1cb6a32f52b3c82881f/common/src/main/resources/icon.png),
由 Terrails 制作,依据
[MIT license](https://github.com/Terrails/colorful-hearts/blob/5c0a4a4ba913b2c0d6efc1cb6a32f52b3c82881f/LICENSE) 使用。
* [Friends & Foes Icon](https://github.com/Faboslav/friends-and-foes/blob/a82fbdb25f377df3c9a4c3a962c5376ff96a5e5c/common/src/main/resources/icon.png),
由 faboslav 制作,依据 [CC-BY-NC-ND-4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en) 使用(未作修改)。
* [Origins Icon](https://github.com/apace100/origins-fabric/blob/80bf80530e6ecb1dbd317d7d5f44cec9d3b79b7e/src/main/resources/assets/origins/icon.png),
由 Apace 制作,依据
[MIT license](https://github.com/Terrails/colorful-hearts/blob/5c0a4a4ba913b2c0d6efc1cb6a32f52b3c82881f/LICENSE) 使用。
* [Immersive Weathering Icon](https://github.com/AstralOrdana/Immersive-Weathering/blob/1bcc03b6754d6840f3b3ab328744af16e06bdb9a/fabric/src/main/resources/icon.png),
由 Ordana 制作,依据 [LGPL-3.0](https://www.gnu.org/licenses/lgpl-3.0.en.html) 使用。
* [Armor Points++ Icon](https://github.com/Cheos137/ArmorpointsPlusplus/blob/cdf7dbed9bd078af687a893ce0264a24c552a997/core/src/main/resources/icon.png),
由 Cheos 制作,依据
[MIT license](https://github.com/Terrails/colorful-hearts/blob/5c0a4a4ba913b2c0d6efc1cb6a32f52b3c82881f/LICENSE) 使用。