HappyGhast — 骑乘与升级快乐恶魂
HappyGhast 将新的 minecraft:happy_ghast 转化为具有成长系统和实用功能的真正载具。
玩家可以提升骑乘速度、安装货物、发射火球、冻结/解冻、治疗坐骑,并在装备挽具时获得增益效果。所有数据(货物、升级、加速)在重启后都能安全持久化保存。
特性
- 永久骑行速度提升
- 右键点击附魔雪球以倍增基础骑行速度(可配置)。
- 使用附魔火药移除该加速效果;插件将恢复原版基础数值。
- 货物与升级
- 潜行 + 箱子 安装货物,潜行 + 钻石 升级为大型箱。
- 物品栏数据会持久化保存至磁盘,并在服务器启动时恢复。
- 恶魂冻结
- 潜行 + 紫水晶碎片 切换 AI 暂停/恢复(适用于编队或停车)。
- 骑行时发射火球
- 使用火焰弹进行射击;包含冷却时间、投射物速度和反破坏选项(默认具有破坏性)。
- 恶魂治疗
- 潜行 + 幻翼膜 可治疗至满血或固定数值(可配置,可选择消耗物品)。
- 挽具增益
- 装备任何原版挽具可获得 +9 颗心(可配置)和 抗性提升 II(可选粒子/环境效果)。
- 在服务器启动或重载时,增益效果会自动重新应用。
合成
附魔雪球
类型: 无序合成配方
材料: 1x 雪球 + 1x 火药 + 1x 萤石粉
产出: 1x 附魔雪球
配方 ID: happyghast:enchanted_snowball
用法: 按住潜行键 + 右键点击 Happy Ghast,使用附魔雪球可施加 永久骑乘速度提升(倍率可配置)。
该物品具有原版附魔光泽效果——无需资源包。

附魔火药
类型: 无形状配方
材料: 1x 附魔雪球 + 1x 火药
产出: 1x 附魔火药
配方 ID: happyghast:enchanted_gunpowder
用法: 按住 Shift + 右键点击 Happy Ghast,即可立即移除增益效果并恢复原版基础速度。
两种配方都适合生存模式,并且会像普通合成配方一样显示。
管理员仍可使用 /hg give snowball <玩家> <数量> 进行测试或在合成受限的服务器中使用。

