Sanityfy
No reviews yet
Adds Sanity attribute to Minecraft.
Designed to be spooky or terrifying, often including dark environments, scary monsters, and survival horror mechanics.
A mod made using MCreator, which is a tool for creating custom mods without programming knowledge.
Provides a framework or library for other mods to use.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Sanityfy
Sanityfy is a tool for mod developers that adds a simple Sanity attribute.
On its own Sanityfy just adds an Attribute with a value from -1000 to 1000 and default 100 that is added to every entity.
How to use it
To use Sanityfy you need some basic Java knowledge.
The mod adds xyz.tygrysgames.sanityfy.procedures.SanityControlerProcedure that you can use to run 6 functions:
addSanity(Entity entity, double value)- adds value to current sanity of entityremoveSanity(Entity entity, double value)- removes value from current sanity of entitydevideSanity(Entity entity, double value)- devides current sanity of entity by valuemultiplySanity(Entity entity, double value)- multiplies current sanity of entity by valuesetSanity(Entity entity, double value)- sets current sanity of entity to valuegetSanity(Entity entity)- returns current sanity of entity, if something goes wrong it will return-1001or cause error
If you want to use this mod in your project remember about adding dependency to your .mods.toml and build.gradle
It is recommended to use 100 as the maximum sanity, since if there will be any mod installed which uses different number, your mods can fight about which one should be the default/maximum sanity.
Sanityfy
Sanityfy is a tool for mod developers that adds a simple Sanity attribute.
On its own Sanityfy just adds an Attribute with a value from -1000 to 1000 and default 100 that is added to every entity.
How to use it
To use Sanityfy you need some basic Java knowledge.
The mod adds xyz.tygrysgames.sanityfy.procedures.SanityControlerProcedure that you can use to run 6 functions:
addSanity(Entity entity, double value)- adds value to current sanity of entityremoveSanity(Entity entity, double value)- removes value from current sanity of entitydevideSanity(Entity entity, double value)- devides current sanity of entity by valuemultiplySanity(Entity entity, double value)- multiplies current sanity of entity by valuesetSanity(Entity entity, double value)- sets current sanity of entity to valuegetSanity(Entity entity)- returns current sanity of entity, if something goes wrong it will return-1001or cause error
If you want to use this mod in your project remember about adding dependency to your .mods.toml and build.gradle
It is recommended to use 100 as the maximum sanity, since if there will be any mod installed which uses different number, your mods can fight about which one should be the default/maximum sanity.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources