Skip to content

Add Minecraft Java Edition 1.21.5–1.21.11 support#1

Merged
Praveenkumar801 merged 4 commits into
masterfrom
copilot/update-to-latest-minecraft-version
Feb 20, 2026
Merged

Add Minecraft Java Edition 1.21.5–1.21.11 support#1
Praveenkumar801 merged 4 commits into
masterfrom
copilot/update-to-latest-minecraft-version

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 20, 2026

Cubiomes had a MC_1_21_WD placeholder for the "Winter Drop" update (now released as 1.21.4), and no support for 1.21.5–1.21.11. The key behavioural change in 1.21.5+ is that Pale Garden biomes generate more frequently and over a wider weirdness range.

Version enum (biomes.h)

  • Renamed placeholder: MC_1_21_WDMC_1_21_4 (alias MC_1_21_WD kept for backwards compat)
  • Added MC_1_21_5 and MC_1_21_11 = MC_1_21_5 (1.21.5–1.21.11 share the same biome tree)
  • MC_1_21 and MC_NEWEST now point to MC_1_21_5
MC_1_21_4,                   // 1.21.4 Winter Drop
MC_1_21_WD = MC_1_21_4,      // backwards compatibility alias
MC_1_21_5,
MC_1_21_11 = MC_1_21_5,      // 1.21.5–1.21.11 share the same biome generation
MC_1_21 = MC_1_21_5,
MC_NEWEST = MC_1_21,

New biome tree (tables/btree215.h)

New binary-encoded biome parameter search tree for 1.21.5+, derived from the official Minecraft data generator (1.21.11.jar). Pale Garden has an unrestricted weirdness range vs. the [2666, IMAX] constraint in 1.21.4.

Biome tree selection (biomenoise.c)

climateToBiome() now selects btree215 for mc >= MC_1_21_5, falling through to btree21wd for 1.21.4:

if (mc >= MC_1_21_5)
    bt = &btree215;
else if (mc >= MC_1_21_WD)
    bt = &btree21wd;

Biome parameter limits (finders.c)

Added g_biome_para_range_215_diff with the expanded Pale Garden weirdness range (IMIN, IMAX instead of 2666, IMAX). getBiomeParaLimits() checks this table first for mc > MC_1_21_WD.

Version string handling (util.c)

  • mc2str(MC_1_21_5)"1.21.11" (reports newest patch in the range)
  • str2mc() accepts "1.21.11", "1.21.5", "1.21.4", and "1.21 WD"

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • en.wikipedia.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • minecraft.fandom.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • minecraft.wiki
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Update to support latest Minecraft version Add Minecraft Java Edition 1.21.5–1.21.11 support Feb 20, 2026
@Praveenkumar801 Praveenkumar801 marked this pull request as ready for review February 20, 2026 18:36
@Praveenkumar801 Praveenkumar801 merged commit 5176a48 into master Feb 20, 2026
@Praveenkumar801 Praveenkumar801 deleted the copilot/update-to-latest-minecraft-version branch February 20, 2026 18:36
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.

2 participants