    001    package net.minecraft.src;
    002
    003    import java.util.Random;
    004
    005    public class StructureScatteredFeatureStart extends StructureStart
    006    {
    007        public StructureScatteredFeatureStart(World par1World, Random par2Random, int par3, int par4)
    008        {
    009            BiomeGenBase var5 = par1World.getBiomeGenForCoords(par3 * 16 + 8, par4 * 16 + 8);
    010
    011            if (var5 != BiomeGenBase.jungle && var5 != BiomeGenBase.jungleHills)
    012            {
    013                if (var5 == BiomeGenBase.swampland)
    014                {
    015                    ComponentScatteredFeatureSwampHut var8 = new ComponentScatteredFeatureSwampHut(par2Random, par3 * 16, par4 * 16);
    016                    this.components.add(var8);
    017                }
    018                else
    019                {
    020                    ComponentScatteredFeatureDesertPyramid var7 = new ComponentScatteredFeatureDesertPyramid(par2Random, par3 * 16, par4 * 16);
    021                    this.components.add(var7);
    022                }
    023            }
    024            else
    025            {
    026                ComponentScatteredFeatureJunglePyramid var6 = new ComponentScatteredFeatureJunglePyramid(par2Random, par3 * 16, par4 * 16);
    027                this.components.add(var6);
    028            }
    029
    030            this.updateBoundingBox();
    031        }
    032    }