MCA: Crime 0.8.1 (Forge 1.20.1)
Curse Maven Snippet
What's new
[0.8.1]
World schema 19 (unchanged) · Network protocol 23 (GuardStatusS2CPacket) · Minecraft 1.20.1 / Forge.
Fixed
- First guard patrol and prisoner handover paying 0 emeralds. Eliminated the
Long.MIN_VALUEsigned 64-bit overflow inGuardService.tick()andGuardService.handover(), and gatednotePatrol()so cooled-down checks are recorded accurately. - Unreachable / roof-level / invisible patrol waypoints. Added
PatrolPointFinderwalkable exterior surface validation with small-village perimeter fallbacks, unloaded-chunk resnapping, Y-axis tolerance (4.0D), private officer check-in feedback, and fixed the off-by-one progress display on/crime guard& actionbars. - Cross-loader parity & C2S/persistence hardening. Routed
GuardChallengeDisplayedC2SPacketthroughServerPacketGuard(RequestBudget.Category.CHALLENGE), addedCivicWorkHandlers.onServerStoppingandDecreeActionC2SPacketnull-guard, deferred login escrow delivery until after jail/custody/arrest reconciliation (and skipped while jailed/captive), decoupledSeizureLedgerpersisted record UUIDs from session transfer IDs, enforcedCapacityResultinCustodyService.captureLawful, entity-spawn checks inPadlockItem, key re-checks inRescueActionHandler, actor/LOS checks across C2S handlers, non-death-onlymaskedPursuitUntilTickclone, logout/shutdown cleanup (DecreeMenuService,CrimeMaintenanceSweep), missing%sformat args inmcacrime.command.restraint.refused, and Field Guide text fixes.
Added
- Guard patrol discovery UX & progression. Client-synced
GuardStatusS2CPacket, top-right patrol HUD tracker (progress, relative bearing arrow, cardinal direction, block distance), world-space beacon rings + particles (patrolWaypointStyle:FULL,MINIMAL,HUD_ONLY,OFF), Guard Badge right-click ping & board shortcut,GuardRankprogression (RECRUITtoCAPTAIN),/crime statusactive duty integration, and/crime guard ping|reroll|reinstate. - MCA screen
"Crime"button lifecycle & layout. Replaced right-click weapon interception with a native"Crime"button on MCA'sInteractScreen(ScreenAccessorwidget re-insertion aftersetLayout, collision-free column/left-column placement, cleanInteractScreen.onClose()release before opening the Crime menu, and refusal-fallback menu opening).
Changed
- Weapon trigger retired (
weaponTrigger.enableddefaults tofalse). Right-clicking an MCA villager while holding a weapon opens MCA's native interaction screen instead of hijacking the click into the Crime menu; restraints and Sand Bottle claims keep their existing behavior. - Lockpick durability (
3 -> 48) & enchantability (10). Matches Locks Reforged's pick-wear scale.
Compatibility
- Locks Reforged. Tagged
mcacrime:lockpickintolocks:lock_picks, added optional#locks:lock_pickstomcacrime:lockpicks, and reflectively registeredLockPickStatsintoLockTypeRegistry.
This mod has no additional files