Added a texture preloader to avoid render glitches on the first render.
This commit is contained in:
parent
f54eecb455
commit
6accd6dfee
1 changed files with 5 additions and 0 deletions
|
@ -23,4 +23,9 @@ public class MinecraftForgeClient {
|
|||
public static void unbindTexture() {
|
||||
ForgeHooksClient.unbindTexture();
|
||||
}
|
||||
|
||||
public static void preloadTexture(String texture) {
|
||||
ModLoader.getMinecraftInstance().renderEngine
|
||||
.getTexture(texture);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue