Package digi.recipeManager.Metrics

Examples of digi.recipeManager.Metrics.Graph.addPlotter()


     
      // Graph for total recipes
     
      Graph graph = metrics.createGraph("Custom recipes");
     
      graph.addPlotter(new Metrics.Plotter("Craft recipes")
      {
        @Override
        public int getValue()
        {
          return recipes.getCraftRecipes().size();
View Full Code Here


        {
          return recipes.getCraftRecipes().size();
        }
      });
     
      graph.addPlotter(new Metrics.Plotter("Combine recipes")
      {
        @Override
        public int getValue()
        {
          return recipes.getCombineRecipes().size();
View Full Code Here

        {
          return recipes.getCombineRecipes().size();
        }
      });
     
      graph.addPlotter(new Metrics.Plotter("Smelt recipes")
      {
        @Override
        public int getValue()
        {
          return recipes.getSmeltRecipes().size();
View Full Code Here

        {
          return recipes.getSmeltRecipes().size();
        }
      });
     
      graph.addPlotter(new Metrics.Plotter("Fuels")
      {
        @Override
        public int getValue()
        {
          return recipes.getFuels().size();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.