2.4.3
Compatibility
Required content
Changes
修改了大量的API (基于上一个发布的版本) 修复了大量的BUG (基于上一个发布的版本)
由于太久没有更新UsefulMagic相关的内容 但是一直在更新该API然后没有上传导致我也忘记了到底有多少更新了 这里列举我还记得的
- 支持一些关于Sounds的修改 loop音效等
- 重构RenderEntity Shader部分框架
- 支持CooParticle的RenderType
- 制作了注册自动化 (@CooAutoRegister)
- 支持一个基于CooParticlesAPI的实体数据框架 (因为Minecraft的实体追踪在mixin场景并不好用)
- 修改关于Emitters的一些实现
- 支持非Particle的Emitter (AutoEmitter) 用于发射 Composition Emitter DisplayEntity RenderEntity等
- 制作了类似Forge的事件系统(只是做了API和少部分事件兼容)
- 新的框架可能更兼容IRIS
- 新增了大量的数学工具 kotlin拓展函数 还有一些插值工具
- 修改了一些包的位置 使得结构 可能更合理
- 修复了在服务器无法使用的问题
- 修改了测试物品鸭子的测试方式 拓展测试面 未来打算改为测试方块
- 新增并优化了Composition的数据包 现在不用ParticleStyle Group而是使用ParticleComposition (支持自动注册 更快的类构建)
- 做了一个数据包系统 (基于Minecraft的数据注册 方便制作请求响应相关的通信 不过还没测试)
- 做了一个按键注册系统 (原版的按键系统感觉用起来很麻烦 所以我做了一个基于CooEvent事件系统的自定义按键支持)
注意
此版本不兼容先前发布在外面的所有以此版本为依赖的模组 Usefulmagic 3.0.0之前的版本请下载上一个版本CooParticlesAPI UsefulMagic 3.0.0预计在7月之前发布
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:poJQVcIe:T8od851B"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:poJQVcIe:T8od851B"
}

