public void randomState()
    {
       Random rand = new Random();
       int index = rand.nextInt(5);
       this.clearLore();
       int copy = index;
       HashMap<String,Integer> map = new HashMap<String, Integer>();
       for(Map.Entry<String,Sender> entry : Main.map.entrySet()){
           
           if(entry.getValue().allow(item.getTypeId())) {
               System.out.print("allow");
               if (rand.nextInt(10) > copy)
                   
                   map.put(entry.getKey(), entry.getValue().random());
           }
       }
       for(Map.Entry<String,Integer> en : map.entrySet()){
           if(index--<0) break;
               
               this.setLevel(en.getKey(),en.getValue());

       }
       addString("打孔口");
    }