Package digi.recipeManager.data

Examples of digi.recipeManager.data.Recipe


    String fileName = file.getPath().replace(RecipeManager.plugin.getDataFolder().getPath() + "\\", "");
   
    log.fine("Loading '" + fileName + "' file...");
   
    BufferedReader reader = new BufferedReader(new InputStreamReader(new DataInputStream(new FileInputStream(file))));
    Recipe recipeData = new Recipe();
    String[] error;
    String line;
    currentFile = fileName;
    currentFileLine = -1; // one line behind to be more human friendly
   
View Full Code Here


      });
    }
   
    sender.sendMessage(" "); // empty line.
   
    Recipe r;
    int start = (page * perPage);
    int end = (start + perPage);
   
    for(int i = start; i < end; i++)
    {
      if(i >= recipesNum)
        break;
     
      r = recipes.get(i);
     
      if(r.getPermission() != null && !sender.hasPermission(r.getPermission().getValue()))
        continue;
     
      if(sender instanceof Player && !r.isUsableInWorld(((Player)sender).getWorld().getName()))
        continue;
     
      Messages.printMessage(sender, r.print());
     
      // TODO: finish these
     
      /*
      if(r.minExp > 0 || r.maxExp > 0 || r.minLevel > 0 || r.maxLevel > 0 || r.minMoney > 0 || r.maxMoney > 0)
View Full Code Here

TOP

Related Classes of digi.recipeManager.data.Recipe

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.