Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does planting a sapling on Farmland or or Damp Farmland help it grow into a bigger tree, or grow faster?

Sapling on farmland

share|improve this question
I don't quite think so, but I have no way to actually deny this – badp Oct 4 '11 at 11:10
I don't think so either, but it would involve looking at the code for sapling growth to be certain. – fredley Oct 4 '11 at 11:14
From anecdotal evidence, saplings on farmland don't grow at all, though this was rather a long time ago and could've been an SMP quirk. – a cat Oct 4 '11 at 14:03
up vote 13 down vote accepted


public void growTree(World world, int i, int j, int k, Random random)
        int l = world.getBlockMetadata(i, j, k) & 3;
        world.setBlock(i, j, k, 0);
        Object obj = null;
        if(l == 1)
            obj = new WorldGenTaiga2();
        } else
        if(l == 2)
            obj = new WorldGenForest();
        } else
            obj = new WorldGenTrees();
            if(random.nextInt(10) == 0)
                obj = new WorldGenBigTree();
        if(!((WorldGenerator) (obj)).generate(world, random, i, j, k))
            world.setBlockAndMetadata(i, j, k, blockID, l);

There is no reference to the block the sapling is planted on.

(While world.getBlockMetaData(i, j, k) looks suspicious, it is simply looking up what kind of tree the sapling should grow — pine, birch, or "normal".)

share|improve this answer
So can I plant saplings on cobblestone or obsidian or something goofy like that, and they'll grow? – Doktor J Oct 7 '11 at 16:36
@DoktorJ IIRC, it won't let you plant saplings on anything except dirt and farmland. This code just grows a planted sapling, it doesn't determine where you can and cannot plant them. But, if you could plant it there, yes it would grow. – John the Green Oct 7 '11 at 16:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.