{
metrics = new Metrics();
// 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();
}
});
graph.addPlotter(new Metrics.Plotter("Combine recipes")
{
@Override
public int getValue()
{
return recipes.getCombineRecipes().size();
}
});
graph.addPlotter(new Metrics.Plotter("Smelt recipes")
{
@Override
public int getValue()
{
return recipes.getSmeltRecipes().size();
}
});
graph.addPlotter(new Metrics.Plotter("Fuels")
{
@Override
public int getValue()
{
return recipes.getFuels().size();