Skip to content

Update to Minecraft 26.2#464

Open
Morningstar-Garden wants to merge 1 commit into
Flemmli97:26.1from
Morningstar-Garden:26.2
Open

Update to Minecraft 26.2#464
Morningstar-Garden wants to merge 1 commit into
Flemmli97:26.1from
Morningstar-Garden:26.2

Conversation

@Morningstar-Garden

Copy link
Copy Markdown

Ports Flan to Minecraft 26.2. Builds cleanly for both Fabric and NeoForge.

Version bumps (gradle.properties)

Property 26.1.2 26.2
minecraft_version 26.1.2 26.2
neoForm_version 26.1.2-1 26.2-1
neoforge_version 26.1.2.30-beta 26.2.0.6-beta
fabric_loader_version 0.18.4 0.19.3
fabric_api_version 0.147.0+26.1.2 0.152.1+26.2
lingua_bib 26.1.2-1.0.6 26.2-1.0.6

Source changes for 26.2 API breakages

  • net.minecraft.util.Tuple was removed → switched to com.mojang.datafixers.util.Pair (getA/getBgetFirst/getSecond, new Tuple<>(..)Pair.of(..)). Affects ClaimStorage, TeleportUtils, ExpandCommand.
  • advancements.criterion package renamed to advancements.predicates (ItemPredicate, DataComponentMatchers, MinMaxBounds). Affects ConfigUpdater, BuySellHandler.
  • Colored block/item variants consolidated into ColorCollection — e.g. Items.RED_BANNERItems.BANNER.red(), Blocks.YELLOW_WOOLBlocks.WOOL.yellow(), Items.GRAY_STAINED_GLASS_PANEItems.STAINED_GLASS_PANE.gray(). Affects BuiltinPermission, ClaimAllowListKey, ConfirmScreenHandler, CustomInteractListScreenHandler, ServerScreenHelper, PlayerClaimData.
  • VegetationPatchConfiguration is now a recordcfg.xzRadius/cfg.verticalRangecfg.xzRadius()/cfg.verticalRange(). Affects PlayerEvents.

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:build passes; both loader jars load to datapack/world stage on a 26.2 server.

Targeting the 26.1 branch as there's no 26.2 branch yet — happy to retarget.

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant