BONELAB
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
4 days ago
Downloads
615
Size
111KB
Dependency string
eddiespants-UnbreakableGrip-1.0.0

UnbreakableGrip for BONELAB

A MelonLoader code mod that makes the local player's active player-to-player grip resistant to physics breakage.

Controls

  • Double-tap left grip: toggle left-hand unbreakable grip.
  • Double-tap right grip: toggle right-hand unbreakable grip.
  • Double-tap both grips together: toggle both hands.

Single grip presses still behave normally.

How it works

When the local player attaches a SLZ.Interaction.Grip, the mod captures its original break-force values and sets both maxBreakForce and minBreakForce to positive infinity. The values are periodically reasserted while the protection is enabled. The mod also guards Grip.OnDetachedFromHand against automatic detachment while that grip is protected.

This follows patterns already used by public BONELAB mods: custom grips can set maxBreakForce and minBreakForce to infinity, and Grip.OnAttachedToHand / Grip.OnDetachedFromHand are available Harmony hook points.

Fusion

The mod intentionally does not create a second networked joint. LabFusion already synchronizes player/physics state; the mod preserves the local grip state and lets Fusion carry the resulting physics state. Fusion supports code-mod modules and synchronized events; the current public Fusion release is v1.14.2 as of August 16, 2026.

Build

  1. Install BONELAB.
  2. Install MelonLoader, BoneLib, and LabFusion.
  3. Open UnbreakableGrip.csproj.
  4. Change GameDir to your BONELAB install path if needed.
  5. Build Release.
  6. Copy bin/Release/UnbreakableGrip.dll into BONELAB/Mods/.

Important

BONELAB and its dependencies are IL2CPP Unity assemblies. If your current MelonLoader/BoneLib version exposes a different BaseController grip-input method or a changed Fusion assembly layout, update ControllerInput.cs against your installed assemblies rather than copying DLLs from another installation.

Suggested test

  1. Start BONELAB with Fusion.
  2. Join a lobby with another player.
  3. Double-tap the left grip.
  4. Grab the other player's avatar.
  5. Move/throw yourself upward or sideways while holding them.
  6. Confirm the hand does not release from normal break-force behavior.
  7. Double-tap left grip again to disable protection and verify normal release returns.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.