Skip to content

Update to Minecraft 1.21.11#117

Open
eripum9 wants to merge 2 commits into
crpmax:mainfrom
eripum9:main
Open

Update to Minecraft 1.21.11#117
eripum9 wants to merge 2 commits into
crpmax:mainfrom
eripum9:main

Conversation

@eripum9
Copy link
Copy Markdown

@eripum9 eripum9 commented Feb 11, 2026

Updates mc-bots to support Minecraft 1.21.11 (Java Edition, protocol version 774).

Changes

  • MCProtocolLib bumped from 1.21.7-SNAPSHOT to 1.21.11-SNAPSHOT
  • MinecraftAuth – migrated to the new API introduced in the latest MinecraftAuth version (pulled in by MCProtocolLib). The old step-based authentication flow (StepFullJavaSession, StepMsaDeviceCode, MinecraftAuth.JAVA_DEVICE_CODE_LOGIN) was replaced with the new JavaAuthManager + DeviceCodeMsaAuthService pattern.
  • Java toolchain updated from 17 to 21

Copilot AI review requested due to automatic review settings February 11, 2026 19:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s Minecraft Java Edition compatibility to 1.21.11 (protocol 774) by aligning dependencies and adapting the Microsoft/Minecraft authentication integration to the latest MinecraftAuth API.

Changes:

  • Bump MCProtocolLib dependency to 1.21.11-SNAPSHOT.
  • Migrate the online-mode authentication flow to JavaAuthManager + DeviceCodeMsaAuthService.
  • Update the Gradle Java toolchain from Java 17 to Java 21.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/main/java/me/creepermaxcz/mcbots/Main.java Reworks online-mode login to use the new MinecraftAuth JavaAuthManager/device-code flow and updates token/profile retrieval accordingly.
build.gradle Updates project version, bumps MCProtocolLib snapshot version, and switches toolchain to Java 21.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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