Home›Java›Mods›Sanity: Prequel
Sanity: Prequel
ModsJava

Sanity: Prequel

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

by Origins_Eternity · on CurseForge

⬇ Download on CurseForge

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. 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. This is an image

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

This is an image

Using potion of composure or morphine in First Aid mod grants temporary immunity to all negative effects. (except shadow monster)

Decrease Sanity

Increase Sanity

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.

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).

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.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more