Skip to content

Release 2.10.0

Latest

Choose a tag to compare

@tastybento tastybento released this 11 Jul 23:16
ca6a57e

🎁 What's new

MagicCobblestoneGenerator 2.10.0 teaches your generators a new trick: they can now drop custom blocks from ItemsAdder, CraftEngine, Oraxen and Nexo, not just vanilla materials. Add a diamond-encrusted ItemsAdder ore or a CraftEngine gem to a generator tier and it will roll into the weighted-random mix alongside everything else. All plugin access is routed through BentoBox core hooks, so the addon never depends on those plugins directly — if a custom block isn't available on your server, the generator degrades gracefully to its vanilla fallback and tells you why.

This release also bumps the BentoBox API target to 3.17.0, fixes a long-standing admin panel bug around treasure chances, and cleans up a batch of SonarCloud findings.

✨ Highlights

🔺 Custom block support via BentoBox hooks (#165)

  • Generator tiers can now produce blocks from ItemsAdder, CraftEngine, Oraxen and Nexo, addressing #103.
  • Blocks are stored as string IDs — vanilla names like COBBLESTONE, or provider-prefixed IDs like itemsadder:namespace:id, craftengine:namespace:id, oraxen:id, nexo:id. Existing databases load unchanged.
  • The admin edit panel gains an Add Custom Block button (chat input, validated against the hook registry), and panels render custom blocks with the provider's own texture and display name.
  • MagicGenerator validates the picked block at generation time; an unavailable custom block falls back to the vanilla block with a /why report rather than failing silently.
  • Provider status: ItemsAdder ✅ and CraftEngine ✅ generate today; Oraxen ⏳ and Nexo ⏳ are wired up and will generate once the matching BentoBox core hooks ship (BentoBox#3020, BentoBox#3025).

🐛 Fixes

  • Editing a treasure's chance in the admin panel wrote the block list into the deprecated treasureChanceMap instead of updating treasureItemChanceMap — treasure chance edits now save correctly (#165).
  • Resolved a batch of SonarCloud code-quality findings raised on PR #165 (#165).

🔧 Platform

  • Requires BentoBox 3.19.1 or newer — the custom block hook functionality this release depends on is only available from 3.19.1. The addon will not load on older cores.

⚙️ Compatibility

✔️ BentoBox API 3.19.1+
✔️ Minecraft 1.21.5 – 26.2
✔️ Java 21

🔺 Updating — important notes

🔺 Requires BentoBox 3.19.1 or newer. Update BentoBox before dropping in this jar. The custom block hook functionality this release calls is only available from 3.19.1 — on an older core the addon will refuse to load rather than fail at runtime.

⚙️ Custom blocks in templates. generatorTemplate.yml now accepts quoted, provider-prefixed block keys. Unregistered custom blocks import with a warning so templates stay portable across servers — no config action is required for existing setups.

🔡 Locale updates. New locale keys were added to en-US.yml for the custom block UI. Update your translated locale files if you maintain custom ones.

📥 How to update

  1. Stop the server
  2. Back up your BentoBox folder
  3. Ensure BentoBox 3.19.1+ is installed
  4. Drop the new jar into the addons folder and remove the old one
  5. Start the server

Legend

  • 🔡 locale files may need to be regenerated or updated
  • ⚙️ config options have been removed, renamed, or added
  • 🔺 special attention needed

What's Changed

  • 🔺 Add custom block support via BentoBox hooks (ItemsAdder, CraftEngine, Oraxen, Nexo) by @tastybento in #165

Full Changelog: 2.9.0...2.10.0