feat: add MC 26.1 support with unobfuscated Loom split#44
Merged
Conversation
- Add 26.1 to stonecutter versions with separate buildscript (build.unobfuscated.gradle.kts) - Use fabric-loom (non-remap) for 26.1 vs fabric-loom-remap for 1.21.x - Update shared deps: Loom 1.15.5, Fabric Loader 0.19.2, FLK 1.13.11+kotlin.2.3.21 - Add 26.1-specific deps: Fabric API 0.148.0, YACL 3.9.3, ModMenu 18.0.0-alpha.8, Jade 26.1.0, JEI 29.5.0.28 - Fix all 26.1 API changes with Stonecutter directives (displayClientMessage, DataComponentPatch, FabricCreativeModeTab, clientboundPlay, RecipeSerializer, SavedDataType, CameraRenderState, FluidStateModelSet, SpecialModelRenderer generics, FabricPackOutput, Variant, ShapedRecipe, LightCoordsUtil) - Add game tests for tank break fluid retention (37 total, all pass on 3 versions) - Raise fabricloader minimum to >=0.19.2
pendingDropData cleanup via world.server.execute() ran synchronously on the server thread, removing data before getDrops could read it. Restore conditional branching to correctly handle both: - Survival mining (affectNeighborsAfterRemoval before getDrops) - Level.destroyBlock (getDrops before affectNeighborsAfterRemoval) Remove the synchronous execute cleanup entirely. Add regression tests for both paths.
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
fabric-loom-remap(obfuscated) とfabric-loom(unobfuscated) のプラグイン分割Changes
Build System
settings.gradle.kts: 26.1 バージョン追加 (.buildscript("build.unobfuscated.gradle.kts"))build.unobfuscated.gradle.kts: 新規作成 (26.1 専用、mappings なし、implementation系依存)build.gradle.kts:fabric-loom-remapプラグイン使用、26.1 ロジック削除gradle/libs.versions.toml: Loom 1.15.5、Loader 0.19.2、FLK 1.13.11+kotlin.2.3.21fabric.mod.json: fabricloader 下限>=0.19.2Source Code (Stonecutter directives for 26.1)
displayClientMessage→sendOverlayMessageDataComponentMap→DataComponentPatch(Jade)FabricItemGroup→FabricCreativeModeTabPayloadTypeRegistry.playS2C()→clientboundPlay()RecipeSerializerfinal class 化対応SavedDataTypeIdentifier 化BlockRenderLayerMap削除対応 (auto-detection)LightTexture→LightCoordsUtilFluidVariantRendering.getSprite()→FluidStateModelSet(vanilla)SpecialModelRenderer.Unbaked<T>generics 対応FabricDataOutput→FabricPackOutput,FabricTagProvider→FabricTagsProviderShapedRecipe新コンストラクタ対応Bug Fix
pendingDropDataのworld.server?.execute同期実行バグ修正Level.destroyBlockパスでの stale data リーク防止Testing