Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the mod’s build/runtime requirements and a few implementation details to target Minecraft 26.1 (Issue #32), including bumping the Java level and build tooling to match.
Changes:
- Update mod metadata and build configuration for Minecraft
>=26.1and Java>=25. - Modernize some Java code paths (config I/O via
Files.*, TCPShield fetch viajava.net.http). - Update CI workflows and Gradle wrapper/tooling versions.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/resources/proxy_protocol_support.mixins.json | Raises Mixin compatibility level to Java 25. |
| src/main/resources/fabric.mod.json | Declares Minecraft/Java dependency minimums. |
| src/main/java/pl/panszelescik/proxy_protocol_support/shared/config/TCPShieldIntegration.java | Switches TCPShield IP fetching to HttpClient. |
| src/main/java/pl/panszelescik/proxy_protocol_support/shared/config/Configuration.java | Replaces Apache Commons IO with Files.readString/writeString. |
| src/main/java/pl/panszelescik/proxy_protocol_support/shared/ProxyProtocolSupport.java | Handles InterruptedException from TCPShield fetch. |
| src/main/java/pl/panszelescik/proxy_protocol_support/shared/ProxyProtocolHandler.java | Adds exceptionCaught and uses pattern matching for instanceof. |
| settings.gradle | Adds mavenCentral() to plugin management repositories. |
| gradle/wrapper/gradle-wrapper.properties | Bumps Gradle wrapper to 9.4.0. |
| gradle.properties | Updates Minecraft/loader/loom/mod versions; disables configuration cache. |
| build.gradle | Updates Loom plugin usage, Java release level, and dependency versions. |
| .github/workflows/publish.yml | Updates action versions, JDK version, and publishing metadata ranges. |
| .github/workflows/build.yml | Updates action versions and JDK version for CI builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Closes #32