promotional bannermobile promotional banner

OrbisGuard Mixins

Companion module for OrbisGuard that closes all protection bypasses through server-level mixins.

File Details

OrbisGuard-Mixins-0.8.3.jar

  • R
  • Feb 18, 2026
  • 122.87 KB
  • 359
  • Early Access

File Name

OrbisGuard-Mixins-0.8.3.jar

Supported Versions

  • Early Access

[0.8.3] - 2026-02-18

Added

HarvestCropInteractionMixin - Blocks scythe/tool-based crop harvesting in protected regions. Scythes use HarvestCropInteractionFarmingUtil.harvest(), a separate code path from F-key harvesting. Redirects the FarmingUtil.harvest() call and checks block-break permission before allowing the harvest. Returns false on denial which sets InteractionState.Failed, so the client handles it cleanly without needing explicit block resync.

CycleBlockGroupInteractionMixin - Adds OrbisGuard protection directly on the base CycleBlockGroupInteraction class. Fixes hammer cycling not being blocked when another plugin (e.g., SimpleClaims) replaces OrbisGuard's codec-registered interaction override. Three redirects: captures player context, checks hammer permission at block read, and skips the setBlock call when denied. Respects protection hooks so claim plugin members can still hammer in their own claims.