Description
VeroxLib is a Architectury-based library with modular Sanity System for What Lurks Between.
It provides an easy-to-use API for handling player mental states, madness effects, corruption mechanics, and sanity-based gameplay systems for both Fabric and NeoForge.
![]()
📖 About
VeroxLib is primarily a library for What Lurks Between, but it can also be installed standalone or used for a mod.
- Provides a complete sanity system for mods
- Includes built-in basic hallucinations
- Contains a functional Cultist system
- Designed for cross-loader compatibility
The Cultist system was originally created for the mod What Lurks Between, but is fully usable by any mod or modpack.
![]()
📦 Installation
Required
![]()
⚙️ Features
Global Sanity System
- Per-player sanity value (
0.0 – 100.0) - Sanity loss in specific biomes. Tag:
is_horror_biome
Built-in Hallucinations
- Basic sanity-based hallucination effects included
- Ambient sounds and psychological feedback
- Works even without additional mods
Modular Madness Effects
- Trigger effects based on sanity thresholds
- Supports both client-side and server-side logic
- Fully extendable API for developers
Custom Attributes
Adds new gameplay attributes:
veroxlib:corruption- increases sanity lossveroxlib:sanity_resistance- controlls sanity lossveroxlib:sanity_regen- controlls the sanity regeneration
Cultist System
- Players can become Cultists
- Cultists are immune to sanity effects
- Originally developed for What Lurks Between
- Fully reusable for custom mods, RPG systems, or factions
![]()
💻 For Players
VeroxLib can be used in two ways:
- As a required dependency for other mods
- As a standalone lightweight sanity experience with basic hallucinations
Perfect for modpacks looking to add subtle psychological mechanics without heavy gameplay changes.
![]()
✍️ For Developers
VeroxLib provides:
- Simple sanity API
- Custom sanity effects
- Item-based sanity modifiers
- Attribute integration
- Cultist player handling
- Cross-platform compatibility
Ideal for:
- Horror mods
- Lovecraftian gameplay
- Psychological survival mechanics
- RPG corruption systems
- Hallucination mechanics
![]()
⛓️ License
MIT License
Free to use in modpacks and mod projects.
![]()
💎 Support
If you encounter issues:
- Report bugs via GitHub Issues or Discord
- Include logs and loader version
Join Our Community Discord! Check out PixelDreamStudios - an official partner!
Join my Personal Discord - CLICK HERE



