Skip to content

Commit 2eb99cf

Browse files
authored
feat(platform): support minecraft 26.3 (#37)
Claude-Session: https://claude.ai/code/session_01JavEedb4MyR9NehY3HusTn
1 parent 016c013 commit 2eb99cf

8 files changed

Lines changed: 93 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It is a maintained [fork](https://github.com/Arcaniax-Development/goPaint_1.14)
1414

1515
| | |
1616
|---|---|
17-
| Server | Paper 26.1.1, 26.1.2, 26.2 ([details](docs/reference/supported-versions.md)) |
17+
| Server | Paper 26.1.1, 26.1.2, 26.2, 26.3 ([details](docs/reference/supported-versions.md)) |
1818
| Java | 25 |
1919
| Required plugin | FastAsyncWorldEdit 2.16 or newer |
2020

‎build.gradle.kts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ if (!File("$rootDir/.git").exists()) {
3838
val supportedMinecraftVersions = listOf(
3939
"26.1.1",
4040
"26.1.2",
41-
"26.2"
41+
"26.2",
42+
"26.3"
4243
)
4344

4445
java {

‎docs/reference/supported-versions.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
| BetterGoPaint | Minecraft | Server | Java | FastAsyncWorldEdit |
44
|---|---|---|---|---|
5-
| 2.x | 26.1.1, 26.1.2, 26.2 | Paper | 25 | 2.16 or newer |
5+
| 2.x | 26.1.1, 26.1.2, 26.2, 26.3 | Paper | 25 | 2.16 or newer |
66
| 1.1.x | 1.21 – 1.21.3 | Paper | 21 | — |
77

88
The source of truth is `supportedMinecraftVersions` in `build.gradle.kts`; the versions listed
99
there are the ones offered on Hangar and Modrinth.
1010

11+
A Minecraft version is added once the current FastAsyncWorldEdit release has an adapter for it;
12+
versions below 26.1 are not supported. BetterGoPaint compiles against the stable Paper 26.2 API,
13+
which is expected to load on 26.3 as well.
14+
1115
Paper 26.x requires Java 25 and BetterGoPaint is compiled for it, so a jar built for 26.x cannot
1216
load on 1.21.x. Servers that stay on 1.21 keep using BetterGoPaint 1.1.x.
1317

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
schema: spec-driven
2+
created: 2026-10-10
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Design
2+
3+
## Compile against Paper API 26.2, not 26.3
4+
5+
Paper publishes `paper-api` 26.3 only as beta builds (for example `26.3.build.169-beta`).
6+
Depending on a beta API would make every build and every release depend on an artifact that can
7+
change or disappear. The version catalog stays on `26.2.build.+`.
8+
9+
A jar compiled against 26.2 is expected to load on 26.3, because Paper keeps the API backwards
10+
compatible within the 26.x line. `apiVersion` in `paper-plugin.yml` stays `26.1`, the lowest
11+
supported line, so Paper accepts the plugin on every supported version.
12+
13+
Revisit when Paper publishes a stable 26.3 API: bump the catalog entry and keep the lowest
14+
common API in mind for `apiVersion`.
15+
16+
## Follow FAWE upward only
17+
18+
The list of supported versions is driven by FAWE adapters, because a server without an adapter
19+
cannot run the plugin's edit sessions. Versions are therefore added when the current FAWE release
20+
supports them, never ahead of it. The floor stays at 26.1 (Paper 26.x requires Java 25); older
21+
lines remain on BetterGoPaint 1.1.x.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Proposal
2+
3+
## Why
4+
5+
FastAsyncWorldEdit 2.16.1, the current release, ships adapters for Minecraft 26.1, 26.2 and 26.3.
6+
BetterGoPaint is only useful where FAWE can edit blocks, so it should follow FAWE: a Minecraft
7+
version is supported as soon as the current FAWE release has an adapter for it, and not before.
8+
Minecraft 26.3 now meets that bar.
9+
10+
## What Changes
11+
12+
- Add `26.3` to `supportedMinecraftVersions` (Hangar platform versions, Modrinth game versions and
13+
a `run-26.3` task).
14+
- Document the policy "follow FAWE upward only": new versions are added once the current FAWE
15+
release supports them; the floor stays at 26.1 / Java 25 and there is no 1.21.x backport.
16+
- Update `README.md` and `docs/reference/supported-versions.md`.
17+
- Keep compiling against Paper API 26.2 (stable) and `apiVersion` 26.1; see `design.md`.
18+
19+
Commit type and scope: `feat(platform)`. Pull request title: `feat(platform): support minecraft 26.3`.
20+
21+
No server owner has to act: the jar is unchanged, the new version is only declared as supported,
22+
so this is not BREAKING.
23+
24+
## Out of scope
25+
26+
- Compiling against a Paper 26.3 beta API.
27+
- Backporting to Minecraft versions below 26.1 or to Java versions below 25.
28+
- Automating the version bump from FAWE releases.
29+
30+
## Impact
31+
32+
- `build.gradle.kts`, `README.md`, `docs/reference/supported-versions.md`
33+
- Spec `platform-compatibility`
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## MODIFIED Requirements
2+
3+
### Requirement: Supported Minecraft versions
4+
The plugin SHALL be published for, and SHALL load on, Paper for every Minecraft version in the
5+
supported-versions list. The list SHALL contain 26.1.1, 26.1.2, 26.2 and 26.3. A Minecraft
6+
version SHALL be added to the list once the current FastAsyncWorldEdit release supports it, and
7+
not before. Minecraft versions below 26.1 SHALL NOT be supported.
8+
9+
#### Scenario: Release lists supported versions
10+
- **WHEN** a release is published to Hangar and Modrinth
11+
- **THEN** the release lists exactly the Minecraft versions of the supported-versions list
12+
13+
#### Scenario: Plugin loads on a supported version
14+
- **WHEN** the plugin jar is placed on a Paper 26.3 server running Java 25 with FastAsyncWorldEdit 2.16.1
15+
- **THEN** the plugin enables without errors
16+
17+
#### Scenario: Version without FAWE support is not listed
18+
- **WHEN** a Minecraft version has no adapter in the current FastAsyncWorldEdit release
19+
- **THEN** it is not part of the supported-versions list
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## 1. Platform
2+
3+
- [x] 1.1 Add `26.3` to `supportedMinecraftVersions` in `build.gradle.kts`
4+
- [x] 1.2 Keep `paper` at `26.2.build.+` and `apiVersion` at `26.1` (see design.md)
5+
- [x] 1.3 Update `README.md` and `docs/reference/supported-versions.md` with 26.3 and the FAWE-follow rule
6+
- [x] 1.4 Run `./gradlew check shadowJar` and confirm the `run-26.3` task is configured
7+
8+
## 2. Delivery
9+
10+
- [ ] 2.1 Open the pull request titled `feat(platform): support minecraft 26.3`

0 commit comments

Comments
 (0)