

A BONELAB mod for making life easier for other mod creators.
BoneLib is fully open source so feel free to make a PR for new features and bug fixes. Just make sure the code is commented/easily understandable, and doesn't noticeably affect performance.
Many more features will be added as we continue to develop the mod.
You will have to run the game once with the mod installed before the preferences will show up.
Preferences are stored in UserData\MelonPreferences.cfg.
By default this mod will automatically update to the latest release from github when you launch the game. If you want to disable this for any reason, set OfflineMode to true in the preferences file. If you haven't run the game yet and don't have that file, create it and add the following lines to it.
[BoneLibUpdater]
OfflineMode = true
Gnonme / L4rs / Adidasaurus: Main developers
Parzival: Added enum with all game layers, improved documentation, made some extension method parameters optional
Extraes: Ported nullable extension methods (originally made by WNP78) from MTINM, lots of testing, added InvokeActionSafe methods
Adamdev: Added events for NPC deaths and resurrections, and events for MarrowGame and MarrowScenes
Hooking.OnMarrowGameStarted eventSafeActions class for invoking actions with error handlingHooking.OnPlayerReferencesFound since the melonloader level load/init functions are unreliableGetPhysicsRig() and GetCurrentAvatar() to Player classSetRpm() and DealDamage() extension methods being in the wrong namespace