Cactus Farm
Beginner Java + Bedrock
Produces: Cactus for green dye and smelting XP (1 XP per smelt in Java, the highest of any farmable block; 0.2 in Bedrock)
Quick answer: Cactus grows on sand with zero light and zero water, and it breaks itself when a block sits next to it - so a fence post at the right height makes every new segment harvest itself. Fully automatic, no bone meal needed (bone meal does not even work on cactus).
How it works
- Cactus grows only on sand, red sand, suspicious sand or another cactus - no light, no water, no bone meal. It adds one block every 16 random ticks, about 18 minutes on average, up to 3 blocks tall naturally.
- The self-harvest rule: a cactus breaks and drops as an item the moment any solid block occupies a space beside it - a fence, string or sign at the third level breaks every new growth instantly.
- Watch the drops: a cactus block destroys any item entity that touches it, including cactus items - collection hoppers must sit where drops cannot brush a cactus.
- Smelting cactus gives green dye and, in Java, 1 XP per operation - the highest smelting XP of any farmable block. Big furnace arrays fed by cactus farms are classic XP banks: smelt all day, empty one furnace by hand, and levels pour out.
- Cactus flowers (10% chance at 1-2 blocks tall, 25% at 3+) stop the cactus growing until removed - a bonus crop, not a problem, in automated designs that break growth anyway.
Materials
- Sand or red sand, one per cactus
- Cactus starters from any desert or badlands
- Fences, string, signs or trapdoors for the break layer
- Hoppers and chests placed clear of the cactus hitboxes
- Furnace array + fuel for the XP bank (optional)
Build steps
- Pick the layout: rows of sand with cactus planted one block apart diagonally (they cannot touch), in a grid as dense as your space allows.
- Set the break layer: a fence or string line at the height where the third block would grow - every new segment breaks itself the tick it appears.
- Protect the drops: leave a full air gap between the cactus and any water channel or hopper - items that touch a cactus are destroyed.
- Collect below: hoppers under the sand rows (or water streams leading to one) feed chests.
- Scale wide, not tall: more plants beat more height - each cactus tops out at 3 blocks and only grows on its own random ticks.
- Feed the XP bank: pipe cactus into a furnace array with any fuel, let it run, then pull a stack out by hand to cash the stored XP.
- Harvest flowers by hand if you want them - the farm's broken growth never gives the plant time to flower anyway.
- Go AFK anywhere in range: cactus grows on random ticks in loaded chunks, no player proximity required.
Rates
Each cactus averages one new block every ~18 minutes, so rates scale purely with plant count - a few dozen plants with a furnace array bank noticeable XP per day in Java, plus stacks of green dye.
Tips
- Never let collection water touch a cactus side - one sloppy stream eats your entire output.
- Badlands count too: red sand works exactly like sand for planting.
- A cactus by your storage wall doubles as a trash can - throw junk at it and the items are destroyed safely.
- Cactus gives the highest smelting XP of any farmable block in Java, so a furnace array doubles as an XP source.