Skip to content
SomeRandomGameDev edited this page May 20, 2012 · 2 revisions

Creation

A farmer can be created from a villager by right-click on it with a wheat.

Screenshot needed

Interaction

Right-clicking on a farmer with a stick allows displaying informations in the form of a personal message. Wheat/Melon/Pumpkin seeds and sugar cane can be given to a farmer. Hoes and axes can be provided to a farmer too.

Behaviour

General

A farmer will periodically scans its surrounding and analyses the possible actions. The actions are partially determined by markers. Some actions need tools to be performed.

Marking

This marking concept consists in placing certain type of block to characterize a scanned column. For example, a gravel block will signal the farmer that the dirt/grass block above it can be transformed into soil and seeded with wheat.

Markers

  • gravel: dirt/grass blocks above can be transformed to soil (if needed) and seeded with wheat.
  • cobblestone: dirt/grass blocks above can be transformed to soil (if needed) and seeded with melon seed (a stem is produced).
  • stone brick: Same as cobblestone but with pumpkin.
  • sand stone: If needed, a sugar cane block will be put on available dirt/grass/sand block above.
  • wood: Birch trees above this marker can be cut. If a dirt/grass block is available and the farmer has saplings, a sapling will be planted on it.

Screenshot needed

Chest inspection

A farmer can gather tools (if needed) such as hoes and axes. If it has less than 64 birch sapling, wheat/melon/pumpkin seeds, it will take the one available from the chest. A farmer will deposit all its products (if there is enough room) such as wheat, melon slices, pumpkins, sugar canes and wood logs.

Harvest

Mature wheat crops are harvested and re-seeded (no matter the marking). Melon and pumpkin are harvested as well. Sugar cane plants are collected as long as they are more than one block heigh. At least one block of sugar cane is left.

Screenshot needed

Wood cutting

Bird trees can be cut given that the farmer has been equipped with an axe and if the tree has been 'marked' (however, a lumberjack can ignore markings - see below).

Seeding

Using markers, a farmer can transform dirt/grass to soil and plant specific seeds using an hoe.

Plant

Using markers, a farmer can plant sapling on a dirt/grass block or sugar cane on dirt/grass/sand.

Seeder

To specialize a farmer into a seeder, right-click on it with a wheat.

Screenshot needed

A seeder will transform grass and dirt into soil and plant wheat seeds on it without taking markers into account. A seeder can be reverted back to a farmer by right-clicking on it with a wheat again.

Lumberjack

To specialize a farmer into a lumberjack, right-click on it with a sapling (any kind of sapling).

Screenshot needed

A lumberjack will cut any encountered birch trees, even they aren't marked. It can be turned back to a regular farmer by right-clicking on it with a sapling.

Clone this wiki locally