Skip to content

Add ItemsAdder support and general code improvements#33

Merged
tastybento merged 11 commits intoBentoBoxWorld:developfrom
K0bus:develop
Apr 21, 2025
Merged

Add ItemsAdder support and general code improvements#33
tastybento merged 11 commits intoBentoBoxWorld:developfrom
K0bus:develop

Conversation

@K0bus
Copy link
Copy Markdown
Contributor

@K0bus K0bus commented Apr 21, 2025

This pull request introduces support for ItemsAdder integration and includes various code improvements:

  • Added ItemsAdder as a project dependency
  • Implemented a parser for ItemsAdder items
  • Checked item icons only if they are set in the configuration
  • Replaced hardcoded strings with configuration getters
  • Removed redundant JavaDoc on void methods
  • Simplified conditional statements
  • Removed an unnecessary aggregator
  • Marked variables as final where appropriate

These changes enhance both functionality and code quality, ensuring better maintainability and future extensibility.

@K0bus
Copy link
Copy Markdown
Contributor Author

K0bus commented Apr 21, 2025

Added support for multiple slot assignment in menu objects.
It's now possible to define a range of slots using the "start-end" format (e.g., "1-3" will assign the object to slots 1, 2, and 3).
This addition does not alter the original behavior: specifying a single slot still works as before.

@tastybento tastybento merged commit afafce5 into BentoBoxWorld:develop Apr 21, 2025
1 check failed
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