name: '&eInfinite Totem of Undying'
lore:
- '&7A totem that grants infinite life,'
- '&7but requires time to recharge.'
material: TOTEM_OF_UNDYING
usage: -1 # Set to -1 so the item is never consumed by internal usage tracking
keepItemOnDeath: true # Ensures the item is kept in inventory after death
activators:
activator0:
name: 'Death Prevention'
option: PLAYER_BEFORE_DEATH
cancelEvent: true # Prevents the player's death and item consumption
commands:
- minecraft:effect give %player% regeneration 40 1 true # Regeneration II for 40 seconds
- minecraft:effect give %player% absorption 5 1 true # Absorption II for 5 seconds
cooldownFeatures:
cooldown: 60 # 60 seconds cooldown
isCooldownInTicks: false
cooldownMsg: "&cYour Infinite Totem is on cooldown! &7(&e%time_S%s remaining&7)"
displayCooldownMessage: true
cancelEventIfInCooldown: true # If on cooldown, the event is still cancelled, but effects aren't applied.
# Generated with the AI model models/gemini-2.5-flash.
Infinite totem of Undying : https://discord.com/channels/701066025516531753/1435291808790745118
Last edited: about 1 month ago