Skip to content

Conversation

@Gu-ZT
Copy link
Contributor

@Gu-ZT Gu-ZT commented Jan 10, 2026

  • 将所有 dev.anvilcraft.lib.block.IMoveableEntityBlock 导入更新为 dev.anvilcraft.lib.piston.IMoveableEntityBlock
  • 将所有 dev.anvilcraft.lib.util.CodecUtil 导入替换为 dev.anvilcraft.lib.recipe.util.CodecUtil
  • 调整部分事件及扩展相关包的导入路径以使用新的 recipe 包结构
  • 更新 dependencies.gradle,拆分并添加了多模块的 anvillib 依赖和接口注入配置
  • 升级 anvillib 版本到 2.0.0+build.186 并同步更新 gradle/libs.versions.toml 配置
  • 修改相关类引用和调用,确保兼容新的依赖结构
  • 优化部分代码中的接口调用,替换为对应的新模块方法和配置参数

- 将所有 dev.anvilcraft.lib.block.IMoveableEntityBlock 导入更新为 dev.anvilcraft.lib.piston.IMoveableEntityBlock
- 将所有 dev.anvilcraft.lib.util.CodecUtil 导入替换为 dev.anvilcraft.lib.recipe.util.CodecUtil
- 调整部分事件及扩展相关包的导入路径以使用新的 recipe 包结构
- 更新 dependencies.gradle,拆分并添加了多模块的 anvillib 依赖和接口注入配置
- 升级 anvillib 版本到 2.0.0+build.186 并同步更新 gradle/libs.versions.toml 配置
- 修改相关类引用和调用,确保兼容新的依赖结构
- 优化部分代码中的接口调用,替换为对应的新模块方法和配置参数
@Gu-ZT Gu-ZT changed the title refactor(core): 重构代码以更新依赖包路径和版本 Refactor the code to update the dependency package paths and versions 重构代码以更新依赖包路径和版本 Jan 10, 2026
- 调整import语句顺序以提升代码整洁度
- 保持了现有功能未做修改
- 符合项目代码规范的导入格式要求
@Gu-ZT Gu-ZT merged commit 4ff1eea into Anvil-Dev:dev/1.21/1.6 Jan 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants