Foxs Anti AFK
Curse Maven Snippet
What's new
Foxs Anti AFK โ Feature Changelog
Target Platforms: Fabric 26.1 / 26.2 / 26.3
Package: Foxs Anti AFK.jar (Universal 100% Byte-Identical Distribution)
Author: Foxira
1. ๐ฌ Advanced Multi-Channel Discord Webhook System
๐ Streamer-Safe Asterisk (*) Privacy Masking
- Screen-Share & Livestream Protection:
- Webhook URL input fields automatically mask the private secret token with asterisks (
*) upon saving (e.g.https://discord.com/api/webhooks/123456789/********************************). - Protects streamers, YouTubers, and content creators from having sensitive endpoints leaked or spammed ("webbed") during recordings or live screenshares.
- Webhook URL input fields automatically mask the private secret token with asterisks (
- Interactive Privacy Toggle:
- Dedicated
[ ๐ Masked (*) ]/[ ๐๏ธ Revealed ]button in the top action header. - Allows intentional inspection or editing of the raw URL while keeping asterisks protected from accidental overwrites.
- Dedicated
- Smart Input Sanitization:
- Automatically cleans copied URLs by stripping leading/trailing whitespace, surrounding markdown angle brackets (
<https://...>), and quotes ("...").
- Automatically cleans copied URLs by stripping leading/trailing whitespace, surrounding markdown angle brackets (
๐๏ธ 4-Tab Categorized Webhook Interface
A dedicated 4-tab user interface in ProfileDiscordWebhookScreen cleanly separates alerts and eliminates UI clutter:
- Tab 0:
[ ๐ Net ](Network & Commands):๐ Kicked / Disconnect: Disconnection reason, timeout duration, proxy drop, and last server IP.๐ Auto-Reconnect: Reconnect attempts, exponential backoff status, and arrival at target server/node.โก Silent Commands: Timestamped logs of automated commands executed across all 5 repeating command slots.
- Tab 1:
[ ๐ Game ](Gameplay & Navigation):๐ Route & Waypoints: Waypoint arrival alerts (name, index, distance, route progress percentage) and route loop completions.โ ๏ธ Obstacle & Stuck: Physical navigation stall detection, GPS detour calculations, and recovery alerts.โค๏ธ Low Health & Death Alerts: Critical low HP warnings (โค6โค6 HP) and exact death coordinates.
- Tab 2:
[ โ๏ธ Profile ](World & System Events):๐ฎ World Join & Leave: Connection to new worlds/dimensions, session duration, and leave summaries.โ๏ธ Profile Loaded: Preset activation and auto-switch notifications (dispatched strictly on true profile switches).โ Listener Errors: Subsystem error tracking and automated listener recovery diagnostics.
- Tab 3:
[ ๐ Ping ](Server Heartbeat & Status):๐ Server Status Ping: Periodic heartbeat embed reporting current server/sub-server, player name, health, coordinates, dimension, active preset, and uptime.Master Ping Toggle: Independent[ Ping: ON / OFF ]button.Configurable Frequency: Cycle button supporting1m,2m,3m,5m,10m,15m, and30mintervals.
๐ก๏ธ Strict 1-to-1 Channel Isolation (Zero Cross-Spillover)
- Every notification category maps exclusively to its own dedicated endpoint.
- Unconfigured channels remain silent rather than dumping all events into the disconnect webhook, preventing notification spam.
๐พ Bulletproof Input Persistence
- Instant Dynamic Responders: Real-time
setResponderattached to every input field commits pasted or edited URLs to profile state instantly. - Auto-Commit on Close / Navigation: Pressing
[ โ Back ], switching tabs, or hitting theESCkey automatically commits all in-memory buffers to disk (antiafk_profiles.properties), ensuring typed URLs never disappear. - Thread-Safe In-Game Testing: Built-in
[ Test ]buttons send rich verification embeds to Discord and display real-time status feedback scheduled on the Minecraft render thread.
2. ๐ถ Baritone-Grade Locomotion & Voxel Traversal ("Better Baritone")
๐งญ Natural Forward-Dominant Locomotion (No Robotic Crab-Walking)
- Elimination of Backward (S) and Lateral Crab-Walking:
- Completely replaced the previous 8-sector WASD mapping where players would run backwards or sideways while the camera slowly turned.
- Players now navigate forward facing their trajectory with Forward (W):
- Direct Ahead (โค20โโค20โ): Pure forward drive (
W). Sprint engages automatically if enabled and not arriving. - Gentle/Moderate Turns (20โโ55โ20โโ55โ): Forward drive combined with subtle diagonal steering (
W + A/W + D), smoothly curving through corners without dropping momentum. - Wide Corners (55โโ80โ55โโ80โ): Controlled forward stepping while the camera rounds the bend.
- Hairpins & U-Turns (>80โ>80โ): The camera pivots rapidly first (~0.3s) before surging forward. The player never runs backwards across the map.
- Direct Ahead (โค20โโค20โ): Pure forward drive (
๐ฑ๏ธ Rapid Human Mouse Kinematics (Up to 22ยฐ/Tick / 440ยฐ/s)
- Fluid Rotational Flicks:
- Replaced the artificially slow 4.8โ/tick4.8โ/tick limit with authentic human aiming physics capable of peak flick speeds up to 22.0โ/tick22.0โ/tick (โผ440โ/sโผ440โ/s).
- A 180โ180โ turn executes smoothly in ~10โ12 ticks (~0.5s) instead of dragging on for 2 seconds.
- Cubic Ease-Out Deceleration:
- As the crosshair closes within 15โ15โ of the target heading, rotational velocity softly brakes and settles onto the target without overshooting or twitching.
- Horizon Pitch Control:
- Eye-level gaze bounded naturally between โ14โโ14โ and +16โ+16โ to prevent staring at feet or pitching violently over small bumps.
- Subtle Step-Synchronized Head Sway:
- Injects subtle breathing and walking micro-sway (ยฑ0.16โยฑ0.16โ yaw, ยฑ0.09โยฑ0.09โ pitch) emulating natural human hand grip on a mouse.
- Focused Path Traversal:
- Eliminated random 360ยฐ sweeps and idle steering overrides while actively traveling along a route. The player stays 100% focused on following the path, only engaging casual glances when paused at a waypoint.
๐ช Interactive World Traversal (Doors, Fence Gates, Trapdoors)
- Proactive Raycast Sensing:
- Scans block positions 1.5m1.5m directly ahead along the player's movement direction.
- Automatic Opening:
- Senses closed doors, fence gates, and trapdoors ahead and triggers interaction before the player reaches them, walking through smoothly without stopping or bumping.
๐ง Ladders & Vines with Descent Safety
- Vertical Ascent:
- Detects ladder and vine blocks, holding Forward (
W) without jump or sprint interference for clean climbing.
- Detects ladder and vine blocks, holding Forward (
- Descent Control:
- Automatically manages controlled descent when navigating downward on ladders.
๐ Water Current & Waterfall Navigation
- Surface Swimming:
- Senses water submersion and pulses jump input to swim upward and maintain surface oxygen.
- Waterfall Ascent:
- Maintains forward pressure against vertical water columns to ascend waterfalls reliably.
๐ฆ Sprint Parkour & Chasm Apex Physics
- Preemptive Gap Detection:
- Proactively scans 1 block ahead for empty chasms and verifies solid landing platforms 2 to 4 blocks ahead.
- Apex Jump Execution:
- Launches jumps at the optimal edge distance (<1.4m<1.4m) with full sprint momentum preserved to clear 2-, 3-, and 4-block gaps.
๐ช Proactive Step-Jumping (Zero Wall Collisions)
- Step-Ahead Detection:
- Senses 1-block ledges 0.7mโ1.3m0.7mโ1.3m in advance before the player touches them.
- Sprint Momentum Retention:
- Jumps proactively while maintaining sprint speed, gliding up blocks, hills, and stairs without colliding face-first into walls.
๐ Anticipatory Catmull-Rom Corridor Look-Ahead
- Dynamic Look-Ahead Blending:
- Replaced discrete block-center gaze snaps with a continuous 2.2m2.2m look-ahead along path corridors.
- Gaze vector naturally leads corner turns into upcoming hallways before reaching the waypoint pivot.
- Catmull-Rom & Bรฉzier 3D Spline Smoothing:
- Evaluates continuous spline tangents, transforming jagged 90ยฐ grid paths into smooth, organic curves.
๐ง Q-Learning ML Obstacle Avoidance
- Autonomous Avoidance:
- When unexpected dynamic obstacles or blockages appear, a tabular Q-learning agent evaluates local clearance and executes evasive maneuvers (lateral curving, hopping, unstucking) without stalling.
3. โจ๏ธ Controls & Keybinding Safety
๐ซ Removal of Accidental 'R' Triggering
- Unbound Route Toggle by Default:
- The Waypoint Route Toggle keybind (
KEY_TOGGLE_ROUTE) has been set to Unbound by default (unknownKeyCode), matching Auto-Reconnect. - Pressing
Rin-game no longer triggers route navigation or unintended movement. - Players can assign Route Toggle to any custom key via standard Minecraft Options โ Controls โ Key Binds under the "Foxs Anti AFK" category.
- The Waypoint Route Toggle keybind (
This mod has no additional files

