简介
受 Sanity: Descent Into Madness 模组启发,玩家在理智值较低时会获得一些负面效果。纹理由 croissantnova 基于 Sanity: Descent Into Madness 修改(同意许可)。音效由 Zapsplat 提供。自 版本 1.3.3 起,需要 Baubles 模组作为依赖。自 版本 1.4.6 起,需要 GeckoLib 模组作为依赖。
内容
本模组为游戏添加了花环、雨伞、镇定药水以及暗影怪物。以下是它们的功能描述。
花环
每个花环共有 60 点耐久度,使用任意小花即可制作。佩戴在头上时,水、火、闪电和爆炸会导致其受损。(装备在盔甲栏或 Baubles 栏中)
雨伞
手持雨伞可以防止玩家因下雨而降低理智值和损坏花环。雨伞拥有 120 点耐久度,会因闪电、火焰和爆炸而受损。被破坏或攻击也会造成损伤。

药水
添加镇定药水效果,每 40 >> 放大器倍数 刻恢复 1 点理智值。将任意小花与再生药水一起酿造即可制成。
暗影怪物
在理智值较低的玩家附近生成并追逐他们。它拥有极高的生命值和速度,使其非常难以击败。击杀它可以给予大量理智值。
特性
大多数特性支持自定义配置。请查阅模组的配置文件以获取更多信息。
效果
- 理智值 < 75,玩家将经历幻听。(支持自定义声音列表)
- 理智值 < 60,物体的边缘会出现红绿蓝三色分离的视觉现象。
- 理智值 < 45,能听到低语声,且随着理智值下降,屏幕上会出现血迹纹理覆盖。
- 理智值 < 30,脑部覆盖层开始抖动,一些幽灵会在玩家周围生成。(支持自定义幽灵列表)
- 理智值 < 15,暗影怪物将在玩家附近生成,世界看起来褪色了...

使用镇定药水或 First Aid 模组中的吗啡可获得对所有负面效果的临时免疫。(暗影怪物除外)
降低理智值
- 攻击动物、村民和其他玩家。
- 食用腐败食物,如腐肉、生肉等。(支持自定义物品)
- 被闪电击中。
- 饥饿。
- 口渴。(支持 Tough As Nails 和 SimpleDifficulty)
- 受到伤害。
- 下雨。
- 黑暗。(当玩家没有夜视效果时生效)
- 被怪物追逐。(5 格范围内)
- 靠近理智值 < 20 的玩家。(5 格范围内)
- 背包中的食物变质。(需搭配 Food Spoiling 模组)
- 窒息。
- 切换维度。
- 宠物丢失。
- 被困在蛛网和水中等方块内。(支持自定义方块)
提升理智值
- 睡觉。
- 繁殖动物。
- 食用健康食物。(支持自定义物品)
- 佩戴花环。
- 获得成就。
- 完成任务。(支持 FTB Quests)
- 与宠物在一起。(5 格范围内)
- 靠近理智值 > 50 的玩家。(5 格范围内)
- 击杀生物。
- 镇定效果。
- 营火。(需搭配 Pyrotech 模组)
- 唱片机。
命令
使用命令需要权限等级 2。(支持 Tab 补全)

