LiquidBounce icon indicating copy to clipboard operation
LiquidBounce copied to clipboard

feat(world): add Clutch module for void safety

Open m1trenv0 opened this issue 6 months ago • 0 comments

This pull request introduces the new Clutch module under the WORLD category.

Features & Mechanics:

  • Void Fall Heuristics: Detects falling trajectory, configurable fall distance threshold, and void-drop conditions below.
  • Silently Swapping & Placement Plan: Dynamically plans and silent-swaps blocks to place them underneath the player when falling.
  • Reach and Dev-review Refinements: Addresses all Copilot reviews:
    • Uses full reach check scale in both planning and eye ray-tracing.
    • Properly branches and handles safe null checking for non-silent selected slots (avoiding offhand index zero fallbacks).
    • Safely clears current target only inside actual success callbacks to allow tick retries.

m1trenv0 avatar Jun 01 '26 14:06 m1trenv0