SpoutDev/Vanilla — pull request #109 by DDoSQc (2012-03-25 18:51:14+00:00)
Title: Mushroom and huge mushroom generation code

I'm still working on the populate method. I've made the generation code flexible, so size parameters can be modified and the mushrooms will keep correct shape and metadata, and new mushroom types can easily be added. Since metadata doesn't yet work on Spout, I test it it on CraftBukkit.
I'm using world instead of chunk parameters for generation since a mushroom on the edge of a chunk can have blocks outside of it, which currently aren't being placed properly. This code also works for generating huge mushrooms by bonemeal using on small mushrooms.

Signed-off-by: Aleksi Sapon