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