public Item getItem(String type, int tier){
		switch(type){
		case "random":
			return randomItem(tier);
		case "weapon":
			return randomWeapon(tier);
		case "armor":
			return randomArmor(tier);
		case "trinket":
			return randomTrinket(tier);
		case "consumable":
			return randomConsumable(tier);
		case "loot":
			return randomLoot(tier);
		}

		return null;
	}