Conversation
TankTier enum (BASE〜NETHERITE) を追加し、素材に応じた容量倍率でタンクをアップグレード可能にした。 主な変更: - TankTier enum: 8段階のティア定義 (x1〜x16 倍率) - ConnectedTankBlock: tier パラメータ追加、異なるティア間の接続対応 - CTBlocks/CTItems: 全8ティアのブロック・アイテム登録 - FluidStoragePersistentState: ティア別容量計算 (ワールドのブロック状態から動的に取得) - TankUpgradeRecipe: ShapedRecipe ラッパー方式のカスタムレシピ (TANK_FLUID コンポーネント引き継ぎ) - CTServerConfig: tierMultipliers マップ追加 (コンフィグで倍率変更可能) - ConfigSyncPayload: ティア倍率のネットワーク同期 - データ生成: 全ティアのモデル・レシピ・アドバンスメント生成 - GameTest: ティア別容量・異ティア接続・分断時再計算テスト追加
バニラのネザライトアップグレードと同様に、鍛冶台でのレシピに変更。 テンプレート: ネザライトアップグレード鍛冶型、ベース: ダイヤモンドタンク、追加素材: ネザライトインゴット。 SmithingTransformRecipe の copyComponentsToNewStack により液体データは自動保持される。
手動管理の lang ファイルを FabricLanguageProvider による datagen に移行。 タンク名から "Connected" を削除してシンプルに変更。
BlockItem のデフォルトの翻訳キーが item. プレフィックスだったため、 ブロックの翻訳が適用されていなかった。 useBlockPrefixedTranslationKey() を使用して block. プレフィックスに修正。
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.
Summary
connectedtank:tank_upgrade) で液体データ (TANK_FLUID コンポーネント) を入力から出力に引き継ぎCloses #5
Test plan
./gradlew spotlessCheck— フォーマットチェック通過./gradlew build— コンパイル・全 24 テスト通過./gradlew runDatagen— 全ティアのレシピ・モデル・アドバンスメント JSON 生成確認./gradlew runClientで手動確認: