跳到正文

EC rewards enchanted celestial X iron spell and spellbook

作者:Truyty

Lunar Event Mana Bonus

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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_mana attribute 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 的其他作品

查看全部 →