Java Music Control (JMC) 是一款动态音乐创作工具,让创建高级、动态的音乐变得轻松!你需要自行创建一个模组来使用它。不过,如果你是模组制作的新手,这是一个很好的入门起点。
下载示例!
当前功能:
易用的上下文访问: ClientContext 类包含多种可触发的播放事件,例如下雨、低生命值、生物数量等,以及更多内容。随着时间的推移,这里将增加大量额外内容。
多层音频: 在不同情境下可以实时演奏不同的乐器!
水下消音效果: 音频会实时被削弱(闷音)。每种触发器均可单独调整消音程度。
淡入淡出: 支持淡入和淡出;这是基于整首歌曲进行的,而非基于单个触发器。
开始与结束延迟: 你可以设置触发器在播放或被替换之前等待的时间长度。
强制中断: 允许某个触发器立即启动并替换另一个触发器;跳过淡出过程。
模组中目前还有更多功能;你可以在 GitHub 上找到更多详细信息。
更新计划:
我计划将此模组更新至 1.21.x 版本,并将其向后移植至 1.19.2、1.18.x 和 1.16.5。鉴于该模组的大部分代码并不依赖众多 Minecraft 特性,这一过程将会相当迅速。至于功能更新,将根据请求进行添加;如果某项功能尚未加入模组,请在 GitHub 页面上提交请求。
使用 JMC 创建模组:
JMC 拥有简单的触发器创建系统。你只需创建自己的类(即你的触发器),创建一首或多首歌曲,然后将其添加到模组的构造函数中。你可以在 10-30 分钟内完成基本触发器的设置。目前,我正在编写带有图片说明的示例模组和文档。随后,我还将发布相关视频。文档将解释 Java 的基础知识、如何创建触发器、附加歌曲以及如何使用 Context(本质上是真/假语句,但经过简化且更可靠)。请查阅 GitHub 页面。
只要该模组仍保留在 CurseForge 和 Modrinth 生态系统中,你就可以自由地在整合包中使用它。
Java Music Control (JMC) is a dynamic music creation tool that makes it easy to create advanced, dynamic music! You will need to create your own mod to use this one. However, if you are new to modding, this is a great place to start.
Download the example!
Current features:
Easy Access Context: The ClientContext class contains many different playable events, for example, rain, low health, mob count, and a ton more. This will get a lot of additional content over time.
Multilayered audio: different instruments can be played during different situations in real time!
Underwater muffling: Audio is muffled in real time. The amount can be adjusted per trigger.
Fading: Both fade-in and fade-out are available; this is done on a per-song basis rather than on a trigger basis.
Start and End delay: You can set the amount of time before a trigger can play or be replaced.
Force interrupt: This can allow a trigger to start and replace another trigger immediately; it skips fade-outs.
More features are in the mod currently; you can find more details on GitHub
Update Plans:
I have plans to update this mod to 1.21.x and backport it to 1.19.2, 1.18.x, and 1.16.5. Given that most of this mod doesn't depend on many Minecraft features, this will happen fairly quickly. As for feature updates, they will come as requested; if something isn't in the mod, drop a request on the GitHub page.
Creating a Mod Using JMC:
JMC has a simple trigger creation system. You create your class (Your trigger), create a new song(s), and add it to your mod constructor. You could have some basic triggers set up in 10-30 minutes. Currently, I'm working on an example mod and documentation with pictures. Soon after, I will also have a video. The documentation will explain the basics of Java, creating triggers, attaching songs, and the use of Context (essentially just true or false statements, but made easier and more reliable). Check out the GitHub page.
You are free to use this mod in your modpacks as long as it stays within the CurseForge and Modrinth ecosystems.
评论 0
登录后参与评分
还没有评论,来抢沙发吧