package com.gameminers.farrago.enums;

import net.minecraft.init.Blocks;
import net.minecraft.init.Items;

import com.gameminers.farrago.selector.ItemSelector;
import com.gameminers.farrago.selector.NullSelector;
import com.gameminers.farrago.selector.OreSelector;
import com.gameminers.farrago.selector.Selector;

public enum MineralColor {
	// Special Types
	GLASS	(new OreSelector("blockGlass"), 		0xDDDDFF, 800, "Glass [Potions]"),
	POTATO	(new ItemSelector(Items.potato), 		0xEDC77C, 300, "Potato [Spud]"),
	GLOW	(new OreSelector("glowstone"), 			0xF2CF21, 2400, "Glowstone [Torches]"),
	OBSIDIAN(new OreSelector("ingotObsidian",
			 new ItemSelector(Blocks.obsidian)), 	0x1E001B, 1200, "Obsidian [Rocket]"),
	
	// Regular Tiers
	LEAD	(new OreSelector("lead"), 				0x3F3C51, 120, "Lead"),
	STONE	(new OreSelector("cobblestone"), 		0x898989, 130, "Stone"),
	COAL	(new OreSelector("coal",
			 new ItemSelector(Items.coal)), 		0x454545, 180, "Coal"),
	LAPIS	(new OreSelector("gemLapis"), 			0x1846B2, 200, "Lapis Lazuli"),
	ALUMINUM(new OreSelector("ingotAluminum",
			 new OreSelector("ingotAluminium")),	0xEEEEEE, 225, "Aluminum"),
	TIN		(new OreSelector("ingotTin"), 			0xDDDDEE, 225, "Tin"),
	QUARTZ	(new OreSelector("gemQuartz"), 			0xDACEC1, 200, "Nether Quartz"),
	COPPER	(new OreSelector("ingotCopper"), 		0x9F4710, 225, "Copper"),
	IRON	(new OreSelector("ingotIron"), 			0xD8AF93, 250, "Iron"),
	SILVER	(new OreSelector("ingotSilver"), 		0xD8AF93, 280, "Silver"),
	GOLD	(new OreSelector("ingotGold"), 			0xFCEE4B, 300, "Gold [Mobs]"),
	YTTRIUM (new OreSelector("ingotYttrium"), 		0xB1B1B1, 320, "Yttrium [Mobs]"),
	STEEL	(new OreSelector("ingotSteel"), 		0x888888, 350, "Steel [Mobs]"),
	EMERALD	(new OreSelector("gemEmerald"), 		0x17DD62, 450, "Emerald [Mobs]"),
	SYTTRIUM(new OreSelector("ingotYttriumSteel"), 	0x9D9D9D, 600, "Yttric Steel [Mobs]"),
	DIAMOND	(new OreSelector("gemDiamond"), 		0x5DECF5, 850, "Diamond [Mobs]"),
	
	// Predictable Tiers
	ENDER	(new OreSelector("enderPearl",
			 new ItemSelector(Items.ender_pearl)), 	0x258474, 200, "Ender Pearl [Mobs, Predictable]"),
	PLATINUM(new OreSelector("ingotPlatinum"), 		0x67D4F6, 450, "Platinum [Mobs, Predictable]"),
	IRIDIUM (new OreSelector("ingotIridium"), 		0xAAAAAA, 650, "Iridium [Mobs, Predictable]"),
	CREATIVE(new NullSelector(),					0xFF00FF,32767,"Creative [Mobs, Predictable, Virtually Indestructible]"),
	;
	private final Selector selector;
	private final int color;
	private final String friendlyName;
	private final int durability;
	private MineralColor(Selector selector, int color, int durability, String friendlyName) {
		this.selector = selector;
		this.color = color;
		this.friendlyName = friendlyName;
		this.durability = durability;
	}
	
	public Selector getSelector() {
		return selector;
	}
	public int getColor() {
		return color;
	}
	public String getFriendlyName() {
		return friendlyName;
	}
	public int getDurability() {
		return durability;
	}
}

@@ -1444,22 +1444,22 @@
 %22), %09%090x
-D8AF93
+CCD8E6
 , 280, %22
@@ -1772,96 +1772,8 @@
 %22),%0A
-%09SYTTRIUM(new OreSelector(%22ingotYttriumSteel%22), %090x9D9D9D, 600, %22Yttric Steel %5BMobs%5D%22),%0A
 %09DIA

Fix color of silver kahur pump, remove Yttric Steel pump