//This document is Copyright (2011) and is the intellectual property of the author.
//It may not be reproduced under any circumstances except for personal, private use 
//as long as it remains in its unaltered, unedited form. It may not be placed on any
//web site or otherwise distributed publicly without advance written permission. 
//Use of this mod on any other website is strictly prohibited, and a violation of copyright.
//Note: I DO NOT grant redistribution rights to this mod to anyone that asks, whether 
//that be for a mod-pack or whatever. Don't bother asking, as it won't happen.

INSTALLATION:
	- install modloader (http://www.minecraftforum.net/viewtopic.php?f=25&t=80246)
	- add all the files into minecraft.jar

CONFIGURATION:
By default the detector will be displayed.
The searched materials are Diamond and Iron.
To change the zoom level, you can use the B key.
To switch between materials, you can use the N key.
To filter the distance, you can use the V key.
To switch between the horizontal and vertical mapping, you can use the H key.

In order to change this configuration, you can create in the folder %appdata%\.minecraft a file named EllianDetector.settings.
It can contains the following properties:
ZoomKey: equals to the key that you want to map with the zoom level switch
MaterialKey: equals to the key that you want to map with the material switch
DistanceKey: equals to the key that you want to map with the filter on the distance
Distance: equals to the value of  distance filter that you want to apply
Bigger: equals to the size of the detector (1 default, 1.5 bigger for wide screens for example) 
DirectionKey: equals to the key that you want to map to switch between the horizontal and vertical mapping
Timer: equals to the value of the refresh frequency (by default 20000)
Position: equals to (RIGHT_MIDDLE, RIGHT_TOP, RIGHT_BOTTOM, LEFT_MIDDLE, LEFT_TOP, LEFT_BOTTOM, CENTER_TOP) to set the 
	position of the detector
Threading: if true, the materials detection is run in a dedicated thread

Followed by the list of materials that you want to display in the form (be sure to put the material name without any space)
<Material Name>=<Material code>

The material code can be found here: http://www.minecraftwiki.net/wiki/Data_Values 

sample of configuration file:
ZoomKey=B
MaterialKey=N
Diamond=56
Iron=15

The blocks color is defined by default but you can change them modifying the value of the color in the file
 %appdata%\.minecraft\materialsColours.txt.
 The file contains all the block with their code and color:
 Extract:
Block:11:d96514
Block:12:ddd7a0
Block:13:747474
Block:14:fefb5d
Block:15:e9e9e9
You can simply change the last 6 characters which are corresponding to a color.
