Skip to content

Update to Paper 26.3 / BentoBox 3.23.7 / Java 25 - #568

Merged
tastybento merged 1 commit into
developfrom
chore/update-26.3
Nov 15, 2026
Merged

tastybento merged 1 commit into
developfrom
chore/update-26.3

Conversation

@tastybento

@tastybento tastybento commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Brings AOneBlock up to the current BentoBox stack for 1.30.0, and exposes two newer BentoBox WorldSettings options in the config.

Important

Servers must run Java 25. BentoBox 3.23 and this build are compiled to Java 25 bytecode, so they will not load on a JVM older than 25. This applies to all supported Minecraft versions (Paper 1.21.5 – 26.3), including 1.21.x servers still running Java 21.

Dependency / build updates

  • Java 21 → 25 (CI was already on JDK 25)
  • Paper 1.21.11-R0.1-SNAPSHOT → 26.3.build.231-stable
  • BentoBox 3.22.0 → 3.23.7; addon.yml api-version → 3.23.0
  • MockBukkit mockbukkit-v1.21:4.110.0 → mockbukkit-v26.3:4.119.0
  • Mockito 5.11.0 → 5.20.0 (Java 25 support)
  • maven-compiler-plugin <fork>true</fork> (works around a JDK 25 diagnostic-formatter crash)
  • Version 1.29.0 → 1.30.0 (1.29.0 is already released)
  • Added 26.2 / 26.3 to Modrinth and Hangar game versions

New config options

  • island.teams-disabled (default false) → WorldSettings#isTeamsDisabled(). Blocks team invite/accept/kick/leave/promote/setowner; trust and coop still work. Run /obadmin team disbandall after enabling.
  • world.structure-settings (default {}) → WorldSettings#getStructureSettings(). AOneBlock's own generator places no structures, so this only matters with use-own-generator: true.

Test fixes

  • Leaked RanksManager singleton: IslandSetCountCommandTest injected a mock into the static RanksManager singleton and never cleared it. BentoBox 3.23's IslandTeamCommand now calls RanksManager.rankExists() during setup, so AOneBlockTest, running later, hit the stale mock ("Mock accessed after inline mocks were cleared", 7 errors). The singleton is now reset in tearDown.
  • OneBlocksManagerTest3: minecraft:sulfur is a real item on 26.2+, so the "unknown chest item is skipped" test now uses a fictional item id.
  • SettingsTest: covers both new settings.

Test plan

  • mvn clean verify: 614 tests, 0 failures, 2 skipped (both already skipped on develop)
  • Smoke test on Paper 26.3 with BentoBox 3.23.7

🤖 Generated with Claude Code

…and structure-settings

- Java 21 -> 25 (BentoBox 3.23 and Paper 26.x are Java 25 artifacts)
- Paper 1.21.11 -> 26.3.build.231-stable
- BentoBox 3.22.0 -> 3.23.7; addon.yml api-version 3.23.0
- MockBukkit mockbukkit-v1.21 4.110.0 -> mockbukkit-v26.3 4.119.0
- Mockito 5.11.0 -> 5.20.0 (Java 25 support in ByteBuddy)
- maven-compiler-plugin fork=true (JDK 25 diagnostic formatter workaround)
- Version 1.29.0 -> 1.30.0 (1.29.0 is already released)
- Add 26.2 / 26.3 to Modrinth/Hangar game versions
- New config: island.teams-disabled (WorldSettings#isTeamsDisabled)
  and world.structure-settings (WorldSettings#getStructureSettings)

Tests:
- IslandSetCountCommandTest put a mock into the static RanksManager
  singleton and never cleared it. BentoBox 3.23's IslandTeamCommand now
  calls RanksManager.rankExists() during setup, so AOneBlockTest hit the
  stale (disabled) mock when it ran later. Reset the singleton in tearDown.
- OneBlocksManagerTest3: minecraft:sulfur is a real item on 26.2+, so use
  a fictional id for the "unknown item is skipped" chest test.
- SettingsTest: cover the two new settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@tastybento
tastybento merged commit 13b08bc into develop Nov 15, 2026
3 checks passed
@tastybento
tastybento deleted the chore/update-26.3 branch November 15, 2026 02:39
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