mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
7ff524f616
Swapping dev environment, this snapshot does not launch
23 lines
613 B
Java
23 lines
613 B
Java
package com.simibubi.create;
|
|
|
|
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<String> {
|
|
|
|
@Override
|
|
protected String prepare(IResourceManager resourceManagerIn, IProfiler profilerIn) {
|
|
return "";
|
|
}
|
|
|
|
@Override
|
|
protected void apply(String splashList, IResourceManager resourceManagerIn, IProfiler profilerIn) {
|
|
SpriteShifter.reloadUVs();
|
|
CreateClient.bufferCache.invalidate();
|
|
}
|
|
|
|
}
|