Sanity: Prequel

Sanity: Prequel

A mod which adds sanity to Minecraft.

by
182 Downloads
forgeadventurecursedgame-mechanics
Rent Server with this Mod

About this Mod

Discord GitHub Issues or Pull Requests GitHub Issues or Pull Requests

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.

Content

This mod adds a garland, an umbrella, and a potion of composure 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. This is an image

Potion

Add composure potion effect, which can recover 1 sanity every 60 >> amplifier ticks. Brew any small flowers with an regeneration potion.

Features

Most feature support custom configurations. Turn to mod's config file for more information.

Effects

  • Sanity < 60, at the edges of things, red, green, and blue seem to be separated in your eyes.
  • Sanity < 55, blood texture flicker on the screen when sanity decrease.
  • Sanity < 50, players will experience auditory hallucinations. (support custom sound list)
  • Sanity < 45, players experiences hallucinations and will see ghosts. (support custom ghost list)
  • Sanity < 40, brain overlay starts to shake.
  • Sanity < 35, there are a grid of small dots lies in your eyes. The world looks washed out…
  • Sanity < 30, whispers can be heard.
  • Sanity < 10, game's graphics are even more distorted, with details barely legible.

This is an image

Using potion of composure or morphine in First Aid mod grants temporary immunity to all negative effects.

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)
  • Around mobs. (within 5 blocks)
  • Around players with sanity < 50. (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)

Commands

Using commands need permission level 2. (support tab completion)
This is an image

Combat

All compatibility features will be enabled automatically when the mod is installed.

CraftTweaker

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.

Available Versions

Sanity: Prequel 1.4.0release
MC 1.12.2forge
May 27, 2026
Sanity: Prequel 1.3.0release
MC 1.12.2forge
March 27, 2026
Sanity: Prequel 1.2.0release
MC 1.12.2forge
March 27, 2026
Sanity: Prequel 1.1.0release
MC 1.12.2forge
March 27, 2026
Sanity: Prequel 1.0.0release
MC 1.12.2forge
March 27, 2026

How to Install Sanity: Prequel on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.12.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Sanity: Prequel". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.12.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Sanity: Prequel server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.12.2). You can switch loaders with one click in the panel.

Is Sanity: Prequel compatible with forge?

Sanity: Prequel officially supports forge for Minecraft 1.12.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Sanity: Prequel – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Sanity: Prequel consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Sanity: Prequel with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Apache License 2.0
Server-side
Required

Supported Versions

1.12.2