Elytra Music : 描述与机制
自定义飞行音乐与鞘翅图腾生存机制——为你的鞘翅赋予守护之魂。
概览
Elytra Music 通过两项核心功能增强了原版鞘翅体验:
- 飞行音乐系统 – 在滑翔时自动播放本地文件夹中的自定义音乐,并支持平滑的淡入/淡出效果。
- 鞘翅图腾机制 – 将你的鞘翅转化为抵御致命伤害的第二道防线,包含三种不同形态及一种独特附魔。
支持版本
| Minecraft 版本 |
分支 |
模组版本 |
Fabric 加载器 |
| 1.21.1 |
1.21.1 |
1.7.2 |
>=0.19.2 |
| 1.20.1 |
1.20.1 |
1.7.2 |
>=0.19.2 |
1.20.1 分支为功能完全一致的后移植版本。
功能特性
自定义飞行音乐
- 当装备鞘翅滑翔时,自动切换至自定义音乐;停止滑翔后恢复原版背景音乐。
- 将
.ogg 音频文件放入 elytra_custom_music_folder/(该文件夹会在游戏根目录自动生成)。
- 随机播放并支持平滑交叉淡入淡出(默认 5 秒,可配置)。
- 在 HUD 上显示当前曲目名称(复用原版唱片机叠加层)。
鞘翅图腾 – 三形态进化链
| 形态 |
获取方式 |
生存机制 |
触发后果 |
| 原版鞘翅 |
末地船战利品 |
无 |
— |
| 图腾化鞘翅 |
铁砧:原版鞘翅 + 不死图腾 |
内置图腾效果 |
触发后变为普通鞘翅,保留所有附魔和数据。 |
| 去图腾化鞘翅 |
图腾触发后由普通鞘翅自动转换而来 |
触发时消耗大量耐久度 |
保留 1/3 耐久度(最低 18),无法使用经验修补修复。可在铁砧上使用不死图腾将其完全修复回原版鞘翅。 |
铁砧配方:
| 左侧输入 |
右侧输入 |
输出 |
经验等级消耗 |
| 原版鞘翅 |
不死图腾 |
图腾化鞘翅 |
1 级(可配置) |
| 去图腾化鞘翅 |
不死图腾 |
原版鞘翅(满耐久) |
6 级(可配置) |
专属附魔:“鞘翅保护” (Protection from the Elytra)
为你原版鞘翅提供的最后一道安全网。
| 属性 |
描述 |
| 适用对象 |
仅限原版鞘翅 (minecraft:elytra) |
| 获取方式 |
末地城宝箱(默认 10% 概率,可配置) |
| 最高等级 |
I |
触发逻辑:
当佩戴带有此附魔的鞘翅的玩家受到致命伤害时:
- 优先消耗背包中的不死图腾 → 触发原版图腾效果(绿色粒子)并保留该附魔。
- 若背包中无图腾 → 自我消耗(移除该附魔)作为替代,触发自定义效果(紫色传送门粒子 + 灵魂沙/恶魂死亡音效),并使鞘翅完好无损(无耐久损耗,不改变形态)。
此附魔实质上是在你的鞘翅上存储了一个额外的图腾充能,在你的图腾耗尽时提供最终的安全保障。
配置
首次运行时,会在 config/ 文件夹中生成一个 JSON 配置文件:
{
"anvil": {
"repairCost": 6,
"repairCost_2": 1
},
"music": {
"fadeSeconds": 5.0
},
"enchantment": {
"bookChance": 0.1
}
}
模组在首次启动时会于 config/ 文件夹生成名为 elytra-music-config.json 的 JSON 配置文件,包含以下选项:
anvil.repairCost(默认值:6):在铁砧上将去图腾化鞘翅修复为原版鞘翅(满耐久)所需的经验等级。
anvil.repairCost_2(默认值:1):在铁砧上将原版鞘翅升级为图腾化鞘翅所需的经验等级。
music.fadeSeconds(默认值:5.0):自定义飞行音乐开始或停止时,淡入和淡出过渡的持续时间(秒)。
enchantment.bookChance(默认值:0.1):在末地城宝箱中找到“鞘翅保护”附魔书的概率(0–1)。
物品 ID
| 物品 |
ID |
| 图腾化鞘翅 |
elytra-music:totemized_elytra |
| 去图腾化鞘翅 |
elytra-music:untotemized_elytra |
| 鞘翅保护附魔 |
elytra-music:elytra_totem_enchantment |
注意事项
- 音乐格式:仅支持
.ogg (Vorbis)。
- 音乐播放为客户端行为;其他玩家无法听到你的曲目。
- 该附魔无法通过附魔台获得——仅在末地城战利品中找到。
- 可能与修改鞘翅渲染或耐久度的模组冲突。
许可证
MIT License – 免费使用、修改和分发。
愿每一次滑翔都有音乐相伴,愿每一次危难都有你的鞘翅庇护。
Elytra Music : Description and Mechanism
Custom flight music and elytra totem survival mechanics — give your elytra a guardian soul.
Overview
Elytra Music enhances the vanilla elytra experience with two core features:
- Flight Music System – Automatically play custom music from a local folder while gliding, with smooth fade‑in/fade‑out.
- Elytra Totem Mechanic – Turn your elytra into a second line of defense against fatal damage, through three distinct forms and a unique enchantment.
Supported Versions
| Minecraft Version |
Branch |
Mod Version |
Fabric Loader |
| 1.21.1 |
1.21.1 |
1.7.2 |
>=0.19.2 |
| 1.20.1 |
1.20.1 |
1.7.2 |
>=0.19.2 |
The 1.20.1 branch is a backport with identical features.
Features
Custom Flight Music
- Automatically switches to custom music when gliding with an elytra, and resumes vanilla background music when you stop.
- Place
.ogg audio files in elytra_custom_music_folder/ (created automatically in the game root directory).
- Random playback with smooth crossfade (default 5 seconds, configurable).
- Shows the current track name on the HUD (reuses the vanilla jukebox overlay).
Elytra Totem – Three‑Form Evolution Chain
| Form |
How to Obtain |
Survival Mechanic |
Consequence on Trigger |
| Vanilla Elytra |
End ship loot |
None |
— |
| Totemized Elytra |
Anvil: Vanilla Elytra + Totem of Undying |
Built‑in totem effect |
Becomes a vanilla elytra after triggering, preserving all enchantments and data. |
| Untotemized Elytra |
Automatically converted from a vanilla elytra after totem trigger |
Trigger consumes large durability |
Retains 1/3 durability (minimum 18), cannot be repaired with Mending. Can be fully repaired back to a vanilla elytra using a Totem of Undying on an anvil. |
Anvil Recipes:
| Left Input |
Right Input |
Output |
Experience Cost |
| Vanilla Elytra |
Totem of Undying |
Totemized Elytra |
1 level (configurable) |
| Untotemized Elytra |
Totem of Undying |
Vanilla Elytra (full durability) |
6 levels (configurable) |
Exclusive Enchantment: "Protection from the Elytra"
A last‑resort safeguard for your vanilla elytra.
| Attribute |
Description |
| Applicable to |
Only vanilla elytra (minecraft:elytra) |
| How to Obtain |
End City treasure chests (10% chance by default, configurable) |
| Max Level |
I |
Trigger Logic:
When a player wearing an elytra with this enchantment takes fatal damage:
- Prioritises consuming a Totem of Undying from the inventory → triggers the vanilla totem effect (green particles) and keeps the enchantment.
- If no totem is in the inventory → consumes itself (removes the enchantment) as a substitute, triggers a custom effect (purple portal particles + soul sand / ghast death sounds), and leaves the elytra intact (no durability loss, no form conversion).
This enchantment effectively stores one extra totem charge on your elytra, serving as a final safety net when your totem supply runs out.
Configuration
A JSON config file is generated in the config/ folder on first run:
{
"anvil": {
"repairCost": 6,
"repairCost_2": 1
},
"music": {
"fadeSeconds": 5.0
},
"enchantment": {
"bookChance": 0.1
}
}
The mod generates a JSON config file in the config/ folder on first launch. The file is named elytra-music-config.json and contains the following options:
anvil.repairCost (default: 6): Experience levels required to repair an Untotemized Elytra back to a vanilla Elytra (with full durability) on an anvil.
anvil.repairCost_2 (default: 1): Experience levels required to upgrade a vanilla Elytra to a Totemized Elytra on an anvil.
music.fadeSeconds (default: 5.0): Duration (in seconds) of the fade-in and fade-out transition when custom flight music starts or stops.
enchantment.bookChance (default: 0.1): Probability (0–1) of finding the "Protection from the Elytra" enchantment book in End City treasure chests.
Item IDs
| Item |
ID |
| Totemized Elytra |
elytra-music:totemized_elytra |
| Untotemized Elytra |
elytra-music:untotemized_elytra |
| Protection from the Elytra enchantment |
elytra-music:elytra_totem_enchantment |
Notes
- Music format: Only
.ogg (Vorbis) is supported.
- Music playback is client‑side; other players will not hear your tracks.
- The enchantment cannot be obtained from an enchanting table – it is only found in End City loot.
- May conflict with mods that modify elytra rendering or durability.
License
MIT License – Free to use, modify, and distribute.
May every glide be accompanied by music, and every peril be shielded by your elytra.
评论 0
登录后参与评分
还没有评论,来抢沙发吧