Infinote
服务端可配置的音符盒扩展模组。音符盒应当是可配置的!
? 概览
Infinote 是一款用于 Fabric 的服务端音符盒扩展模组。
它允许你添加自定义的音符盒声音,支持近乎无限的音调偏移和完全可定制的音量控制。
与 Notebetter 等传统客户端模组不同,Infinote 在服务端处理声音逻辑,因此特别适合多人合作使用。
由于由服务器管理声音,它在多人游戏中运行稳定。
客户端要求
-
如果客户端未安装该模组:
- 模组仍可正常工作。
- 只要提供有效的资源包,自定义声音即可生效。
- 然而,音调偏移可能会受到原版钳制行为的限制。
-
如果客户端已安装该模组:
- 音调钳制范围得到扩展。
- 扩展的音调范围可正常运行。
- 启用全部功能。
对于原版 Minecraft 中不存在的声音,必须通过资源包提供额外的资源——否则声音将被静音。
通过使用服务端资源包,所有客户端无需手动安装资源包即可听到相同的自定义声音。
⭐ 特性
- 完全可配置的音符盒声音
- 基于方块下方的声音扩展
- 配置驱动
- 主要逻辑在服务端
- 支持多人游戏
- 多版本兼容
? 演示
?️ 用法
点击展开命令用法
命令
/infinote add <block> <sound> <category> <pitchShift> <volume>
为指定方块添加或更新声音映射。
<block>:目标方块 ID(例如 minecraft:stone)
<sound>:任何有效的声音 ID(不限于内置声音)
<category>:声音类别(例如 master、music、record、block 等)
<pitchShift>:以半音为单位的音调偏移(接受浮点数)
<volume>:音量乘数(浮点数)
/infinote remove <block>
移除指定方块的声音映射。
/infinote reload
重新加载配置。
/infinote import notebetterfabric <json>
从 NotebetterFabric 风格的 JSON 文件导入配置
并将其转换为 Infinote 格式。
<json>:NotebetterFabric 配置文件的路径
此命令允许从 NotebetterFabric 轻松迁移到 Infinote。
? 关于 pitchShift
pitchShift 表示以半音为单位的音调变化。
12 = +12 半音 = +1 个八度
-12 = -12 半音 = -1 个八度
0 = 无音调变化
与原版音符盒不同,pitchShift:
- 接受浮点数值
- 不受限于十二平均律
- 允许微分音调整(例如
0.5、-2.3 等)
? 音调钳制行为
Minecraft 内部会对音调值进行钳制。
未安装客户端模组时
应用原版的音调钳制。
如果计算出的音调超出原版限制,客户端会对其进行钳制。
安装客户端模组后
音调钳制范围扩展至:[0.03125, 32.0],这意味着你可以在以下范围内改变音调:-5va ~ +5va
请注意,若要使用完整的扩展音调范围,需要安装客户端模组。
? 关于 <sound>
<sound> 参数不限于原版声音事件。
你可以使用:
- 自定义命名空间
- 自定义路径
- 资源包内定义的任何 ID
它不需要以 minecraft: 开头。
有效 ID 示例:
minecraft:block.note_block.harp
custom:piano
my_music:grand.piano
你不能使用嵌套命名空间,例如 infinote.custom:piano 或 smoe:namespace:your_path。
<sound> 可以包含:
- 小写字母 (
a-z)
- 数字 (
0-9)
- 下划线 (
_)
- 仅允许一个冒号 (
:)
- 点号 (
.)
格式:
<namespace>:<path>
只允许一个冒号。
? 资源包(原版结构)
遵循标准的 Minecraft 资源包结构:
点击展开资源包结构
resourcepack/
└─ assets/
└─ <namespace>/
├─ sounds.json
└─ sounds/
├─ example_sound.ogg
└─ smth_ur_folder/
└─ nested/
└─ your_sound.ogg
sounds.json 示例:
{
"your_sound": {
"category": "record",
"replace": false,
"sounds": [
"example_sound"
]
},
"sound_id_in_the_command": {
"category": "record",
"replace": false,
"sounds": [
"smth_ur_folder/nested/your_sound"
]
}
}
在 sounds.json 中定义声音后,在命令中使用其完整 ID:
/infinote add minecraft:stone <namespace>:custom.sound block 0 3
在上述示例中,你应该发送以下命令:
/infinote add minecraft:stone <mamespace>:your_sound records 0 3
/infinote add minecraft:white_concrete <mamespace>:sound_id_in_the_command records 0 3
? 从 NotebetterFabric 迁移
Infinote 为来自 NotebetterFabric 的用户提供了内置的迁移命令。
你可以直接导入现有的 NotebetterFabric 配置文件:
/infinote import notebetterfabric <json>
<json>:现有 NotebetterFabric 配置文件的路径
该命令读取 JSON 文件并自动将其转换为 Infinote 格式。
为什么要迁移?
与 NotebetterFabric 相比,Infinote:
- 主要在服务端运行
- 支持扩展的音调范围(需安装客户端模组)
- 允许浮点数半音调音偏移
- 兼容多人游戏
导入后,请使用:
/infinote reload
应用转换后的配置。
导入前请始终备份原始 JSON 文件。
迁移旨在使切换过程无缝进行,同时保留你现有的声音映射。
? 许可证
本项目采用 MIT 许可证 授权。
你有权:
需要署名。
Infinote
Server-side configurable Noteblock expansion mod. Noteblock should be configurable!
? Overview
Infinote is a server-side Note Block expansion mod for Fabric.
It allows you to add custom noteblock sounds with mostly unlimited pitch shifting and fully customizable volume control.
Unlike traditional client-side mods such as Notebetter, Infinote handles sound logic on the server side, making it especially suitable for collaboration.
Because the server manages sound, it operates stably in multiplayer.
Client Requirement
For sounds that do not exist in vanilla Minecraft, additional resources must be provided via a resourcepack — otherwise the sound will be muted.
By using a server-side resource pack, all clients can hear the same custom sounds without needing to install resourcepacks manually.
⭐ Features
- Fully configurable noteblock sounds
- Block-under-based sound expansion
- Config-driven
- Primarily server-side logic
- Multiplayer support
- Multi-version ready
? Demonstration
?️ Usage
Click to expand command usage
Commands
/infinote add <block> <sound> <category> <pitchShift> <volume>
Adds or updates a sound mapping for the specified block.
<block>: Target block ID (e.g. minecraft:stone)
<sound>: Any valid sound ID (not limited to built-in sounds)
<category>: Sound category (e.g. master, music, record, block, etc.)
<pitchShift>: Pitch shift in semitones (accepts float)
<volume>: Volume multiplier (float)
/infinote remove <block>
Removes the sound mapping for the specified block.
/infinote reload
Reloads the configuration.
/infinote import notebetterfabric <json>
Imports configuration from a NotebetterFabric-style JSON file
and converts it into Infinote format.
<json>: Path to the NotebetterFabric configuration file
This command allows easy migration from NotebetterFabric to Infinote.
? About pitchShift
pitchShift represents pitch change in semitones.
12 = +12 semitones = +1 octave
-12 = -12 semitones = -1 octave
0 = no pitch change
Unlike vanilla Note Blocks, pitchShift:
- Accepts floating-point values
- Is not limited to 12-tone equal temperament
- Allows microtonal adjustments (e.g.
0.5, -2.3, etc.)
? Pitch Clamp Behavior
Minecraft internally clamps pitch values.
Without the client mod installed
Vanilla pitch clamping applies.
If the calculated pitch exceeds vanilla limits, it will be clamped by the client.
With the client mod installed
Pitch clamp range is expanded to:[0.03125, 32.0], witch means you can change pitch within: -5va ~ +5va
note that for full extended pitch range, client installation is needed.
? About <sound>
The <sound> argument is not restricted to vanilla sound events.
You may use:
- Custom namespaces
- Custom paths
- Any id defined inside a resourcepack
It does NOT need to start with minecraft:.
Example valid IDs:
minecraft:block.note_block.harp
custom:piano
my_music:grand.piano
you cannot use nested namespace, like infinote.custom:piano, or smoe:namespace:your_path.
The <sound> can contain:
- Lowercase letters (
a-z)
- Numbers (
0-9)
- Underscore (
_)
- Only one colon (
:)
- Dot (
.)
Format:
<namespace>:<path>
Only one colon is allowed.
? Resourcepack (Vanilla Structure)
follow the standard Minecraft resourcepack structure:
Click to expand resourcepack structure
resourcepack/
└─ assets/
└─ <namespace>/
├─ sounds.json
└─ sounds/
├─ example_sound.ogg
└─ smth_ur_folder/
└─ nested/
└─ your_sound.ogg
Example sounds.json:
{
"your_sound": {
"category": "record",
"replace": false,
"sounds": [
"example_sound"
]
},
"sound_id_in_the_command": {
"category": "record",
"replace": false,
"sounds": [
"smth_ur_folder/nested/your_sound"
]
}
}
After defining the sound in sounds.json, use its full ID in the command:
/infinote add minecraft:stone <namespace>:custom.sound block 0 3
In the above example, you should send command:
/infinote add minecraft:stone <mamespace>:your_sound records 0 3
/infinote add minecraft:white_concrete <mamespace>:sound_id_in_the_command records 0 3
? Migration from NotebetterFabric
Infinote provides a built-in migration command for users coming from NotebetterFabric.
You can import an existing NotebetterFabric configuration file directly:
/infinote import notebetterfabric <json>
<json>: Path to your existing NotebetterFabric configuration file
The command reads the JSON file and converts it into Infinote format automatically.
Why migrate?
Compared to NotebetterFabric, Infinote:
- Runs primarily on the server side
- Supports extended pitch ranges (with client mod installed)
- Allows floating-point semitone pitch shifting
- multiplayer compatible
After importing, use:
/infinote reload
to apply the converted configuration.
Always keep a backup of your original JSON file before importing.
Migration is designed to make switching seamless while preserving your existing sound mappings.
? License
This project is licensed under the MIT License.
You are free to:
- Use
- Modify
- Distribute
- Include in modpacks
Attribution is required.
评论 0
登录后参与评分
还没有评论,来抢沙发吧