Skip to content

Update to Java 25, Paper 26.3 and BentoBox 3.23.7 - #72

Merged
tastybento merged 1 commit into
developfrom
feature/java-25
Nov 25, 2026
Merged

tastybento merged 1 commit into
developfrom
feature/java-25

Conversation

@tastybento

Copy link
Copy Markdown
Member

BentoBox has been built for Java 25 since 3.23, so an addon on Java 21 cannot compile against current BentoBox versions. This moves InvSwitcher up.

  • Java 21 to 25, in the pom and both workflows
  • Paper API 1.21.11 to 26.3
  • BentoBox 3.17.0-SNAPSHOT to 3.23.7, which is also the new minimum in addon.yml
  • MockBukkit 4.110.0 (1.21) to 4.119.0 (26.3), Mockito 5.20.0
  • Compiler, surefire and shade plugins updated; the compiler now forks
  • Build version 1.19.4 to 1.20.0, since the minimum Java and BentoBox versions change

No production code changes. The store tests now keep the real item factory in place while Bukkit is mocked statically, because item stacks in the new MockBukkit ask Bukkit for their meta when saved.

Testing

138 unit tests pass locally. Not run on a server.

Note

#71 is independent of this and builds on either. Once both this and BentoBox 3.25.0 are in, the copy of the request-applying class that #71 adds can be replaced by the one in BentoBox.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git

BentoBox is built for Java 25 from 3.23, so the addon has to move up to
compile against current versions. The build version goes to 1.20.0 because
the minimum Java and BentoBox versions change.

The store tests keep the real item factory in place while Bukkit is mocked
statically, because MockBukkit 4.119 item stacks ask Bukkit for their meta
when they are saved.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
@sonarqubecloud

Copy link
Copy Markdown

@tastybento
tastybento merged commit b5e23e9 into develop Nov 25, 2026
3 checks passed
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