Skip to content

Release 1.6.0#41

Open
tastybento wants to merge 14 commits intomasterfrom
develop
Open

Release 1.6.0#41
tastybento wants to merge 14 commits intomasterfrom
develop

Conversation

@tastybento
Copy link
Copy Markdown
Member

No description provided.

tastybento and others added 14 commits November 26, 2024 08:16
1.21.4 support (Pale Oak)
Spigot bug with `generateTree` causes issues. Moved Predicates to fix this.
Use Sound enum constant names (e.g. BLOCK_NOTE_BLOCK_BASS) instead of
Minecraft resource location format (e.g. block.note_block.bass) so
BentoBox's YAML deserializer can resolve them correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bump all actions to current versions and switch JDK distribution from
deprecated adopt to temurin. Remove redundant second Maven run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces TwerkingForTreesPladdon to support loading the addon as a plugin,
and plugin.yml with metadata required for Paper/Spigot plugin discovery.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Modernize build configuration:
- Replace Spigot with Paper API 1.21.11
- Upgrade BentoBox to 3.14.0-SNAPSHOT
- Add JUnit 5.10.2 with Mockito 5.11.0 test dependencies
- Add MockBukkit v1.21-SNAPSHOT for integration testing
- Update maven-compiler-plugin to 3.15.0 with fork=true
- Update maven-surefire-plugin to 3.5.2 with Byte Buddy Java 25 support
- Add maven-shade-plugin 3.6.0 for Java 21 class file support
- Update repositories to use PaperMC and remove Spigot repo
- Update javadoc source version to 21

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds comprehensive test framework following CaveBlock pattern:
- CommonTestSetup base class with full BentoBox/Bukkit mocking
- TestWorldSettings minimal WorldSettings implementation
- WhiteBox reflection utility for setting static fields
- TwerkingForTreesTest with 8 tests covering addon lifecycle
  - Settings loading, defaults, reload, enable/disable
  - Validates non-null settings after onLoad()
- TreeGrowListenerTest with basic listener structure verification
  - Event handler method existence checks

Enables JUnit 5 with MockBukkit for integration testing with Paper API.
All 10 tests pass successfully.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

2 participants