top.hendrixshen.magiclib.impl.malilib.debug.MagicLibDebugHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-malilib-extra-1.19.2-fabric Show documentation
Show all versions of magiclib-malilib-extra-1.19.2-fabric Show documentation
Unleash Magic Enhancement Malilib.
package top.hendrixshen.magiclib.impl.malilib.debug;
import top.hendrixshen.magiclib.impl.malilib.SharedConstants;
import top.hendrixshen.magiclib.impl.malilib.config.GlobalConfigManager;
public class MagicLibDebugHelper {
public static void resetAllConfigStatistic() {
GlobalConfigManager.getInstance().getAllContainers().forEach(configContainer ->
configContainer.getStatistic().reset());
}
public static void resetMagicLibConfigStatistic() {
SharedConstants.getConfigManager().getAllContainers().forEach(configContainer ->
configContainer.getStatistic().reset());
}
}