mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 22:06:09 +01:00
a91360a7b9
- goggle overlays now use a localized number format - minor changes to the layout of the ponder index screen
24 lines
790 B
Java
24 lines
790 B
Java
package com.simibubi.create.foundation;
|
|
|
|
import com.simibubi.create.CreateClient;
|
|
import com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation;
|
|
import com.simibubi.create.foundation.block.render.SpriteShifter;
|
|
import net.minecraft.client.resources.ReloadListener;
|
|
import net.minecraft.profiler.IProfiler;
|
|
import net.minecraft.resources.IResourceManager;
|
|
|
|
public class ResourceReloadHandler extends ReloadListener<Object> {
|
|
|
|
@Override
|
|
protected Object prepare(IResourceManager resourceManagerIn, IProfiler profilerIn) {
|
|
return new Object();
|
|
}
|
|
|
|
@Override
|
|
protected void apply(Object $, IResourceManager resourceManagerIn, IProfiler profilerIn) {
|
|
SpriteShifter.reloadUVs();
|
|
CreateClient.invalidateRenderers();
|
|
IHaveGoggleInformation.numberFormat.update();
|
|
}
|
|
|
|
}
|