
Mods / Mount destroy leaves
Author: Akkuku
Side: Both
Created: May 29th at 10:53 PM
Last modified: Jun 11th at 5:14 PM
Downloads: 1643
Follow Unfollow 73
Recommended download (for Vintage Story 1.20.11 - 1.20.12):
mountDestroyLeaves_1.1.3.zip
1-click install
Finally, you can speed through overgrown forests on your elk with ease!
Thanks to this mod, your speedy mount will knock down any branches that get in its way!
I was frustrated by how difficult it was to traverse thick forests, so I created this mod for myself. However, I still decided to upload it anyway.
Chat commands
(for users with server control priviliges)
/mdl inflictdamage [true | false | on | off] - Enable or disable inflicting damage to the mount after destroying leaf block
/mdl reloadConfig - Reload mod configurations for every game client connected to the server after manually changing the config file
Server-side configuration
Config file located at VintagestoryData/ModConfig/MountDestroyLeaves.json
1.1.2, 1.1.3
- Error fixes
1.1.1
- Add compatibility with Equus: Wild Horses
1.1.0
- Allow mount to randomly receive damage after destroying leaf block
- Allow to configure mod via the json config file
- Add chat command to enable or disable inflicting damage to the mount
- Add chat command to reload configurations for every client after editing the config file
Please keep in mind that this is my first mod for Vintage Story as well as my first mod ever. Furthermore, I created it after spending just a few hours of learning how to mod this game.
With that in mind, the code is probably not optimal, the behavior may be imperfect, and compatibility may be limited. I didn't encounter any compatibility issues in a single-player world with multiple mods, and it worked okay when I tested it.
If you encounter any problems or have suggestions for improvements, please let me know in the comments.
Mod Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
1.1.3 | 936 | Jun 7th at 9:45 PM | mountDestroyLeaves_1.1.3.zip | 1-click install | ||
Fix error resolving VintageStoryLib | ||||||
1.1.2 | 102 | Jun 6th at 7:48 PM | mountDestroyLeaves_1.1.2.zip | 1-click install | ||
Fix error when trying to edit saved world | ||||||
1.1.1 | 258 | May 30th at 7:13 PM | mountDestroyLeaves_1.1.1.zip | 1-click install | ||
Added Equus: Wild Horses compatibility | ||||||
1.1.0 | 265 | May 30th at 6:24 PM | mountDestroyLeaves_1.1.0.zip | 1-click install | ||
Add configuration via config file. Allow mount to reveive damage after destroying a block of leaves. Add chat command to enable or disable inflicting damage after destroying leaves. Add chat command to reload configuration for every game client connected to server, after manually editing the config file. | ||||||
1.0.0 | 82 | May 29th at 10:55 PM | Empty | mountDestroyLeaves_1.0.0.zip | 1-click install |
Nephelangelo Im not planning to. I considered this approach, but destroying the leaves seemed more realistic, even though it could be exploited for fast stick farming.
Please check Passable Branches, it might be the mod you want
Could you do a version of this that just lets your elk move through branchy leaves, but slow them down a bit, instead of break the blocks?
LunaGore
It appears to be the same error that @Maniacpsycho experienced a few comments below. It probably means that your world contains cached configuration of this mod from a version prior to 1.1.2. While I'm not sure, since I don't have access to your save, but a potential solution might be to:
The error should be gone after that.
Please let me know it this solves your problem.
Getting a crash when attempting to edit a save (I want to copy the world config) with or without the mod loaded:
Checked the comments and was able to resolve it.
Game Version: v1.20.12 (Stable)
6/9/2025 11:52:21 AM: Critical error occurred
Loaded Mods: aculinaryartillery@1.2.6, advancedsmithing@1.4.0, aged@1.1.2, apotheosisthings@1.4.0, backpackpackStandardcontinuedSturdy@1.1.1, bastionofcivilisation@1.1.2, betterarrows@1.0.0, bf@0.0.3, BetterGrass@0.0.3, irregularguybetterjam@1.0.0, betterloot@1.1.4, scrapblocks@1.2.6, bettertraders@0.0.10, BiggerCrates@1.0.0, boatiespeedie12@1.0.3, bola@1.2.2, bowtornbalance@1.0.0, bradyladder@1.1.0, bradyrockyextraction@1.1.0, brownblackbronze@1.0.3, bulkmolds@1.0.7, buriedhostility@1.0.3, buzzwords@1.7.0, buzzybees@1.0.6, canadianwinterclothes@1.0.0, canoemod@1.0.2, cavesymphony@1.0.4, chickenfeed@1.1.8, chiseltools@1.14.19, clickuptorches@1.1.1, rlldtco0001@1.2.2, blocklayeroverhaul@1.0.2, landformoverhaul@1.0.1, containersbundle@1.1.0, crazyskincustomization@1.0.1, elkcrocks@1.0.1, cutfattolardcompat@1.0.0, cutthefat@1.0.1, damagedtongs@1.0.0, darcesdriftersremix@1.0.0, daubwashes@1.0.0, decor@1.3.0, dirtymind@0.0.0, diversediets@1.0.0, domesticanimaltrader@1.1.0, doublebackpackcapacity@0.0.1, drtagx@0.9.6, DrystoneParity@1.0.0, easyelk@1.0.0, eftraders@1.0.4, elkaggressionnomore@1.0.2, FarmSurvival@1.5.0, fieldsandplateaus@1.0.8, fixedpaths@1.0.2, flourbags@1.1.1, forestsymphony@1.0.2, bovinae@0.2.4, caninae@1.0.32, capreolinae@1.2.9, cervinae@0.1.6, chelonioidea@1.0.2, iniidae@0.1.3, meiolaniidae@0.1.6, sirenia@1.0.22, geoaddons@1.4.2, glowtorns@1.0.0, goodHunting@1.1.1, grasstoropes@1.1.5, hangingoillamps@1.0.3, hotspringheal@1.0.1, honeypressmittim@1.0.2, humanheight@, istchests@0.0.4, immersivecorpsedrop@1.0.3, increasedstoragecapacity@0.0.4, instantpickup@1.0.3, itscalledasconce@1.0.0, jacksarmortweak@1.1.0, japanesearchitecture@0.9.2, jewelrysilver@1.0.5, jonasworkshop@1.1.1, juicyores@1.0.0, khanimaltweaks@1.0.0, largercrock@1.0.2, leathertosturdy@1.0.0, linearpower@0.3.4, long-term_food@0.2.1, m00ngrass@1.0.5, makesaltpeternsulfur@1.0.1, makevintagebeef@1.0.2, metaltoolremodel@1.0.1, millwright@1.2.4, molds@0.1.7, moreicons@1.1.0, morecalcinedflint@1.0.0, nobearjetpacks@1.0.2, nograssontilledsoil@1.0.2, nomorebuildrestrictions@1.0.3, unnotoolochre@1.0.0, unochre@1.3.0, particlesplus@1.2.1, pigfeed@1.0.8, plainsandvalleys@1.0.11, plantstograss@1.0.1, plasterwashes@1.1.0, plumpkins@1.0.6, prettyLittleThings@2.4.2, primitivesurvival@3.7.7, prospecttogether@2.0.5, rdrygrass@0.0.2, dryness@0.0.1, rstick@0.0.1, rtrullywoods@0.0.44, reasonablearrowbreakchance@1.0.0, RelightTorches@1.0.0, theremnants@1.0.3, rlmoonsun@0.1.3, robustelk@1.0.0, scrollrackable@1.3.2, fseasonedfirewood@1.2.0, Sergsmetaltongs@2.2.1, simplewallpaper@0.1.0, sirixbetterstorage2123@1.1.0, skepdrop@1.0.1, so@1.0.0, somedisassemblyrequired@1.6.7, spyglass@0.5.2, stepfixelk@0.0.1, stoneagedrystone@, strelgeooverhaul@1.0.1, sletharm@0.1.1, tankardsandgoblets@1.1.0, traderssellcrowbars@0.0.2, translocatorengineeringredux@1.5.6, translocatormap@1.0.0, undertangledboughs@1.0.2, unevenbricks@1.0.0, usefulshears@1.0.0, usefultraders@2.2.0, vintage-symphony-120x@0.9.8, vintage-symphony-assets@1.0.0, visibleore@1.0.1, game@1.20.12, vsimgui@1.1.8, warmerclothing@1.1.0, weedgardens@1.0.1, wetlandharvest@0.0.1, wforests@1.0.0-dev.1, wwaymarkers@1.0.0-dev.1, wild_cabbage_pumpkin@1.0.0, zoombuttonreborn@2.0.0, accessibilitytweaks@3.8.5, accuratecoalpileburntime@1.0.0, AgeOfConfession@2.1.4, airmapfix@1.0.0, alchemy@1.6.50, alloycalculator@1.0.0, altmapiconrenderercontinued@1.4.0, ancienttools@1.6.0-pre.2, animalcages@3.2.2, apebeams@1.0.1, apeflowerpots@1.2.5, apelanterns@1.1.2, egocaribautomapmarkers@4.0.2, lemurfaceautoaction@1.3.0, awearablelight@1.1.31, barreldough@2.0.1, bedspawnv2@1.4.0, betterbloomeriesreborn@1.0.5, betterfirepit@1.1.6, betterhewnfencegates@1.1.0, BetterProspecting@1.7.0, betterruins@0.4.12, betterstonepath@1.0.4, biggercellars@1.0.1, billposting@1.0.1, biomes@1.20.14, blacksmithenhancements@1.1.4, bloodshed@0.5.0, bradycrudebuilding@1.3.2, butchering@1.9.0, carryon@1.8.1, cartwrightscaravan@1.5.1, cavetweaks@1.2.0, chestorganizer@1.2.3, chickenSit@2.0.1, chuteblockplacer@1.0.4, TrapdoorLadder@1.0.0, clipfix@1.0.9, commonlib@2.6.1, composter@1.2.1, configlib@1.5.3, configureeverything@2.1.3, connectedstairs@1.0.0, consistentclayforming@1.0.1, coreofarts@0.2.3, caffCuniculture@1.0.9, customwaypointsuggestions@1.0.0, danatweaks@3.4.2, desertificationsurfacevariation@1.0.0, doubleslabs@0.1.3, drawonmap@0.0.2, dropdownnextprev@1.0.0, entangledinnature@1.0.61, evenjugincrements@1.0.0, expandedfoods@1.7.4, extendedcreation@1.1.4, extrainfo@1.9.9, farmlanddropswithnutrients@1.2.1, farseer@1.3.1, fixcratemod@0.1.0, fleeexhaustion@1.1.1, floatingfish@1.0.1, foodshelves@2.2.1, forgesstaywarm@1.0.0, fromgoldencombs@1.8.12, genelib@1.1.1, gourmand@1.7.0, grasstoflax@1.0.1, greenbegone@1.0.0, greenhousebuff@1.2.0, handbookbookmarkbutton@0.1.1, hangingbaskets@1.1.0, hayhive@1.0.0, hodblocks@1.0.9, huntingknife@1.0.7, improvedhandbookrecipes@1.1.3, itempickupnotifier@1.7.0, jaunt@1.0.0-pre.7, joyofsailing@1.4.0, kevinsfurniture@1.6.6, knapster@2.14.4, labeledtrunk@1.0.5, lavoisier@1.3.1, lessverbosetooltips@0.0.2, lootablebloomery@1.0.0, lootfilter@1.0.1, makemeleak@1.0.0, mannequinstand@1.0.5, medievalexpansionwaterwheelstonksminuscows@1.0.1, metalpots@1.2.1, meteoricexpansion-reborn@1.3.0, mif@1.0.1, minimalcompass@1.1.3, mobsradar@2.1.7, moreanimals@1.4.1, moreantlermounts@1.0.1, mountDestroyLeaves@1.1.3, mushroomsarepoteins@1.0.0, nooceantranslocators@1.0.1, nooffhandautopickup@1.0.1, norottinghides@1.0.0, oneroof@1.10.0, petai@3.4.3, pewter@1.2.3, pvwv@1.0.0, psredux@4.0.3, quadfirewood@1.0.0, rebalancedfuel@1.3.0, removeprimitivesurvivalstairs@1.0.0, river@4.5.0, rockstratavariety@0.0.1, roomtools@1.3.1, ropeladderplacement@1.0.1, ropetiableall0@1.2.4, rpgoverlay@1.0.0, scarecrow@1.6.9, scrollcharactercreation@1.0.2, seraphfacerework@1.0.0, shipshieldslots@1.0.0, shuffle@1.0.3, simplefootstepsredux@1.0.3, simpletailoring@1.1.6, slapalabelonit@1.0.0, smithingplus@1.6.0-rc.2, somethinginthewater@1.2.6, sprucedup@1.0.3, spyglassinfo@1.0.1, statushudcont@3.2.7, stepupcontinued@0.0.1, stillnecessaries@1.2.2, tanningredux@1.0.1, temperatureheighttweak@0.3.0, th3dungeon@0.4.2, th3expansion@1.3.0, th3restock@1.1.2, toolsmith@1.1.11, trailmodcupdate@1.2.1, translocatorrelocator@1.0.1, tuningcylindertrading@1.0.0, unchisel@1.0.3, undergroundmines@1.0.4, usefulstuff17@1.4.0, vanillaarmory@1.7.4, vs-discordrpc@1.0.1, vsatlas_resized@1.0.9, creative@1.20.12, survival@1.20.12, mapwaypointcolors@1.1.2, webstotwine@1.20.1, wildfarmingrevival@1.3.6, wildgrass@1.3.3, windchimes@1.0.0, woodenfortifications@2.0.6, worldmapmaster@1.0.4-pre.1, xlib@0.8.16, xorberax-bloodmod@0.3.4, zippyscattailstew@1.0.1, zippysskysteel@1.1.0, agrianimaltrading@1.1.0, alchemistry@1.0.2, antlershorns@1.2.0, artofgrowing@1.1.2, autoconfiglib@2.0.6, beamtools@1.0.1, bbb@1.0.1, betterstepping@1.0.0, bloodisegg@1.0.0, butcheringexpandedcompatibility@1.0.0, butcheringcompatpatch@1.0.4, cavebeacons@1.0.9, tradercamps@1.1.5, drkslights@3.0.2, elkjaunt@1.0.0, equus@1.1.4, epxandedbloodbread@1.0.5, em@3.2.2, extraoverlays@1.5.0, fastbreeding@0.0.17, sleekdoorglass@1.0.0, goblinears@2.2.0, gourmandbalance@1.0.2, instantfirepits@5.0.0, moreblueclay@1.0.1, pabrass@1.0.2, paelectrum@1.0.1, pagoldsilver@1.0.2, passablebranches@0.0.2, passiveanimals@1.0.0, sausages@0.0.8, simplewinddirection@1.0.2, cookie12000stickbeam@1.2.0, stonequarry@3.4.3, wattleworldrevised@1.2.0, wethology@1.0.0-dev.9, wtweaks@1.0.0-dev.9, wolftaming@3.0.6, xinvtweaks@1.8.0, xskills@0.8.19, yeet@4.0.1, zrustdrops@1.1.0, artsxskills@1.1.0, equusbp@1.0.2, wildgrass2haylayer@1.2.2
Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: S. Path 'MountDestroyLeaves', line 1, position 23757.
at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json)
at Vintagestory.Common.WorldConfig.loadFromSavegame(SaveGame savegame) in VintagestoryLib\Common\Config\WorldConfig.cs:line 57
at Vintagestory.Client.GuiScreenSingleplayerModify.initGui(SaveGame savegame) in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayerModify.cs:line 44
at Vintagestory.Client.GuiScreenSingleplayerModify.OnScreenLoaded() in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayerModify.cs:line 171
at Vintagestory.Client.ScreenManager.LoadScreen(GuiScreen screen) in VintagestoryLib\Client\ScreenManager.cs:line 969
at Vintagestory.Client.GuiScreenSingleplayer.OnClickCellRight(Int32 cellIndex) in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayer.cs:line 153
at Vintagestory.API.Client.GuiElementMainMenuCell.OnMouseUpOnElement(MouseEvent args, Int32 elementIndex) in VintagestoryApi\Client\UI\Elements\Impl\Misc\GuiElementMainMenuCell.cs:line 319
at Vintagestory.API.Client.GuiElementCellList`1.OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\GuiElementCellList.cs:line 241
at Vintagestory.API.Client.GuiElement.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\GuiElement.cs:line 719
at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 447
at GuiScreen.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\MainMenu\Screens\Special\GuiScreen.cs:line 204
at Vintagestory.Client.ScreenManager.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 914
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 211
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseUp(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Alikat I'm glad you like it 😊
Thank you so much for creating and sharing this mod. I really hate getting stuck on bushes while traveling with the elk.
WickedSchnitzel Please try with the new version 1.1.3. It should work now
Latest version is throwing an error in the console:
7.6.2025 16:00:13 [Error] [mountDestroyLeaves] Exception thrown when attempting to retrieve all types of the assembly VintagestoryLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Will ignore asssembly. Loader exceptions:
7.6.2025 16:00:13 [Error] [mountDestroyLeaves] Exception: Unable to load one or more of the requested types.
Could not load file or assembly 'csogg, Version=1.0.4143.14181, Culture=neutral, PublicKeyToken=cbfcc0aaeece6bdb'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Could not load file or assembly 'OpenTK.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at Vintagestory.Common.ModContainer.GetModSystems(Assembly assembly) in VintagestoryLib\Common\API\ModContainer.cs:line 527
7.6.2025 16:00:13 [Error] [mountDestroyLeaves] Exception: Could not load file or assembly 'csogg, Version=1.0.4143.14181, Culture=neutral, PublicKeyToken=cbfcc0aaeece6bdb'. The system cannot find the file specified.
at Vintagestory.Common.ModContainer.GetModSystems(Assembly assembly) in VintagestoryLib\Common\API\ModContainer.cs:line 527
at Vintagestory.Common.ModContainer.<>c__DisplayClass36_0.b__1(Assembly ass) in VintagestoryLib\Common\API\ModContainer.cs:line 457
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 454
at Vintagestory.Common.ModLoader.instantiateMods(List`1 mods) in VintagestoryLib\Common\API\ModLoader.cs:line 253
at Vintagestory.Common.ModLoader.LoadMods(List`1 mods, IEnumerable`1 disabledModsByIdAndVersion) in VintagestoryLib\Common\API\ModLoader.cs:line 229
at Vintagestory.Common.ModLoader.LoadMods(IEnumerable`1 disabledModsByIdAndVersion) in VintagestoryLib\Common\API\ModLoader.cs:line 198
at Vintagestory.Server.ServerSystemModHandler.OnLoadAssets() in VintagestoryLib\Server\Systems\ModHandler.cs:line 35
at Vintagestory.Server.ServerMain.EnterRunPhase(EnumServerRunPhase runPhase) in VintagestoryLib\Server\ServerMain.cs:line 648
at Vintagestory.Server.ServerMain.Launch() in VintagestoryLib\Server\ServerMain.cs:line 550
at Vintagestory.Server.ServerProgram.Main() in VintagestoryLib\Server\ServerProgram.cs:line 132
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
at Vintagestory.Server.ServerProgram..ctor() in VintagestoryLib\Server\ServerProgram.cs:line 91
at Vintagestory.Server.ServerProgram.Main(String[] args) in VintagestoryLib\Server\ServerProgram.cs:line 35
at Vintagestory.ServerLinux.Main(String[] args) in VintagestoryServer\Linux\ServerLinux.cs:line 9
7.6.2025 16:00:13 [Error] [mountDestroyLeaves] Exception: Could not load file or assembly 'OpenTK.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
MrGr33n it only destroy leaves and not berry bushes
PLease tell me it only destroy leaves and not berry bushes
Maniacpsycho Thanks for letting me know. It seems that there was an issue with the config format.
To fix your issue, please do the following:
1. Download the newest version 1.1.2
2. Start the world you had issues with to fix the configuration
3. Save and exit the world
The error should be gone after that
tried to copy world settings to make a new save but upon touching the button on the save file game crashes with this error
this only happens on a world that was created with MDL active
Running on 64 bit Windows 10.0.26100.0 with 32661 MB RAM
Game Version: v1.20.11 (Stable)
06/06/2025 07:29:34: Critical error occurred
Loaded Mods: aculinaryartillery@1.2.5, angelbelt@1.6.0, backpackpackplusfg@1.3.0, bettercrates@1.8.0, bettertraders@0.0.10, biggerpockets@1.0.0, bloomeryfulldrops@1.0.0, buzzwords@1.7.0, chiseltools@1.14.18, craftablecompanion@1.2.1, crockmod@1.0.0, extrachests@1.9.0, fixedpaths@1.0.2, hangingoillamps@1.0.3, immersivecorpsedrop@1.0.3, instantpickup@1.0.3, juicyores@1.0.0, makesaltnmore@1.0.1, mastodontrunk@1.0.1, molds@0.1.7, nailsmold@1.0.2, nightwatcher@2.2.0, nmfw@1.0.0, noisybears@1.1.0, offlinefoodnospoil@1.4.0, pancassiterite@1.0.1, primitivesurvival@3.7.7, propickfix@1.1.1, prospecttogether@2.0.5, repairablelocust@1.4.1, serverpausemod@1.0.1, simplysmokeychimneys@1.0.0, temporal_gears_stack@1.0.0, torchholdersmithingplus@1.0.0, translocatormap@1.0.0, upgradeablelocust@1.0.3, Vanilla_PlusWorldGen@1.3.5, game@1.20.11, vsimgui@1.1.8, wildcultivation@1.1.2, Xcore@0.0.5, zoombuttonreborn@2.0.0, accessibilitytweaks@3.8.5, animalcages@3.2.2, awearablelight@1.1.31, betterfirepit@1.1.6, betterruins@0.4.12, betterstonepath@1.0.4, bowinlefthand@1.0.0, carryon@1.8.1, chestorganizer@1.2.3, commonlib@2.6.1, configlib@1.5.3, configureeverything@2.1.3, cooperativecombat@1.1.1, danatweaks@3.4.1, darkui@1.0.2, egocaribautomapmarkers@4.0.2, emotemenupatched@1.0.6, expandedfoods@1.7.4, extrainfo@1.9.9, flowerfarming@1.1.0, foodshelves@2.2.1, fromgoldencombs@1.8.12, globalplayermapmarker@1.2.1, handbookbookmarkbutton@0.1.1, healthbar@1.0.7, highfert@1.0.2, hit@2.2.0, hudclockpatch@1.0.3, improvedhandbookrecipes@1.1.3, itempickupnotifier@1.7.0, JustTrapdoors@1.0.2, knapster@2.14.4, makemeleakplus@1.0.0, minimalcompass@1.1.3, mobsradar@2.1.7, morefluxes@0.1.0, morepiles@2.1.4, mountDestroyLeaves@1.1.1, ndlwoodentorchholder@1.4.3, nooffhandtgear@1.0.1, onebedsleeping@2.5.4, oneroof@1.10.0, petai@3.4.3, projectiletracker@1.0.3, roomtools@1.3.1, sealevelfix@1.0.10, simplefootstepsredux@1.0.3, solidirondoor@1.0.1, stepupcontinued@0.0.1, stonebakeoven@1.1.6, storagecontroller@1.1.5, storageoptions@1.0.2, tentbag@2.2.0, creative@1.20.11, survival@1.20.11, vtpp@1.1.1, warpnetwork@1.0.0, weatherthestorm@1.1.0, xblood@1.6.5, xlib@0.8.16, autoconfiglib@2.0.6, campaigncartographer@4.6.7, fastbreeding@0.0.16, moreblueclay@1.0.1, onestick@1.0.1, playercorpse@1.11.1, stonequarry@3.4.3, wolftaming@3.0.6, xskills@0.8.19
Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: S. Path 'MountDestroyLeaves', line 1, position 3601.
at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JToken.Parse(String json)
at Vintagestory.Common.WorldConfig.loadFromSavegame(SaveGame savegame) in VintagestoryLib\Common\Config\WorldConfig.cs:line 57
at Vintagestory.Client.GuiScreenSingleplayerModify.initGui(SaveGame savegame) in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayerModify.cs:line 44
at Vintagestory.Client.GuiScreenSingleplayerModify.OnScreenLoaded() in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayerModify.cs:line 171
at Vintagestory.Client.ScreenManager.LoadScreen(GuiScreen screen) in VintagestoryLib\Client\ScreenManager.cs:line 969
at Vintagestory.Client.GuiScreenSingleplayer.OnClickCellRight(Int32 cellIndex) in VintagestoryLib\Client\MainMenu\Screens\Singleplayer\GuiScreenSingleplayer.cs:line 153
at Vintagestory.API.Client.GuiElementMainMenuCell.OnMouseUpOnElement(MouseEvent args, Int32 elementIndex) in VintagestoryApi\Client\UI\Elements\Impl\Misc\GuiElementMainMenuCell.cs:line 319
at Vintagestory.API.Client.GuiElementCellList`1.OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\GuiElementCellList.cs:line 241
at Vintagestory.API.Client.GuiElement.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\GuiElement.cs:line 719
at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 447
at GuiScreen.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\MainMenu\Screens\Special\GuiScreen.cs:line 204
at Vintagestory.Client.ScreenManager.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 914
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 211
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseUp(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
TheDude by default the mount will receive 0.5 damage 20% of the times, both values are configurable in the json file
Do you have any idea how much damage the mount will take and whether the percentage chance of it being injured can be modified by a server command?
safwyl sure! I patched OnEntityCollide of LeavesBlock with HarmonyPrefix.
I just looked into your mod, and the main reason why our mods are not compatible is the "wildhorse" entity code. Currently, I check if the entity is a tamed mount using the code path, I could not find a better way. Therefore, if the entity code path does not start with "tameddeer" it will not use my patch. I made a test, and a one-line code change fixes that.
The new version 1.1.1 should now be compatible with Equus
Akkuku would you be willing to share which classes you modified for this? I'd like to see about making it compatible with Equus: Wild Horses
TheDude Amarillo in the new version 1.1.0, your mount will now randomly receive damage (by default 20% of the time) after destroying a leaf block. You can disable this feature with a chat command or via the config file. See the mod description for more information.
Thanks for your interest! I will certainly try to implement your suggestions when I have some free time.
Hey! this is a clever mod to deal with that annoyance of traversing thick forests. I agree with Akkuku. In order to balance it a little bit, to deal a bit of damage when traversing through the branches. Keep it up!!
Akkuku
Great mod, but would it be possible to have, for example, a 5% chance that we and our mount will suffer between 1% and 25% damage with each broken leaf block, with an admin command that enables or disables the feature ?