Resourceful Bees

Resourceful Bees

10M Downloads

[Bug]: Disabling easter-egg bees breaks most pages in guide book

CombatZAK opened this issue ยท 1 comments

commented

Bug Description

If you set enableEasterEggBees to false in General Options in resourcefulbees/common.toml config file, the Resourceful Bees guidebook fails to load properly and will end up missing a significant number of pages, listed below:

Getting Started

  • Finding Bees
  • Collecting Honeycombs
  • Breeding Bees

Advanced Tips

  • Mutations
  • Powered Centrifuge
  • The Ender Beecon
  • Apiaries
  • Auras

Beekeeping Tools

  • Bee Jar
  • Beehives
  • Scraper
  • Honey Generator
  • Elite Centrifuge
  • Ender Beecon
  • Apiary Storage
  • Honey Glass
  • Honey Congealer
  • Waxed Planks
  • Beepedia
  • Multiblock Centrifuge
  • Bottomless Honeypot

Extras

  • Credits
  • Making your Own

Main page of the guidebook shows a loading error; see screenshot:
image

How to Reproduce?

  1. Load minecraft to auto-generate config files for Resourceful Bees
  2. Create creative world
  3. Add a copy of Fifty Shades of Bees guidebook item to inventory
  4. Observe all pages loaded properly
  5. Close game, edit config/resourcefulbees/common.toml
  6. Under General Options change value of enableEasterEggBees from true to false
  7. Save config file
  8. Reload game
  9. Open guidebook
  10. Observe loading error and missing pages

Expected Behavior

Modifying config values should not break guidebook.

Version

0.10.7

Mod Loader Version

1.16.5-36.2.34

Logs or additional context

Given the specific error message, my guess is that disabling this specific config option prevents the Starry Bee's honey from being registered with minecraft, and the guidebook relies on that ID to load this page. That's causing an unhandled exception and so page-loading stops at this specific point and any subsequent pages are not loaded. Swallowing the exception or just selectively not loading the extra bees section at all would likely fix the problem.

Acknowledgement

  • I agree that I read the terms at the top of the page.
commented

Found an acceptable workaround: registering a honey with name starry and a bee named starry.json "tricks" the mod into not failing and lets all the pages load properly. Should probably still get fixed in code, but if anyone else hits this, you can still make it work.