fix: add kunectron 1.21.11 adapter support and fix bot GUI verification - #46
Merged
Merged
Conversation
- kunectron fork (51a53ce) に MC 1.21.9-1.21.11 用アダプタを追加 (旧版では Element.item() が Adapter not found で即例外となり GUI が空だった) - CI の kunectron ダウンロード URL を新コミットに更新 - bot スクリプト: windowOpen 直後のスロット取得を 1 秒遅延 (要素はインベントリオープン直後に適用されるため) - bot スクリプト: チャットコンポーネントのタイトル正規化を追加 ([object Object] 表示の修正) Closes #44
Closed
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.
Closes #44
原因
bot テストで QuestGui のアイテムが 0 個だった原因は 2 段階:
Element.item()がAdapter not foundで即例外 → GUI は開くが要素適用前に死んで空表示対応
kunectron fork (sysnote8main/kunectron@51a53ce)
modules/v1_21_11アダプタモジュールを追加 (paperDevBundle 1.21.11)ResourceLocation→Identifier、critereon→criterionhideAdditionalTooltipを no-op 化 (1.21+ の wire format で一部クライアントがパース不可のため)SimpleQuest
[object Object]修正)ローカル検証
実 Paper 1.21.11 + 修正版 kunectron + mineflayer で QuestGui の 8 要素
(カテゴリタブ4 + クエスト3 + 検索) が bot 側で認識されることを確認済み。