默认控制
- 安装货舱:潜行 + 箱子
- 打开货舱:潜行 + 避雷针
- 升级货舱:潜行 + 钻石
- 冻结 / 解冻:潜行 + 紫水晶碎片
- 应用加速(永久):潜行 + 右键点击附魔雪球
- 移除加速:潜行 + 右键点击附魔火药
- 治疗:潜行 + 幻翼膜
- 发射火球(骑乘时):右键点击火焰弹
命令与权限
| 命令 |
功能 |
权限 |
/hg |
帮助 |
happyghast.admin(默认 OP) |
/hg reload |
重新加载配置(安全地重新注册配方) |
happyghast.admin |
/hg give snowball <player> <amount> |
给予附魔雪球 |
happyghast.admin |
/hg info |
显示刻间隔 |
happyghast.admin |
/hg audit |
打印 Happy Ghast 统计数据 |
happyghast.admin |
/hg bases |
从最近的恶魂读取基地移动/飞行数据 |
happyghast.admin |
/hg migrate |
强制迁移/刷新配置并保留注释 |
happyghast.admin |
/hg version |
显示插件与配置版本 |
happyghast.admin |
在服务器上安装
- 搭建一个 Bukkit 服务器,例如 Spigot 或 Paper(推荐使用 Paper 而非 Spigot)。
- 从本页面下载 Happy ghast - Ride & Upgrade。
- 将 Happy ghast - Ride & Upgrade 插件文件放入你的
plugins 文件夹中。
配置文件(节选)
controls:
install_with: CHEST # 潜行 + 右键点击快乐恶魂以安装货舱
open_with: LIGHTNING_ROD # 潜行 + 右键点击以打开货舱物品栏
upgrade_item: DIAMOND # 潜行 + 右键点击以升级(单排 → 双排)
freeze_item: AMETHYST_SHARD # 潜行 + 右键点击以切换冻结/恢复 AI 行为
heal_with: PHANTOM_MEMBRANE # 用于治疗物品的物品(潜行 + 右键点击)
cargo:
base_slots: 27 # 安装货舱后的槽位数量(必须为 9 的倍数)
upgraded_slots: 54 # 升级后的槽位数量(上限为 54)
ride_boost:
multiplier: 0.9 # 应用于骑乘速度基础的倍率
# < 1.0 = 更慢(例如 0.7),> 1.0 = 更快(例如 1.6)
vanilla_base:
flying_speed: 0.05 # 原版飞行速度(通过附魔火药重置时使用)
movement_speed: 0.10 # 原版地面移动速度(通过附魔火药重置时使用)
fx:
sounds: true # 启用交互音效
particles: true # 启用视觉粒子效果(反馈爆发特效)
heal:
consume_item: true # 非创造模式下消耗物品
full: true # true = 治疗至最大生命值;false = 仅增加 'amount' 指定的数值
amount: 10.0 # 当 full=false 时使用(单位:生命值;2.0 = 1 颗心)
fireball:
enabled: true
only_when_riding: true # 仅在玩家骑乘 Happy Ghast 时发射
ammo_item: FIRE_CHARGE # 手中所需的弹药
consume_ammo: true # 在生存模式中消耗一份弹药
cooldown_ticks: 20 # 20 刻 = 1 秒(每个 Ghast)
speed: 2.8 # 投射物的初始速度
explosion_yield: 1.5 # LargeFireball 的爆炸“威力”(原版约为 1–3)
incendiary: true # 点燃方块(是/否)
block_damage: true # false = 不造成方块破坏(防恶意破坏)
shooter_is_ghast: true # true = Ghast 为发射者(否则为玩家)
harness:
bonus_health: 20 # 装备护具时额外获得的 HP(+10 颗心)
resistance_level: 2 # 抗性等级(1–4)
resistance_duration: 72000 # 持续时间,单位为刻(72000 = 1 小时);自动刷新
reapply_on_enable: true # 在服务器启动/重载时重新应用增益效果
resistance_particles: true # 在恶魂身上显示药水旋转粒子效果
resistance_ambient: false # 当为 true 时,使用环境(细微)粒子效果
config-version: 1 # 由插件管理;将根据需要自动迁移
HappyGhast — Ride & Upgrade the Happy Ghast
HappyGhast turns the new minecraft:happy_ghast into a real vehicle with progression and utility.
Players can boost riding speed, install cargo, fire fireballs, freeze/unfreeze, heal their mount, and gain buffs when a harness is equipped. All data (cargo, upgrades, boosts) is persisted safely across restarts.
Features
- Permanent riding speed boost
- Right-click with an Enchanted Snowball to multiply base riding speeds (configurable).
- Remove the boost with Enchanted Gunpowder; the plugin restores vanilla base values.
- Cargo & upgrades
- Sneak + Chest to install cargo, Sneak + Diamond to upgrade to double chest.
- Inventory is persisted to disk and restored on startup.
- Ghast Freeze
- Sneak + Amethyst Shard toggles AI pause/resume (useful for staging or parking).
- Fireballs while riding
- Use Fire Charges to shoot; includes cooldown, projectile speed, and anti-grief options (destructive by default).
- Ghast Heal
- Sneak + Phantom Membrane to heal to full or by a fixed amount (configurable, optional item consumption).
- Harness buffs
- Equipping any vanilla harness grants +9 hearts (configurable) and Resistance II (optional particles/ambient).
- Buffs are re-applied automatically on server start or reload.
Crafting
Enchanted Snowball
Type: Shapeless recipe
Ingredients: 1x Snowball + 1x Gunpowder + 1x Glowstone Dusk
Output: 1x Enchanted Snowball
Recipe ID: happyghast:enchanted_snowball
Use: Sneak + Right-click a Happy Ghast with the Enchanted Snowball to apply a permanent riding-speed boost (multiplier is configurable).
The item has the vanilla enchantment glint—no resource pack required.