战斗兼容性
安装模组后,所有兼容性功能将自动启用。
Botania
添加一种新的 Botania 酿造类型“镇定”,玩家可以在植物酿酒台中酿造。使用后获得镇定 II (1:00) 效果。
CraftTweker
为 IPlayer (sanity) 添加一个 ZenExpansion,它可以返回玩家的理智值(浮点数)。你也可以用它来修改玩家的理智值,例如:player.sanity += 2.5。开发者可以在任何 IPlayer 对象上调用此方法,包括其子类。
import crafttweaker.event.BlockHarvestDropsEvent;
events.onBlockHarvestDrops(function(event as BlockHarvestDropsEvent) {
if(!event.world.isRemote()) {
var id = event.block.definition.id;
if (id == "minecraft:red_flower" && event.player.sanity <= 10) {
event.drops = [minecraft:deadbush % 100];
}
}
});
**此*示例*脚本会使玩家在理智值低于或等于 10 时破坏任意小型花朵,掉落枯灌木。**
### 营养
**玩家的平均营养水平会影响理智值增加或减少的速率。(支持 [Nutrition Unofficial Extended Life](https://modrinth.com/mod/nutrition-unofficial-extended-life) 及其衍生版本)**
### Thaumcraft 6
**[Thaumcraft 6](https://ftbwiki.org/Thaumcraft_6) 中的腐化值(Warp)会影响玩家的最大理智值。`max = 100 - warp`(永久值和当前值均适用,上限不超过 50)**
## 关于
**仅代码库在 Apache License 2.0 许可下开源,您可以在此许可下使用、修改代码以移植、分发此模组。音效保留其各自的 [许可证](https://www.zapsplat.com/license-type/standard-license)。其他所有资产的版权均保留。目前暂无计划为新版 Minecraft 开发类似模组。**
Introduction
Inspired by the Sanity: Descent Into Madness mod, players will gain some bad effects when in low sanity. Textures modified from Sanity: Descent Into Madness by croissantnova (consent). Sound effects provided by Zapsplat. Since version 1.3.3, you need Baubles mod as dependency. Since version 1.4.6, you need GeckoLib mod as dependency.
Content
This mod adds a garland, an umbrella, a potion of composure and shadow monster to the game. The following are their feature descriptions.
Garland
Each garland has 60 durability in total, use any small flowers to craft it. Water, fire, lightning, and explosion can lead to damage it while wearing on head. (Equipped in armor or baubles slot)
Umbrella
Holding an umbrella can prevent player from decreasing sanity and damaging garland by rain. Umbrella has 120 durability, which will damage from lightning, fire, explosion. And break or attack can also damage it.

Potion
Add composure potion effect, which can recover 1 sanity every 40 >> amplifier ticks. Brew any small flowers with an regeneration potion.
Shadow Monster
Spawn near players with low sanity and chase them. It has extremely high health and speed, making it very difficult to defeat. Killing it can grant a large amount of sanity.
Features
Most feature support custom configurations. Turn to mod's config file for more information.
Effects
- Sanity < 75, players will experience auditory hallucinations. (support custom sound list)
- Sanity < 60, at the edges of things, red, green, and blue seem to be separated in your eyes.
- Sanity < 45, whispers can be heard and blood texture overlays on screen while sanity decreasing.
- Sanity < 30, brain overlay starts to shake and some ghosts will spawn around players. (support custom ghost list).
- Sanity < 15, shadow monster will spawn near the player, the world looks washed out...

Using potion of composure or morphine in First Aid mod grants temporary immunity to all negative effects. (except shadow monster)
Decrease Sanity
- Attack animals, villagers and other players.
- Eating bad foods such as carrion, raw meat, etc. (support custom items)
- Struck by lightning.
- Hunger.
- Thirst. (support Tough As Nails and SimpleDifficulty)
- Get hurt.
- Rain.
- Dark. (works when player doesn't have night vision effect)
- Being chased by monsters. (within 5 blocks)
- Around players with sanity < 20. (within 5 blocks)
- Food spoiled in inventory. (works with Food Spoiling)
- Choking.
- Change dimensions.
- Lost pets.
- Trapped in blocks like web and water. (support custom blocks)
Increase Sanity
- Sleep.
- Bred animals.
- Eating healthy foods. (support custom items)
- Wearing garland.
- Gain advancements.
- Complete quests. (support FTB Quests)
- Stay with pets. (within 5 blocks)
- Around players with sanity > 50. (within 5 blocks)
- Kill mobs.
- Composure effect.
- Campfire. (works with Pyrotech)
- JukeBox.
Commands
Using commands need permission level 2. (support tab completion)

Combat
All compatibility features will be enabled automatically when the mod is installed.
Botania
Add a new type of botania brew called Composure, which players can brew it in the Botanical Brewery. Using it grants effects of Composure II (1:00).
CraftTweker
Add a ZenExpansion for IPlayer (sanity), which can return player's sanity value as float. And you can also use it to modify a player's sanity value like this:player.sanity += 2.5. Developers can call this method on any IPlayer object, including its subtypes.
import crafttweaker.event.BlockHarvestDropsEvent;
events.onBlockHarvestDrops(function(event as BlockHarvestDropsEvent) {
if(!event.world.isRemote()) {
var id = event.block.definition.id;
if (id == "minecraft:red_flower" && event.player.sanity <= 10) {
event.drops = [<minecraft:deadbush> % 100];
}
}
});
This example script makes any small flowers drop a dead bush when broken by a player with sanity of 10 or less.
Nutrition
The player's average nutrition level affects the rate at which sanity increases or decreases. (support Nutrition Unofficial Extended Life and its forks version)
Thaumcraft 6
Warp in Thaumcraft 6 can affect player's max sanity. max = 100 - warp (permanent value and normal value, no more than 50)
About
Only the codebase has been open source under the Apache License 2.0, you can use, modify the code to port, distribute this mod under the license. Sound effects retain their respective license. All rights reserved for all other assets. And there are currently no plans to make a mod like this for a new Minecraft version.
评论 0
登录后参与评分
还没有评论,来抢沙发吧