    001    package net.minecraft.src;
    002
    003    public class MapGenMineshaft extends MapGenStructure
    004    {
    005        protected boolean canSpawnStructureAtCoords(int par1, int par2)
    006        {
    007            return this.rand.nextInt(100) == 0 && this.rand.nextInt(80) < Math.max(Math.abs(par1), Math.abs(par2));
    008        }
    009
    010        protected StructureStart getStructureStart(int par1, int par2)
    011        {
    012            return new StructureMineshaftStart(this.worldObj, this.rand, par1, par2);
    013        }
    014    }