Life Tokens
This concise mod introduces special consumable tokens that allow players to increase their maximum health pool. They can be obtained through various methods: looting chests, destroying mob spawners, and during archaeological excavations.
All aspects of life tokens functionality and their addition to loot tables can be finely tuned through the configuration file life_tokens.json located in the config folder.
// Default settings
{
"addLifeTokenBitsToSpawnerLoot": true, // Add life token bits to spawner loot
"addLifeTokenBitsToDungeonLoot": true, // Add bits to dungeon chests
"addLifeTokenBitsToArchaeologyLoot": true, // Add bits to archaeological loot
"maxLife": 60, // Maximum health
"starterLife": 20, // Starting health
"lifeIncrement": 1, // Health increase per token
"resetOnDeath": false, // Reset health on death
"lifeLostOnDeath": 0 // Health lost on death
}
When the addLifeTokenBitsToSpawnerLoot parameter is active, destroyed spawners will leave behind 1 to 3 life token bits. Similarly, addLifeTokenBitsToDungeonLoot and addLifeTokenBitsToArchaeologyLoot add these bits to dungeon chests and archaeological finds respectively.
Chests where life tokens may appear:
- Abandoned mines (minecart chests)
- Simple dungeons (chests near spawners)
- Buried treasures
- End city treasures
- Desert pyramid chests
- Jungle temple chests
- Woodland mansion chests