Skip to content

Update to Paper 26.3 / BentoBox 3.23.7 / Java 25; add teams-disabled, move structure suppression to core - #123

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 CaveBlock up to the current BentoBox stack for 1.24.0, adds the teams-disabled option, and hands structure suppression over to BentoBox core.

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 builds on JDK 25
  • Paper 1.21.11-R0.1-SNAPSHOT → 26.3.build.231-stable
  • BentoBox 3.14.1-SNAPSHOT → 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)
  • Version → 1.24.0
  • maven-compiler-plugin <fork>true</fork> (works around a JDK 25 diagnostic-formatter crash)
  • Added 26.2 / 26.3 to Modrinth game versions

New config option

  • cave.teams-disabled (default false) → WorldSettings#isTeamsDisabled(). Blocks team invite/accept/kick/leave/promote/setowner; trust and coop still work. Run /cbadmin team disbandall after enabling.

Structure suppression moves to BentoBox core

BentoBox 3.19.1 added a core StructureListener ported from CaveBlock's. Now that CaveBlock requires BentoBox 3.23:

  • Settings#getStructureSettings() returns the existing world.structures map. The config key and defaults are unchanged.
  • Removed CaveBlock's own StructureGenerationListener (and its test), which would otherwise duplicate core.
  • Behaviour differences (all improvements):
    • Covers CaveBlock's nether and end too, not only the overworld. The default keys are overworld-only structures, so this has no practical effect by default.
    • Structures not listed follow BentoBox's global world.disabled-structures, and true force-enables a structure that list disables.
    • Core registers its listener before createWorlds(), so spawn-area structures are still covered (Disabled Trial Chambers still generate in CaveBlock-1.23.0 overworld #116).

Test plan

  • mvn clean verify: 72 tests pass (10 tests for the removed listener deleted; new SettingsTest added for both settings)
  • Smoke test on Paper 26.3 with BentoBox 3.23.7: new CaveBlock world has no ancient cities or trial chambers, and /locate structure minecraft:ancient_city returns instantly

🤖 Generated with Claude Code

… move structure suppression to core

- 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.14.1-SNAPSHOT -> 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)
- Version 1.23.3 -> 1.24.0
- Add 26.3 to Modrinth game versions; CI on JDK 25
- Maven compiler fork=true (JDK 25 diagnostic formatter workaround)
- New config: cave.teams-disabled (WorldSettings#isTeamsDisabled)
- Settings#getStructureSettings() now returns the existing world.structures
  map, so BentoBox core's StructureListener (ported from CaveBlock) does
  the suppression. Removed CaveBlock's own StructureGenerationListener and
  its test, which duplicated core. Core also covers nether/end, honours
  the global world.disabled-structures list (true force-enables), and is
  registered before createWorlds() so the spawn area is still covered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tastybento tastybento changed the title Update to Paper 26.3 / BentoBox 3.23.7 / Java 25 Update to Paper 26.3 / BentoBox 3.23.7 / Java 25; add teams-disabled, move structure suppression to core Nov 15, 2026
@sonarqubecloud

Copy link
Copy Markdown

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