Skip to content

Blacksmith

SomeRandomGameDev edited this page Jun 10, 2012 · 2 revisions

Creation

A blacksmith can be created from a villager by right-click on it with an iron ingot.

Screenshot needed

Interaction

Right-clicking on a blacksmith with a stick allows displaying information in the form of a personal message. Interacting using a gold pickaxe switches on and off the mining ability of the blacksmith.

Behaviour

Furnaces

A blacksmith will scan its surrounding to list available (not burning) furnaces and chests. First, it will transfer furnaces products to chests. Then it will check furnaces for material or fuel refill. If a furnace is 'free', the blacksmith will look for items to smelt in available chests.

Mining

If a blacksmith is set as a miner, it will nearby chests for stone and/or iron pickaxes, taking only one at a time. If it encounters an iron block and if there's at least one chest with a free slot nearby, it checks below the iron block if there's something to mine. It always mines top-down and the highest column. If it encounters a non-valid block, it stops mining the column. It can only mine at a certain speed determined by the blacksmith.miningcooldown configuration key. The result of the mining is stored in the chest.

Clone this wiki locally