Mods / Wild Bee Range Extender

Tags:
Fix
Author:
Boompen
Side:
Server
Created:
Jun 16th at 11:53 PM
Last modified:
Jun 18th at 6:19 PM
Downloads:
1931
Latest release (for Vintage Story 1.22.0 - 1.22.3, potentially outdated):
wildbeerangeextender_1.0.1.zip  1-click install

This mod improves the downward range that wild beehives can search for flowers from 7 blocks to 20 blocks

Why do I want this for my world's wild bees?

Well, if you are just going around to wild beehives destroying them for some quick honey, that's great go do that.
If you want to grow the hive with flowers and place down a skep to take some home, that's also great go do that.

But, you may find that a hive will keep saying 0 flowers for days on end. This is where you learn that hives that are more than 7 blocks above the ground, will never be able to find those flowers that are already there or ones you place there. If you look online on reddit threads or youtube, everyone says for the high up hives, "oh just build like a ring of dirt around the top of the tree and the put flowers there", the pic attached to this mod is from Mischief of Mice's tutorial.

In my opinion this gameplay workaround was such an incredibly jarring, video-gamey thing to do in a game that otherwise prides itself on survival immersion. I coulnd't bear doing this in my world (which also had soil falling enabled), so I tried to figure out if there was a config value to change for the beehives. Nope, turns out the -7 value is hardcoded. So, I made a quick patcher mod to fix this value to something reasonable.

Hopefully in the future this mod wont be needed, the game devs could add this fix or add it as a /config command.

 

Technical Details

This is my first mod. From reading all the different ways to make this patch, I ended up monkeypaching with a Harmony Transpiler which seems to be the best way to do this, where it swaps out the -7 argument in this file with my chosen value. But that might be patching more than this one instance, it's hard to troubleshoot.

The -7 being patched is the one in the Api.World.BlockAccessor.WalkBlocks call within OnScanForEmptySkep in https://github.com/anegostudios/vssurvivalmod/blob/master/BlockEntity/BEBeehive.cs

I think this mini mod can be improved with letting the user in a config file, or even better with a / comamnd, set the 20 value to something else per world or even also a default for all worlds that arent yet set. If you could help with this, I'd love your help, check the source link, my discord is tradescantia.pendula

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.1 wildbeerangeextender
1.22.0 - 1.22.3
1682 Jun 18th at 6:19 PM wildbeerangeextender_1.0.1.zip 1-click install

disabled harmony debugging (which left a harmony log txt file on your desktop)

1.0.0 wildbeerangeextender
1.22.0 - 1.22.3
249 Jun 16th at 11:58 PM Empty wildbeerangeextender_1.0.0.zip 1-click install

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


12 Comments (oldest first | newest first) (threaded | flat)

Oweyan, Jun 20th at 4:57 PM

This mod is fantastic! It always bothers me that i have to build a giant ugly floating dirt platform to get bees from relatively normal sized trees

Avarus_Lux, Jun 18th at 8:10 PM

this may actually be considered a mandatory mod when using something like "Lakul's Enhanced vanilla trees" since the trees are much taller with that tree mod.

 

thanks :D

Boompen , Jun 19th at 5:21 PM
@Avarus_Lux: this may actually be considered a mandatory mod when using something like "Lakul's Enhanced vanilla trees" since the trees are much taller with that tree mod. thanks :D

:D enjoy, hopefully in a future update we can make my 20 blocks setting configurable by users, so you could set it right for even the tallest of tree mods you can find :)

Sheepy_, Jun 18th at 12:29 AM

Looks like you left debug logging enabled in your mod. My recycling bin is full of `harmony.log.txt`s I have to delete from my desktop.

Sniffr0st, Jun 17th at 9:01 AM

Hello, thank you for the mod, however it doesn't seem to start on my (admitedly heavily modded) server.

