Life Tokens

Life Tokens

Mod

Adds consumable tokens that increase maximum health

Client and server AdventureGame MechanicsMagicUtilityWorld Generation

2,215 downloads
17 followers
Follow Save
Life Tokens has been archived. Life Tokens will not receive any further updates unless the author decides to unarchive the project.
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

This simple mod adds consumable tokens, which can be used to increase a player's max health, obtainable through looting, breaking spawners and archaeology. The mechanics of life tokens and their addition to loot tables can be configured in the life_tokens.json file located in the config directory/folder.

// Default configuration
{
  "addLifeTokenBitsToSpawnerLoot": true,
  "addLifeTokenBitsToDungeonLoot": true,
  "addLifeTokenBitsToArchaeologyLoot": true,
  "maxLife": 60,
  "starterLife": 20,
  "lifeIncrement": 1,
  "resetOnDeath": false,
  "lifeLostOnDeath": 0
}

if addLifeTokenBitsToSpawnerLoot is set to true, spawners will drop 1-3 Life Token Bits when broken, addLifeTokenBitsToDungeonLoot and addLifeTokenBitsToArchaeologyLoot add Bits to dungeon chest and archaeology loot tables, respectively.
The modified chest loot tables are:

  • abandoned mineshaft (minecart chests)
  • simple dungeon chests (monster spawner box)
  • buried treasure
  • end city treasure
  • desert pyramid chests
  • jungle temple chests
  • woodland mansion chests

Project members

n643064

Owner

Details

Licensed LGPL-3.0-only
Published a year ago
Updated a year ago