private ItemStack parseItem(String item){
	    String[] splits = item.split(" ");
	    String items = splits[0];
	    String[] spliti = items.split("\\|");
	    int itemid = 0;
	    int amount = 1;
	    short damage = 1;
	    int percentage = 0;
	
	    int enchantmentlevel = 1;
	
	    ItemStack itemstack = null;
	    itemid = Integer.parseInt(spliti[0]);
	    amount = Integer.parseInt(spliti[1]);
	    damage = Short.parseShort(spliti[2]);
	    percentage = Integer.parseInt(spliti[3]);
	
	    Integer rnd = Integer.valueOf(0 + (int)(Math.random() * 101.0D));
	    if (percentage > rnd.intValue()) {
	    	itemstack = new ItemStack(itemid, amount);
	    	itemstack.setDurability(damage);
	    	try{
	    		String[] alle = splits;
	    		boolean first = true;
	    		for (String s : alle){
	    			if (!first) {        	  
	    				try{
	    					String[] splite = s.split("~");
	    					int enchantmentid = Integer.parseInt(splite[0]);
	    					enchantmentlevel = Integer.parseInt(splite[1]);
	    					itemstack.addEnchantment(Enchantment.getById(enchantmentid), enchantmentlevel);
	    				}catch(Exception e){
	    					ItemMeta im = itemstack.getItemMeta();	
	    					String n = s.trim().replaceAll("&@", " ");
	    					im.setDisplayName(n);
	    					itemstack.setItemMeta(im);
	    				}
	        	  
	    			} else {
	    				first = false;
	    			}
	    		} 
	    		this.ChosenItems += 1;
	    	}catch (Exception localException) {	    	  
    		}
	    	
	    }
	    return itemstack;
	}