// Phase 2: the permadeath safety net. A Pokémon holding this when it faints is saved once and the // charm is used up: CobbleHardcoreMon in battles (defaultconfigs/cobblehardcoremon/server.toml → totemItemId), // the companion mod everywhere else (item tag #cobblesurvival:revival_charms in datapacks/core). StartupEvents.registry('item', event => { event.create('cobblesurvival:revival_charm') .displayName('Revival Charm') .maxStackSize(1) .rarity('rare') .tooltip('Held by a Pokémon: saves it once when it faints, then crumbles.') })