Skip to content

Automated Crop Field

HardwareMin Tier 2World Sensor (Use ability)Side View on World Action (S.up.use)9×2×9 BoxBudget Pacing
Parts1× PLC (Tier 2)1× Interface (Tier 2, facing field)1× Interface (on barn chest)1× World Sensor (Use ability)1× Item ExpansionCable

Keep an entire 9 × 9 farm plot tilled and planted automatically from a nearby supply chest holding an Iron Hoe and Wheat Seeds. The worn hoe returns to the chest after every use, and pacing limits the scan to 4 tills + 4 plantings at a time so it stays well within Tier 2 step and transfer budgets.

9x9 irrigated wheat and dirt farm wrapped in a glowing cyan 9x2x9 Show area wireframe box, tended by a Tier 2 Interface, Tier 2 PLC, and barn chest
A single Tier 2 Interface at soil height covers the entire 9×2×9 plot (shown with Show area enabled).
  1. Build a 9 × 9 dirt plot with a hydrated center water block (or water along the edge).
  2. Craft the Use ability onto a World Sensor (World Sensor + Lever on a Crafting Table).
  3. Place a Tier 2 Interface facing sideways across the field at soil height (centered along one edge) and name it field.
  4. Install your World Sensor (Use) in field, set the box to width 9, height 2, depth 9, and click Show area.
    • y = 0 covers the soil layer (minecraft:dirt / minecraft:farmland).
    • y = 1 covers the crop layer right above the soil.
  5. Place a Chest holding an Iron Hoe and Wheat Seeds, attach a Tier 1 Interface with an Item Expansion, and name it barn.
  6. Bind both Interfaces to a Tier 2 PLC.
crop_field.star
S = point("field/world")
BARN = point("barn/item")
def scan():
# Till up to 4 open dirt blocks per scan
tilled = 0
for x, y, z in S.find("minecraft:dirt", 162):
if tilled == 4:
break
if y == 0 and S.matches(x, 1, z, "#minecraft:air"):
S.up.use(x, y, z, src=BARN, key="minecraft:iron_hoe")
tilled += 1
# Plant up to 4 empty farmland blocks per scan
planted = 0
for x, y, z in S.find("minecraft:farmland", 81):
if planted == 4:
break
if y == 0 and S.matches(x, 1, z, "#minecraft:air"):
S.up.use(x, y, z, src=BARN, key="minecraft:wheat_seeds")
planted += 1
  • Planting seeds and tilling dirt require clicking the top face of the block—using S.up.use(...) targets the top face while keeping (x, y, z) in normal box coordinates.
  • When use() takes the Iron Hoe from BARN, it applies tool durability and returns the worn hoe right back to BARN automatically after clicking.
  • Capping each scan to 4 tills + 4 plants = at most 8 item takes from BARN, which stays comfortably inside a Tier 1 Interface’s 16-item take allowance and avoids step budget spikes on a large 9×2×9 box.
  • Plant different crops or saplings: Replace "minecraft:wheat_seeds" with "minecraft:carrot", "minecraft:potato", "minecraft:beetroot_seeds", or "minecraft:oak_sapling".
  • Bone-meal a single spot: Add a S.up.use(x, 1, z, src=BARN, key="minecraft:bone_meal") call to speed up growth on a specific crop or sapling tile.
  • Keep in mind: S.block() and S.matches() read block IDs and tags, not block state properties like crop growth age—so pair this planter with a modded harvester or a water-flush redstone harvest cycle when you want automatic harvesting too.

Not an official Minecraft website. Not approved by or associated with Mojang or Microsoft.