OrbisGuard Mixins

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

OrbisGuard-Mixins-0.8.3.jar

File nameOrbisGuard-Mixins-0.8.3.jar
Uploader
wiflowwiflow
Uploaded
Feb 18, 2026
Downloads
368
Size
122.9 KB
File ID
7645665
Type
R
Release
Supported game versions
  • Early Access

What's new

[0.8.3] - 2026-02-18

Added

HarvestCropInteractionMixin - Blocks scythe/tool-based crop harvesting in protected regions. Scythes use HarvestCropInteraction → FarmingUtil.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.