Hordium
完全由数据包驱动的亡灵(或其他实体)袭击系统——无需 Java 代码支持。
Hordium 添加了一个自定义的袭击系统,可配置数量的敌对生物群体会随机或在玩家附近通过命令生成。每次袭击都完全由 JSON 定义,允许整合包作者在不编写代码或重新编译模组的情况下创建新的袭击内容。
功能特性
- 完全由数据包驱动的袭击系统
- 加权随机选择袭击类型
- 随机波次变体以增加重玩性
- 每个波次包含多个独立的生成组
- 完整的实体 NBT 支持(装备、属性、附魔、乘客、自定义数据)
- 灵活的触发条件(维度、生物群系、天气、月相、游戏内时间等)
- 原版风格的小 boss 进度条,显示波次进度和剩余攻击者数量
- 波次开始和检查点时的音效提示与发光效果
- 自动过期与清理机制
- 高度可配置的全局设置
- 内置命令用于启动、停止、列出和调试袭击
- 英文和俄文本地化支持
命令
/hordium list — 列出所有已加载的袭击
/hordium start <raid> [player] — 在指定玩家附近启动一次袭击
/hordium why <raid> — 显示某次袭击是否可以触发及原因
/hordium stop — 停止最近的活跃袭击
面向数据包作者
创建一个新的袭击只需向以下路径添加一个 JSON 文件即可:
data/<namespace>/custom_raids/
每个袭击可以定义:
- 显示名称
- 生成半径
- Boss 条颜色
- 权重值
- 允许的维度
- 掉落表
- 触发条件
- 多波次结构
- 随机波次变体
- 生成组
- 使用原版 NBT 完全自定义实体
模组中包含一个示例 Undead Horde 袭击作为起点。
要求
- Minecraft 1.21.1
- NeoForge
兼容性
Hordium 使用标准的原版实体 NBT、属性和 AI,不会修改其他模组的生物行为,因此几乎兼容任何添加了实体、武器、盔甲或装备的模组。
Hordium
Fully datapack-driven raids of the undead (or anything else) — no Java required.
Hordium adds a custom raid system where configurable waves of mobs appear near players, either randomly or through commands. Every raid is defined entirely in JSON, allowing modpack authors to create new raids without writing code or rebuilding the mod.
Features
- Fully datapack-driven raids
- Weighted random raid selection
- Random wave variants for replayability
- Multiple independent spawn groups per wave
- Full entity NBT support (equipment, attributes, enchantments, passengers, custom data)
- Flexible trigger conditions (dimension, biome, weather, moon phase, in-game day, and more)
- Vanilla-style boss bar with wave progress and remaining attackers
- Sound cues and glow effects for wave starts and checkpoints
- Automatic raid expiration and cleanup
- Highly configurable global settings
- Built-in commands for starting, stopping, listing, and debugging raids
- English and Russian localization
Commands
/hordium list — list all loaded raids
/hordium start <raid> [player] — start a raid near a player
/hordium why <raid> — display why a raid can or cannot trigger
/hordium stop — stop the nearest active raid
For Datapack Authors
Creating a new raid is as simple as adding a JSON file to:
data/<namespace>/custom_raids/
Each raid can define:
- Display name
- Spawn radius
- Boss bar color
- Weight
- Allowed dimensions
- Loot table
- Trigger conditions
- Multiple waves
- Random wave variants
- Spawn groups
- Fully customized entities using vanilla NBT
The mod includes an example Undead Horde raid as a starting point.
Requirements
- Minecraft 1.21.1
- NeoForge
Compatibility
Hordium uses standard vanilla entity NBT, attributes, and AI without modifying other mods' mobs, making it compatible with virtually any mod that adds entities, weapons, armor, or equipment.
评论 0
登录后参与评分
还没有评论,来抢沙发吧