Update to Minecraft 26.2#464
Open
Morningstar-Garden wants to merge 1 commit into
Open
Conversation
Version bumps (gradle.properties): Minecraft 26.2, NeoForm 26.2-1, NeoForge 26.2.0.6-beta, Fabric loader 0.19.3, Fabric API 0.152.1+26.2, lingua_bib 26.2-1.0.6. Source changes for 26.2 API breakages: - net.minecraft.util.Tuple was removed -> use com.mojang.datafixers.util.Pair (getA/getB -> getFirst/getSecond, new Tuple<>(..) -> Pair.of(..)). - advancements.criterion package renamed to advancements.predicates (ItemPredicate, DataComponentMatchers, MinMaxBounds). - Colored block/item variants consolidated into ColorCollection (e.g. Items.RED_BANNER -> Items.BANNER.red(), Blocks.YELLOW_WOOL -> Blocks.WOOL.yellow()). - VegetationPatchConfiguration is now a record; field access xzRadius/ verticalRange -> xzRadius()/verticalRange(). No mixin changes were required. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Ports Flan to Minecraft 26.2. Builds cleanly for both Fabric and NeoForge.
Version bumps (
gradle.properties)minecraft_versionneoForm_versionneoforge_versionfabric_loader_versionfabric_api_versionlingua_bibSource changes for 26.2 API breakages
net.minecraft.util.Tuplewas removed → switched tocom.mojang.datafixers.util.Pair(getA/getB→getFirst/getSecond,new Tuple<>(..)→Pair.of(..)). AffectsClaimStorage,TeleportUtils,ExpandCommand.advancements.criterionpackage renamed toadvancements.predicates(ItemPredicate,DataComponentMatchers,MinMaxBounds). AffectsConfigUpdater,BuySellHandler.ColorCollection— e.g.Items.RED_BANNER→Items.BANNER.red(),Blocks.YELLOW_WOOL→Blocks.WOOL.yellow(),Items.GRAY_STAINED_GLASS_PANE→Items.STAINED_GLASS_PANE.gray(). AffectsBuiltinPermission,ClaimAllowListKey,ConfirmScreenHandler,CustomInteractListScreenHandler,ServerScreenHelper,PlayerClaimData.VegetationPatchConfigurationis now a record —cfg.xzRadius/cfg.verticalRange→cfg.xzRadius()/cfg.verticalRange(). AffectsPlayerEvents.No mixin changes were required.
Note
Depends on lingua_bib being published for 26.2 (Flemmli97/LinguaBibliotheca#6). Built and tested locally against that build.
Testing
./gradlew clean :fabric:build :neoforge:buildpasses; both loader jars load to datapack/world stage on a 26.2 server.Targeting the
26.1branch as there's no26.2branch yet — happy to retarget.🤖 Generated with Claude Code