Crash Report
17.6.2026 10:49:26 [Error] [wildbeerangeextender] An exception was thrown when trying to start the mod:
17.6.2026 10:49:26 [Error] [wildbeerangeextender] Exception: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Directory.CreateDirectory(String path)
at HarmonyLib.FileLog.get_LogPath()
at HarmonyLib.FileLog.Log(String str)
at HarmonyLib.Harmony..ctor(String id)
at WildBeeRangeExtender.WildBeeRangeExtenderModSystem.Start(ICoreAPI api) in /home/boom/Git/WildBeeRangeExtender/WildBeeRangeExtender/WildBeeRangeExtenderModSystem.cs:line 31
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 665
17.6.2026 10:49:26 [Error] Failed to run mod phase Start for mod WildBeeRangeExtender.WildBeeRangeExtenderModSystem
Modlist
17.6.2026 10:49:04 [Notification] Mods, sorted by dependency: walkingstick, agression, awearablelight, betterfirepitv122fix, catchledge, chargedjump, cbr, crawlanddive, creaturefootsteps, darcesdriftersredone, darkvision, earthfed, elkaccessories, fallingtree, floralzonescaperegion, floralzonescaribbeanregion, floralzonescentralaustralianregion, floralzoneseastasiaticregion, floralzonesmediterraneanregion, floralzonesneozeylandicregion, caninae, capreolinae, casuariidae, spheniscidae, freeformclay, freelook, frontiersmap, hydrateordiedrate, immersivefoliage, immersivemininganimguard, immersivemining, jsonpatcheslib, kilnshelves, lakulsenhancedvanillatrees, linenblocks, millwright, mistsofstability, nosurfacemonsters, overhaulliblegacycompat, overhaullib, plainwallpapers, plainsandvalleys, primitivesurvival, prospecttogether, racialequality, rockstratavariety, ruggedrugs, shelfobsessed, spinningwheel, sungaze, tankardsandgoblets, temporalsreformed, terratag, vintagemapicons, game, vsimgui, wallpaperblocks, aculinaryartillery, alchemy, allclasses, animalcages, animaltrader, animationslib, apeflowerpots, apegrapes, apelanterns, arrowbarrels, attributerenderinglibrary, bearsshiftyearth, bedspawnv2, betterloot, betterruins, bettertraders, bdflower, biodiversity, bleedingindepth, bloodtrail, booktraderforked, butchering, carryon, claypress, climbmountain, clothierheirloomsmod, commonlibforked, configlib, extrafurniture, feverstonewilds, firearmsfork, firepitsheatovens, fishtrader, florishingfungus, foodshelves, footprints, fromgoldencombs, goodhunting, gourmand, groupui, hanfu, hangingbaskets, herbarium, horpatches, immersivewoodworking, industrialstory, jaunt, jopainting, joyofsailing, justanarrowheadmold, knitting, kscartographytable, mnflowers, materialneeds, metalpots, naturalfertilizer, ndltreegrowth, nzpatch, simplewinddirectionpelagus, pemmican, petai, placeonslabs, playercorpseforkedazu, playermodellib, realistictemperatures, realsmoke, reelmower, regalia, rivers, seamlessrapids, shipwright, simplestarvation, someusefulstuff, stabilityabove, stonebakeoven, toolsmith, tungsten, vanvar, vintsbottlesncups, visibleoresandminerals, visorhelmetsfork, vsairshipmod, creative, vsecomachina, vsroofing, survival, watersheds, wildbeerangeextender, windchimes, xlibfork, bdcrop, bdherb, bdorchard, bdshrub, bdtree, butcheringcompatpatch, cats, combatoverhaulfork, comfybeds, crossbowsfork, deciduoustrees, elkjaunt, expandedfoods, fallingecomachina, feverstonewildsbutcheringcompatfork, lupines, quiversfork, shearlib, storagetweaks, tabardsfork, terrainslabs, theyespml, vanvarcompat122, wolftaming, xskillsfork, zrustdrops, armoryfork, bonearrowtweak, combatreanimatedfork, efchefstricks, efmealsmodule, wool, xskillsgilded, regaliawoolpatch

If I can help you test or isolate it, let me know.

Boompen , Jun 17th at 9:04 PM (modified Jun 17th at 9:08 PM)
@Sniffr0st: Hello, thank you for the mod, however it doesn't seem to start on my (admitedly heavily modded) server. Crash Report 17.6.2026 10:49:26 [Error] [wildbeerangeextender] An exception was thrown when trying to start the mod:17.6.2026 10:49:26 [Error] [wildbee

I just ran my VintageStoryServer executable with this mod and it loaded fine, i saw in the log my debug printouts all good too. There's definitely a mod conflict or version of something, I'm assuming you're on 1.22 or later?

Make a new test world and see if that loads. If it fails there too, then do a Binary Search to narrow things down. thats where you disable half of your mods and if the problem is fixed or persists, then you know which half of your modlist has the issue. Split the remaining half into another half. Keep doing that until you find the 1 or multiple mods that are conflicting, then confirm this by loading all of your mods but those conflicting ones, see if that works, then you know for sure you have the culprits. Then, let me know those culprits and i'll try them on my system and see if i can figure it out :) cause yeah i dont wanna download 100 mods and do the search myself lol.

This advice goes for anyone reading this who has this issue :)

Chiralitty, Jun 17th at 1:47 AM

I was just thinking about how ugly the little dirt platforms are the other day! Thank you for this, I'll install it right away.

Op7B, Jun 17th at 1:35 AM

Thank you. This isn't Minecraft.

Boompen , Jun 17th at 9:07 PM
@Op7B: Thank you. This isn't Minecraft.

haha im glad i wasnt alone in thinking this mod needed to exist