介绍
EC Rewards — Lunar Event Mana Bonus
EC Rewards is a lightweight vanilla datapack that adds a survival reward system tied to lunar events from Enhanced Celestials. Players who hunt down enough monsters during an active lunar night earn a permanent max mana bonus for Iron’s Spells ‘n Spellbooks.
How it works
- When a lunar event is started (via the pack’s own trigger functions), all online players get a warning message and the night begins.
- Every monster kill during the night is tracked per player using a vanilla advancement (no mixins, no ASM, 100% datapack).
- If a player reaches 15 kills before dawn, they get an immediate milestone message.
- At sunrise, if the night’s lunar event was active, every player with 15+ kills automatically receives +20 max mana (
irons_spellbooks:max_mana), stacking permanently across multiple nights via a single attribute modifier that gets recalculated each time (no duplicate modifiers). - If no lunar event was active that night, no reward is given — the pack tracks lunar activity separately from the kill counter so normal nights don’t grant bonuses.
- All messages are in English.
Supported lunar events
baby_moon, blood_moon, hunters_moon, kaboom_moon, super_baby_moons, super_blood_moon, super_hunters_moon, super_kaboom_moon
Dependencies (required)
- Minecraft 1.20.1
- Enhanced Celestials — the lunar event source this pack reacts to
- Iron’s Spells ‘n Spellbooks — provides the
irons_spellbooks:max_manaattribute the reward modifies
Usage note
Lunar events must be started through this pack’s own functions (/function ecrewards:start/<event_name>) instead of the raw enhancedcelestials command, so the pack can track which nights are “special.” Ending a night happens automatically at sunrise — no command needed.
Customizing the monster list
The kill counter uses the entity tag #ecrewards:monstres (data/ecrewards/tags/entity_types/monstres.json), which ships with all vanilla hostile mobs (zombies, skeletons, creepers, endermen, blazes, warden, etc.). Server owners can freely add modded hostile mobs to this tag to make kills from other mods (e.g. extra biome/dungeon mods) count toward the 15-kill threshold — no code changes required, just edit the JSON.
Compatible with any modpack
Since the reward logic only depends on vanilla commands, Enhanced Celestials, and Iron’s Spells ‘n Spellbooks, this pack can be dropped into any 1.20.1 modpack that already has those two mods installed.
常见问题
EC rewards enchanted celestial X iron spell and spellbook 支持哪些 Minecraft 版本?
EC rewards enchanted celestial X iron spell and spellbook 支持 Minecraft Java 版 1.20.1。下载时注意选择和你游戏版本一致的文件。
EC rewards enchanted celestial X iron spell and spellbook 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Truyty 的其他作品
查看全部 →[ Horrorria ] – The new from the fog creepypasta
在 Horrorria 中求生:面对诡异的 Herobrine、洞穴居民和 Slenderman 脸部跳吓尖叫,沉浸于迷雾笼罩的噩梦世界,体验心理偏执、鲜血、超自然灵体、黑暗、恐怖、都市传说与阴影。
Super HostPromoter – advertise for the Sponsors
赞助者模组,可在游戏中注册自定义赞助者指令。
Apocalypssia [TACZ] Modern Zombie Apocalypse
在核末日中生存100天,抵御成波变种体、寄生虫与亡灵大军的侵袭。用现代枪械武装自己,加固基地,坚持到底。
[ Spellnomia ] – Iron’s Spells ‘n Spellbooks magic modpack
在这场 RPG 冒险中掌握奥术法力与炼金术,体验 Iron's Spells、法师、巫师、龙、Boss 和魔法典籍。探索地下城、洞穴与各种生物群系,享受出色的性能、光影效果和沉浸式中世纪奇幻魔法世界。
评论
登录后评论和评分