Enchanted Gunpowder
Type: Shapeless recipe
Ingredients: 1x Enchanted Snowball + 1x Gunpowder
Output: 1x Enchanted Gunpowder
Recipe ID: happyghast:enchanted_gunpowder
Use: Sneak + Right-click a Happy Ghast to remove the boost and restore vanilla base speeds immediately.
Both recipes are survival-friendly and show up like normal crafting recipes.
Admins can still use /hg give snowball <player> <amount> for testing or servers with restricted crafting.

Default Controls
- Install cargo: Sneak + Chest
- Open cargo: Sneak + Lightning Rod
- Upgrade cargo: Sneak + Diamond
- Freeze / Unfreeze: Sneak + Amethyst Shard
- Apply boost (permanent): Sneak + Right-click with Enchanted Snowball
- Remove boost: Sneak + Right-click with Enchanted Gunpowder
- Heal: Sneak + Phantom Membrane
- Fireball (while riding): Right-click with a Fire Charge
Commands & Permissions
| Command |
What it does |
Permission |
/hg |
Help |
happyghast.admin (OP by default) |
/hg reload |
Reload config (recipes re-registered safely) |
happyghast.admin |
/hg give snowball <player> <amount> |
Give Enchanted Snowballs |
happyghast.admin |
/hg info |
Show tick interval |
happyghast.admin |
/hg audit |
Print Happy Ghast stats |
happyghast.admin |
/hg bases |
Read base movement/flying from nearest ghast |
happyghast.admin |
/hg migrate |
Force config migration/refresh with comments |
happyghast.admin |
/hg version |
Show plugin + config version |
happyghast.admin |
To install on server
- Set up a Bukkit server such as Spigot or Paper (Paper is recommended over Spigot).
- Download Happy ghast - Ride & Upgrade from this page.
- Put the Happy ghast - Ride & Upgrade plugin file into your plugins folder.
Config (excerpt)
controls:
install_with: CHEST # SNEAK + right-click the Happy Ghast to install cargo
open_with: LIGHTNING_ROD # SNEAK + right-click to open the cargo inventory
upgrade_item: DIAMOND # SNEAK + right-click to upgrade (single -> double)
freeze_item: AMETHYST_SHARD # SNEAK + right-click to toggle freeze / resume AI
heal_with: PHANTOM_MEMBRANE # Item used to heal (SNEAK + right-click)
cargo:
base_slots: 27 # Slots with cargo installed (must be multiple of 9)
upgraded_slots: 54 # Slots after upgrade (max 54)
ride_boost:
multiplier: 0.9 # Factor applied to riding speed base
# < 1.0 = slower (e.g. 0.7), > 1.0 = faster (e.g. 1.6)
vanilla_base:
flying_speed: 0.05 # Vanilla flying speed (used on reset via enchanted gunpowder)
movement_speed: 0.10 # Vanilla ground speed (used on reset via enchanted gunpowder)
fx:
sounds: true # Enable interaction sounds
particles: true # Enable visual particles (feedback bursts)
heal:
consume_item: true # Consume the item outside Creative
full: true # true = heal to max HP; false = add only 'amount'
amount: 10.0 # Used when full=false (HP; 2.0 = 1 heart)
fireball:
enabled: true
only_when_riding: true # Only fire when the player is mounted on a Happy Ghast
ammo_item: FIRE_CHARGE # Ammo required in hand
consume_ammo: true # Consume one ammo in Survival
cooldown_ticks: 20 # 20 ticks = 1s (per ghast)
speed: 2.8 # Initial projectile speed
explosion_yield: 1.5 # Explosion "power" of the LargeFireball (vanilla ~1–3)
incendiary: true # Set blocks on fire (yes/no)
block_damage: true # false = no block damage (anti-grief)
shooter_is_ghast: true # true = ghast is the shooter (else the player)
harness:
bonus_health: 20 # Extra HP while harness is equipped (+10 hearts)
resistance_level: 2 # Resistance level (1–4)
resistance_duration: 72000 # Duration in ticks (72000 = 1 hour); auto-refreshed
reapply_on_enable: true # Re-apply buffs on server start/reload
resistance_particles: true # Show potion swirl on the ghast
resistance_ambient: false # Ambient (subtle) particles when true
config-version: 1 # Managed by the plugin; will be migrated as needed
评论 0
登录后参与评分
还没有评论,来抢沙发吧