hamstar
Terrarian
Note: Requires Mod Libs
Removes item recipes, mob spawns, item drops from mobs, and items. Configurable. Meant mainly for use by custom maps or mods. Players can enable or disable the mod on a per world basis via. chat commands (type /help for options).
Usage
To activate for a given world, type `/nih-on` in the chat.
To clear the current blacklists and whitelists (e.g. the default samples), type `/nih-clear`.
Use the mod's config editor (settings) to adjust defaults for blacklists and whitelists. Any defaults changes can be applied to the current world with the `nih-defaults-reset` command.
Type `/help` and scroll with the arrow keys to see the full list of commands (also seen here in the source code).
Modders
To use this with your mod, simply call the API functions like so (e.g. to permit only the use of a Gold Pickaxe):
Code:
class MyCustomModPlayer : ModPlayer {
...
public override void OnEnterWorld( Player player ) {
if( player.whoAmI == Main.myPlayer && this.player.whoAmI == player.whoAmI ) {
Mod nihMod = ModLoader.GetMod("Nihilism");
if( nihMod != null ) {
bool localOnly = true;
nihMod.Call( "SetItemWhitelistEntry", new ItemDefinition(ItemID.GoldPickaxe), localOnly );
}
}
}
...
}
Todo:
- Filter (black/whitelist) shop items.
- Filter projectile types.
- Filter weather/moon events.
- Filter invasion events.
Source available here. API now available.
Available config fields are defined here.

Last edited: