« Back to search

Mod

X Farming

by SaKeL · score 1,252.9 · license: LGPL-2.1-or-later

X Farming

Download latest release

Extensive farming with diverse crops, trees, bees, ice fishing & buffs, stove, drying rack, watering can, sickles, composter, scarecrows, crates, and multi-game support.

crafting decorative food plants_and_farming storage survival tools

An extensive, modular farming and survival extension for Luanti featuring diverse agricultural crops, arboriculture, apiculture with wild bees, biome-based ice fishing, interactive cooking appliances, composting, portable crate storage, and an intelligent multi-game deduplication engine.

Features

  • 20+ Agricultural Crops: Stem-regrowing melons and pumpkins, dark-growing obsidian wart, vertical cocoa on jungle trunks, paddy rice, and direct planting of harvested carrots and potatoes.
  • Intelligent Deduplication Engine: Seamlessly resolve duplicate items/blocks across Luanti Game, VoxeLibre, and Mineclonia (both, game, or x_farming).
  • Complete Apiculture System: Naturally spawning wild beehives, ambient swarms, 3D animated bees, jar catching, domestic beehives, honeycomb saw, and honey bottles (cures poison!).
  • Biome-Based Ice Fishing & Utility Effects: Drill holes with the Ice Auger, deploy fishing rigs, and catch 50+ fish species with temporary utility buffs (Speed, Jump, Water Breathing, Night Vision, Feather Fall, Magma Regeneration), plus sunken treasures. Can be toggled off via settings for pure farming.
  • 16 Colored Beeswax Candles & Animated Flame: Dyed in 16 colors with hand-crafted 8-frame flickering animated flames.
  • Modern Particle Spawners: High-performance particle effects with graceful backwards compatibility for Luanti 5.4+.
  • Unified Tooltip Visual Hierarchy: Color-coded stat values (Hunger in sand brown, Health in soft red, Compost chance in mint green, lore/hints in muted gray, and vibrant status effect indicators).
  • The Rustic Stove: Visual 3D wielditem entity cooking matrix that cooks up to 6 items simultaneously with real-time cooking times, torch/flint ignition, and shovel extinguishing.
  • Solar Drying Rack: Zero-fuel dehydrator for fish (dried fish), seaweed (nori sheets), and fruits (dried fruit) under sunlight.
  • Watering Can & Irrigation Troughs: Interactive crop watering with daily growth boosts, paired with walkable wooden aqueduct troughs that hydrate soil without trench pitfalls.
  • Replanting Sickles: 4 tiers (Wood, Stone, Steel, Diamond with 3x3 sweep) that harvest and automatically replant fields.
  • Composter & Bonemeal: Recycle organic waste into bonemeal to advance crop growth stages via right-click/placement.
  • Protective Scarecrow: Pacifies aggressive bees and provides a 5-node bonemeal crop growth aura.
  • Storage Crates & Bags: Single-stack placeable crates that retain inventory and display the item texture on the front face.
  • Ropes, Ladders & Safety Nets: Self-extending ropes, rope ladders, rustic fences, and bouncy safety nets (zero fall damage).
  • Culinary Expansions: Shareable 4-slice pies, cornbread, tortillas, popcorn tubs, hot coffee, iced coffee (speed boost), mocha, coffee cake, strawberry jam, chocolate strawberries, and medical bandages.
  • Broad Mod & Mob Support: Mobs follow and breed with crops (chickens follow seeds, rabbits carrots, pigs potatoes/beetroot, cows/sheep barley/corn). Native support for hbhunger, hunger_ng, stamina, playerphysics, playereffects, candles_3d, stairs, dungeon_loot, and everness.

Crops & Agricultural Systems

Crop Seed / Item Medium Stages Special Mechanics
Carrot x_farming:seed_carrot Wet Soil 8 Direct planting; yields carrots and Golden Carrots.
Potato x_farming:potato Wet Soil 8 Direct planting; can be baked; rare Poisonous Potato.
Beetroot x_farming:seed_beetroot Wet Soil 8 Yields beetroots; craftable into hearty Beetroot Soup.
Melon x_farming:seed_melon Wet Soil 8 Spawns melon block; stem regrows fruit. Slices craft into seeds.
Pumpkin x_farming:seed_pumpkin Wet Soil 8 Stem regrows fruit. Shear any face for 4 seeds + 2 Pumpkin Mash (eaten raw, soup, pies). Light for Jack-o-Lanterns.
Corn x_farming:seed_corn Wet Soil 10 Yields corn cobs; roast over fire, pop into popcorn tubs, or bake cornbread and tortillas.
Coffee x_farming:seed_coffee Wet Soil 5 Yields beans; brew cold/hot coffee, iced coffee (speed boost), mocha, or coffee cake.
Cocoa x_farming:cocoa_bean Jungle Wood 3 Vertical farming: plant on jungle trunks. Yields cocoa for chocolate, cookies, donuts.
Barley x_farming:seed_barley Wet Soil 8 Cereal grain; milled into flour and baked into bread.
Rice x_farming:seed_rice Wet/Flooded 8 Wetland crop; craftable into steamed rice, sushi maki, and sushi nigiri.
Soybean x_farming:seed_soybean Wet Soil 7 Extracted into soymilk and cooked into drinkable Soymilk Bottles.
Stevia x_farming:seed_stevia Wet Soil 8 Natural sweetener; sugar alternative in baking.
Strawberry x_farming:seed_strawberry Wet Soil 4 Eaten raw, baked into artisan pies, cooked into jam, or chocolate strawberries.
Cotton x_farming:seed_cotton Wet Soil 8 Yields cotton and string for ropes, safety nets, medical bandages, and canvas blocks.
Obsidian Wart x_farming:obsidian_wart Obsidian Soil 6 Dark farming: grows in complete darkness. Craft Wart Bricks, Wart Blocks, and Wartrack.

Interactive Appliances & Utilities

The Rustic Stove

Place up to 6 cookable food items onto the stove surface. Items render in 3D in real time! Light with a torch or flint and steel. Extinguish with any shovel or let it cool down automatically.

Solar Drying Rack

Zero-fuel outdoor dehydrator displaying up to 6 items in 3D under sunlight:

  • Raw Fish -> Dried Fish (high protein, long shelf life).
  • Kelp / Seaweed -> Dried Nori (crisp sheets for Sushi Maki).
  • Fruits / Berries / Pumpkin -> Dried Fruit (portable sweet snack).

Watering Can & Walkable Troughs

  • Watering Can: Hydrating crops advances growth stage once per day (green sparkles + chimes). Directly wets tilled soil. Uses only consumed when effective.
  • Irrigation Trough: Wooden aqueduct maintaining all surrounding soil wet within 3-4 blocks. Walkable collision-box eliminates hazardous open trench pits.

Replanting Sickles

4 tiers: Wooden (30 uses), Stone (70 uses), Steel (200 uses), Diamond (800 uses, 3x3 harvest). Automatically harvests and replants stage 1 crops using dropped seeds or inventory. Premature crops are safe from accidental harvesting.

Composter & Bonemeal

Recycle organic waste, leaves, and seeds into pure Bonemeal. Right-click/place bonemeal on crops to advance growth stages without risk of digging crops, or enrich soil.

Protective Scarecrow

Crafted with wooden sticks, pillows, and a carved pumpkin. Right-click with bonemeal to activate a 5-node crop growth aura and pacify aggressive bee swarms.

Storage Crates & Bags

Placeable single-stack storage for raw crops and fish. Retains inventory and renders the stored item texture on the crate front face when placed.

Biome Ice Fishing & Utility Buffs

Drill into frozen water with the Ice Auger, deploy rigs, and catch 50+ fish species, cephalopods, and treasures. Eating catches grants short-term utility buffs:

  • Speed Boost (Electric Eel, Barracuda, Swordfish): +30–40% movement speed.
  • Jump Boost (Flying Fish, Grass Carp, Mudskipper): +35–45% jump height.
  • Water Breathing (Pearl Isopod, Moray Eel, Pufferfish): replenishes and preserves oxygen underwater.
  • Night Vision (Anglerfish, Diamond Angler): boosts visibility in deep water and dark caverns.
  • Feather Fall (Manta Ray, Ghost Fish): reduces gravity and fall damage for safe descents.
  • Magma Regeneration (Magma Slimefish, Magma Guppy): grants heat healing (+5 to +8 HP) in extreme warmth.
  • Vitality / Health Regeneration (True Goldfish, Golden Salmon, Celestial Pearl): restores hearts over time. Integrates with playerphysics, playereffects, mcl_potions, and engine overrides.

Beeswax Candles & Animated Flames

Handcraft candles in 16 standard dye colors from domestic beeswax. Features a lively 8-frame flickering animated flame texture (x_farming_candle_flame_animated.png) with torch lighting and punch extinguishing.


Apiculture (Bees & Honey)

  • Naturally spawning wild beehives with animated 3D bees and fluttering wings.
  • Capture bees using an Empty Glass Jar (x_farming:jar_empty) and populate domestic wooden beehives.
  • Bees pollinate nearby crops during daylight, accelerating growth.
  • Harvest Honey Bottles (cures poison) or Honeycomb with Shears or a Honeycomb Saw.

Configuration Reference

Configure via Settings -> All Settings -> Mods -> x_farming or in luanti.conf:

# Deduplication mode: "both" (default), "game" (fallback), or "x_farming"
x_farming_deduplication_mode = both

# Granular deduplication toggles
x_farming_dedup_crops = true
x_farming_dedup_cotton = true
x_farming_dedup_food = true
x_farming_dedup_pillows = false
x_farming_dedup_cactus = false

# Toggle ice fishing system and media
x_farming_enable_ice_fishing = true

Developer API

Hook into X Farming from other mods:

-- Register composter items
core.override_item("mymod:plant_cutting", { groups = { compost = 65 } })

-- Register sapling bonemeal growth
x_farming.x_bonemeal:register_tree_defs({
    { name = "mymod:sapling", chance = 2, grow_tree = function(pos) ... return true end }
})

-- Register solar drying recipes
x_farming.register_drying("mymod:raw_mango", "x_farming:dried_fruit", 20)

-- Register additional crate items
x_farming.allowed_crate_items["mymod:blueberry"] = true