AFK&Farm

Quick rating

Community listing page, reviews may not be monitored by the author.

AFK&Farm

No reviews yet

Client-side AFK rotation + auto potato/carrot harvest/replant

Mod Loaders
Minecraft
26.2

About

Description

AFK Farm

Version 1.0.2 · Client-side · NeoForge + Fabric · Minecraft 1.21.11, 26.1.2, 26.2

English

AFK Farm is a client-side utility for potato and carrot farms. It can slowly rotate your view while AFK and, when you use the harvest key on a fully grown crop above farmland, break it and replant the matching seed.

Features

  • AFK view rotation — press F7 to toggle. While enabled, the view turns 5° to the right every 10 seconds. View only; no movement.
  • Harvest and replant — look at a fully grown potato or carrot directly above farmland and press/hold the use/place key. The mod breaks the crop with the main-hand tool, finds the matching seed, swaps it into the selected slot, replants on the farmland, and restores the tool.
  • One click, one crop — the break and plant are sent on separate client ticks; the crop is verified two ticks later. If verification fails, it stops and logs a warning; it does not retry automatically.
  • Hold to repeat — holding the use/place key repeats with a short cooldown. A single click does not place blocks or use items when targeting a valid crop.
  • Client-side only — the server does not need the mod. The mod uses normal vanilla actions (block break, use item on, container click).

Supported versions

  • NeoForge 1.21.11 (NeoForge 21.11.48+, Java 21)
  • NeoForge 26.1.2 (metadata covers 26.1–26.1.2; NeoForge 26.1.0+, Java 25)
  • NeoForge 26.2 (NeoForge 26.2.0+, Java 25)
  • Fabric 1.21.11 (Java 21; Fabric Loader 0.19.5+; Fabric API required)
  • Fabric 26.1.2 (Java 25; Fabric API required)
  • Fabric 26.2 (Java 25; Fabric API required)
  • Forge is not included in 1.0.2.

Installation

  • NeoForge — install the matching NeoForge version and put the jar in mods.
  • Fabric — install Fabric Loader 0.19.5+ and the matching Fabric API; put the mod jar and Fabric API in mods.
  • The server can stay vanilla; no server-side installation is required.
  • No config file. F7 is the default toggle and can be rebound in Controls.

Usage

  1. Press F7 to enable/disable AFK view rotation.
  2. Look at a fully grown potato or carrot directly above farmland.
  3. Press the use/place key to harvest and replant; hold it to repeat.

Test status

  • Tested with PCL client instances: 1.21.11 NeoForge, 26.2 NeoForge, 26.2 Fabric.
  • Not tested: 26.1.2 NeoForge, 26.1.2 Fabric, 1.21.11 Fabric.
  • No dedicated-server test; the mod is client-side.
  • Forge: not provided.

Limitations

  • Only potato and carrot; the crop must be fully grown (age 7) and directly above farmland.
  • The crop must be within the player's block interaction range and line of sight.
  • No area harvest, auto-walk, chunk loading, crafting, or selling.
  • If the server rejects or lags the plant, verification may fail; by design it does not retry.
  • 26.1.2 NeoForge, 26.1.2 Fabric, and 1.21.11 Fabric builds are untested.

Links

中文介绍

AFK Farm 是客户端专用的马铃薯/胡萝卜农场辅助模组。挂机时可以让视角慢慢旋转;对准农田上方成熟的作物按使用/放置键,会收割并补种对应种子。

功能

  • AFK 视角旋转:按 F7 开关。开启后每 10 秒向右转 5°;只转视角,不移动。
  • 收割补种:对准农田正上方成熟的马铃薯/胡萝卜,按/按住使用/放置键。主手工具收割,找到对应种子,切换到选中槽,补种到农田,再把工具换回。
  • 一次点击收一棵:破坏和补种分两个客户端 tick 发送,2 tick 后校验。失败就停止并记录警告,不自动重试。
  • 按住重复:按住使用/放置键按短冷却重复。单次点击命中作物时不会误放方块或误用物品。
  • 客户端专用:服务端不需要安装。模组只发送原版的破坏、使用物品、容器点击动作。

支持版本

  • NeoForge 1.21.11(NeoForge 21.11.48+,Java 21)
  • NeoForge 26.1.2(元数据覆盖 26.1–26.1.2;NeoForge 26.1.0+,Java 25)
  • NeoForge 26.2(NeoForge 26.2.0+,Java 25)
  • Fabric 1.21.11(Java 21;Fabric Loader 0.19.5+;需要 Fabric API)
  • Fabric 26.1.2(Java 25;需要 Fabric API)
  • Fabric 26.2(Java 25;需要 Fabric API)
  • 1.0.2 不提供 Forge 版本。

安装

  • NeoForge:安装对应 NeoForge,把 jar 放进 mods。
  • Fabric:安装 Fabric Loader 0.19.5+ 和对应 Fabric API,把模组 jar 与 Fabric API 放进 mods。
  • 服务端保持原版即可,不需要安装。
  • 没有配置文件;F7 是默认开关,可在“控制”里改键。

使用

  1. 按 F7 开/关 AFK 视角旋转。
  2. 对准农田正上方成熟的马铃薯/胡萝卜。
  3. 按使用/放置键收割并补种;按住可重复。

测试状态

  • 已用 PCL 客户端测试:1.21.11 NeoForge、26.2 NeoForge、26.2 Fabric。
  • 未测:26.1.2 NeoForge、26.1.2 Fabric、1.21.11 Fabric。
  • 没有做专用服务器测试;模组是客户端专用。
  • Forge:未提供。

限制

  • 只支持马铃薯/胡萝卜;必须成熟(age 7)且正下方是农田。
  • 作物必须在玩家的方块交互距离和视线内。
  • 不包含范围收割、自动行走、区块加载、合成或出售。
  • 服务器拒绝或延迟补种时校验可能失败;按设计不重试。
  • 26.1.2 NeoForge、26.1.2 Fabric、1.21.11 Fabric 未测。

链接