    001    package net.minecraft.src;
    002
    003    import net.minecraft.server.MinecraftServer;
    004
    005    public class BehaviorEggDispense extends BehaviorProjectileDispense
    006    {
    007        final MinecraftServer mcServer;
    008
    009        public BehaviorEggDispense(MinecraftServer par1MinecraftServer)
    010        {
    011            this.mcServer = par1MinecraftServer;
    012        }
    013
    014        /**
    015         * Return the projectile entity spawned by this dispense behavior.
    016         */
    017        protected IProjectile getProjectileEntity(World par1World, IPosition par2IPosition)
    018        {
    019            return new EntityEgg(par1World, par2IPosition.getX(), par2IPosition.getY(), par2IPosition.getZ());
    020        }
    021    }