Create/src/main/java/com/simibubi/create/ResourceReloadHandler.java
simibubi da27a63447 Family reunion
- Mechanical Bearings now use Contraption Entities for their structures
- Fixed Mounted Contraptions being slightly offset
2019-12-07 00:07:49 +01:00

22 lines
606 B
Java

package com.simibubi.create;
import com.simibubi.create.foundation.block.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();
}
}