use of binnie.core.gui.resource.stylesheet.StyleSheetManager in project Binnie by ForestryMC.
the class BinnieProxyClient method preInit.
@Override
public void preInit() {
final IResourceManager manager = Minecraft.getMinecraft().getResourceManager();
if (manager instanceof IReloadableResourceManager) {
IReloadableResourceManager resourceManager = (IReloadableResourceManager) manager;
resourceManager.registerReloadListener(new StyleSheetManager());
resourceManager.registerReloadListener(resourceManager1 -> I18N.onResourceReload());
}
}
Aggregations