BeeGenerator-1.0.2-forge-1.20.1.jar
Curse Maven Snippet
What's new
Bee Generator 1.0.2
New: Beekeeper's Ledger
- Added the Beekeeper's Ledger, an in-game guide book made with Patchouli. Craft a Book with a Bee Generator, a Pollen Processor or a Nectar Capacitor to get it; that item stays in the crafting grid, like the milk bucket when making a cake.
- The recipe is a custom shapeless recipe (
beegenerator:guide_book) that accepts any item in the tagbeegenerator:guide_catalysts. Edit the tag or removedata/beegenerator/recipe/guide_book.json(recipeson 1.20.1) to change it. - A small advancement tab tracks the first steps with the mod, and the book's later chapters unlock from those advancements.
- Patchouli is now a required dependency. It is not bundled; the CurseForge app installs it automatically.
New: redesigned generator menu
- The generator menu has a new honeycomb look. Three rows show the working bees, the power made per tick and the stored energy, each with its own icon. Large numbers are shortened (250k) so the text never runs into the energy bar.
- Stored energy is shown as a honey tank that fills smoothly instead of jumping, with bubbles rising while the generator works. Hover over the tank for the exact amount and how full it is.
- A small strip shows one flying bee for every connected bee (up to six); they fly faster the more power is being made.
- The menu says what is missing when nothing is happening: "Put a fence on top" or "Leash bees here".
- Hovering an empty upgrade slot explains what goes there.
New: Forge 1.20.1
- First release for Minecraft 1.20.1 on Forge. It has the same blocks, items, upgrades and config as the NeoForge 1.21.1 version.
New: modpack customization (both versions)
Config
config/beegenconfig.toml (common) now covers every tunable value. Files from 1.0.1 keep working: power_per_bee stays at the top level and the new options are added with their defaults. Values are read on every generator update, so edits apply without a restart. On NeoForge 1.21.1 the options can also be edited in game (Mods, Bee Generator, Config).
| Option | Default | Range |
|---|---|---|
power_per_bee |
1.0 | 0 to 1,000,000 FE per tick per bee |
generation.update_interval |
4 | 1 to 40 ticks between updates |
generation.bee_search_radius |
10 | 1 to 64 blocks |
generation.max_bees |
0 (no limit) | 0 to 1024 |
bees.match_bees_by_name |
true | true / false |
bees.bee_name_match |
"bee" | text |
upgrades.pollen_multiplier |
1.2 | 1.0 to 100 |
upgrades.pollen_stacking |
COMPOUND | COMPOUND / ADDITIVE |
upgrades.max_pollen_processors |
8 | 1 to 64 |
upgrades.base_capacity |
50000 | 1 to 1,000,000,000 FE |
upgrades.capacity_per_nectar_capacitor |
50000 | 0 to 1,000,000,000 FE |
upgrades.max_nectar_capacitors |
8 | 1 to 64 |
energy.output_per_side |
1000 | 0 to 2,147,483,647 FE per tick (0 = no pushing) |
energy.max_extract |
2147483647 | 0 to 2,147,483,647 FE per tick |
energy.max_input |
0 | 0 to 2,147,483,647 FE per tick |
orbit.orbit_enabled |
true | true / false |
orbit.orbit_speed |
0.15 | 0 to 2 |
orbit.orbit_radius |
3.0 | 0.5 to 10 blocks |
orbit.orbit_pull |
0.05 | 0 to 1 |
orbit.orbit_height |
1.5 | 0 to 10 blocks |
effects.particles_enabled |
true | true / false |
effects.particle_chance |
0.25 | 0 to 1 |
New client config config/beegenerator-client.toml: menu.menu_animations (true) turns the tank easing, bubbles and flying bees on or off; menu.menu_bees_shown (6, range 0 to 6) caps the bees drawn in the menu strip.
Tags
| Tag | Type | Default |
|---|---|---|
beegenerator:power_bees |
entity type | minecraft:bee; always counts |
beegenerator:not_power_bees |
entity type | empty; never counts |
beegenerator:bee_posts |
block | #minecraft:fences; the post on top |
beegenerator:generation_upgrades |
item | Pollen Processor; left slot |
beegenerator:capacity_upgrades |
item | Nectar Capacitor; right slot |
The 1.0.1 rule (any entity whose id contains "bee") is kept as a fallback behind bees.match_bees_by_name, after the two entity tags. Folders follow each version's naming (tags/entity_type, block, item on 1.21.1; entity_types, blocks, items on 1.20.1).
KubeJS (optional)
With KubeJS installed (2101.x on NeoForge 1.21.1, 2001.x with Rhino and Architectury on Forge 1.20.1) the mod registers a plugin through kubejs.plugins.txt. KubeJS is a compile-only dependency; without it nothing from the plugin is loaded. Server events, in the order they fire on each generator update:
BeeGeneratorEvents.capacity:level,pos,nectarCapacitors,baseCapacity,capacity;setCapacity(fe).BeeGeneratorEvents.isPowerBee: once per creature leashed to the post.level,pos,entity,powerBee;setPowerBee(bool)orevent.cancel()to reject.BeeGeneratorEvents.power:level,pos,beeCount,bees,pollenProcessors,nectarCapacitors,basePowerPerBee,multiplier,powerPerBee,total(FE per tick);setPowerPerBee(fe),setTotal(fe), orevent.cancel()to make nothing this update.
Binding BeeGenerator: isGenerator, getEnergy, getCapacity, addEnergy, removeEnergy, getBeeCount, getGeneration (all take level, pos), isPowerBee(entity) and getPollenMultiplier(count).
Example:
BeeGeneratorEvents.power(event => {
if (!event.level.isDay()) event.setPowerPerBee(event.getPowerPerBee() * 2)
})
Java mods can use the same hooks without KubeJS through net.mcreator.beegenerator.api.BeeGeneratorHooks and BeeGeneratorApi.
Changes for both versions
- Power per bee is now really per tick. The generator updates every 4 ticks but used to add only one tick's worth of power per update, so it made a quarter of the FE/t shown in the menu and described everywhere. It now pays out the full amount: with the default config one bee makes 1 FE every tick. Generators make about four times more than in 1.0.1; lower
power_per_beeto 0.25 for the old rate. - The generator pushes energy into every neighbouring block that accepts it, up to 1,000 FE per tick per side (
energy.output_per_side). Cables and machines can still pull from any side. Other Bee Generators are never pushed into. - The generator no longer accepts energy from outside (it used to act as a battery for any cable pushing into it). Raise
energy.max_inputto allow it again. - Fixed Pollen Processors doing nothing at first. Power per bee used to be rounded down to a whole number, so with the default setting the first three Pollen Processors had no effect. Generation is now exact, any fraction carries over to the next update, and the menu shows the rate with one decimal (for example 1.2 FE/t).
- Hoppers and pipes can only insert the matching upgrade into each slot (they could put any item into any of the generator's nine internal slots before).
- Pollen Processors and Nectar Capacitors now stack to 64 in the inventory, so the slot limits can be raised in the config; each slot still holds 8 by default. Extra items in a slot do nothing.
- The menu now shows the server's numbers (bee count, rate and storage size are synced from the server), so it is right on servers with a different config. Before, the menu counted only vanilla bees and worked out the storage itself.
- The generator sends at most one client update per generator update instead of one for every energy transfer.
- The creative tab and the mod list name are now "Bee Generator" (they read "BeeGenerator").
- Existing worlds and generators carry over as they are, including stored energy and upgrades.
- The NeoForge 1.21.1 version now accepts any NeoForge 21.1 build. 1.0.1 required 21.1.232 or newer.
- License set to MIT, so the mod can be included in modpacks without asking.
- Author credited as Travelboy22. The leftover MCreator website link was removed from the mod info.
Cleanup
- Removed unused files: the old menu textures
empty_bar.pngandglow_bar.png, the block texturestest1.pngandbase.png, four unused block models, and nine unused particle textures. - Removed MCreator leftovers: unused procedures, the menu-state network packet and stray lang keys.
- Code comments for maintainers throughout.
Technical notes
- Each bee makes
power_per_beeFE per tick (default 1.0). Each Pollen Processor multiplies that by 1.2, compounding (4 give about 2.07 times);pollen_stacking = ADDITIVEmakes them add instead (4 give 1.8 times). - The generator stores 50,000 FE, plus 50,000 FE for each Nectar Capacitor (up to 8 by default).
- A bee counts when it is leashed to the post directly on top of the generator and is within 10 blocks of it.
- The generator updates every 4 ticks (
update_interval) and pays out rate times interval FE per update, keeping fractions for later. - Standard Forge Energy on every side.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include