[feat]升级 1.21.11 并改造转换桌交互与发版流程 (#3)#19
Open
yIllusionSky wants to merge 1 commit intoLittle100:mainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
升级 1.21.11 并改造转换桌交互与 EMC 计算逻辑
注意
本次修改主要针对售卖/购买/学习,充能未做核心修改。本次修改交互逻辑较多,主要于操作卡手进行修改。我个人并未做过Java开发,代码由ai编写我丢到服务器上测试ok,可能会存在小问题。
变更摘要
本次改动主要完成了以下内容:
spigot-api 1.21.11-R0.1-SNAPSHOTplugin.yml中api-version: '1.16'不变main时仅执行构建检查main分支有新提交时自动打包并发布 Releaseactions/checkout、actions/setup-java、gradle/actions/setup-gradle到较新的主版本/projecte resetdb,仅重置plugins/ProjectE/gui/transmutation.dbShift + 左键删除方式BUY页,保留页码与搜索内容setemc缓存不刷新、resetdb/启动后需手动重算才生效等问题详细改动
1. 构建与版本升级
spigot-api升级到1.21.11-R0.1-SNAPSHOTplugin.yml中的api-version: '1.16'org.gradle.java.home./gradlew build构建2. CI / Release
ci.ymlpull_request -> main./gradlew buildrelease.ymlpush -> maingradle.properties中的版本号,构建 jar,并创建/更新 GitHub Release3. resetdb 命令
/projecte resetdbplugins/ProjectE/gui/transmutation.dbconfig.ymlcommand.ymldevices.yml4. 转换桌交互调整
卖出不再自动学习
购买页移除已学习物品
确认后不再直接关闭 GUI
BUY页5. EMC 计算修复
重复材料计数修复
shaped配方 EMC 计算问题9 emerald -> 1 emerald_block8 iron_ingot -> 1 iron_chestplate都会按正确数量计算
setemc缓存刷新修复/projecte setemc只写数据库、不刷新内存缓存的问题启动与 resetdb 后自动重算
/projecte resetdb后 EMC 结果不自动更新的问题/projecte recalculate all验证点
1.21.11环境正常构建main仅触发检查main分支提交后自动打包并发布/projecte resetdb只清理转换桌数据库BUY页,并正确更新顶部 EMC/projecte setemc执行后立即生效Resolves #18