// When you update this method, also check the Forge class!
try
{
Metrics metrics = new Metrics(plugin);
Graph usedBiomeModesGraph = metrics.createGraph("Biome modes used");
usedBiomeModesGraph.addPlotter(new Metrics.Plotter("Normal")
{
@Override
public int getValue()
{
return normalMode;
}
});
usedBiomeModesGraph.addPlotter(new Metrics.Plotter("FromImage")
{
@Override
public int getValue()
{
return fromImageMode;
}
});
usedBiomeModesGraph.addPlotter(new Metrics.Plotter("Default")
{
@Override
public int getValue()
{
return vanillaMode;
}
});
usedBiomeModesGraph.addPlotter(new Metrics.Plotter("OldGenerator")
{
@Override
public int getValue()
{
return oldBiomeMode;
}
});
usedBiomeModesGraph.addPlotter(new Metrics.Plotter("Custom / Unknown")
{
@Override
public int getValue()
{
return customMode;