Search in sources :

Example 1 with TextureManagerForestry

use of forestry.core.render.TextureManagerForestry in project ForestryMC by ForestryMC.

the class ProxyRenderClient method initRendering.

@Override
public void initRendering() {
    TextureManagerForestry textureManagerForestry = TextureManagerForestry.getInstance();
    TextureMapForestry textureMap = textureManagerForestry.getTextureMap();
    Minecraft minecraft = Minecraft.getMinecraft();
    minecraft.renderEngine.loadTickableTexture(TextureManagerForestry.getInstance().getGuiTextureMap(), textureMap);
}
Also used : TextureMapForestry(forestry.core.render.TextureMapForestry) Minecraft(net.minecraft.client.Minecraft) TextureManagerForestry(forestry.core.render.TextureManagerForestry)

Aggregations

TextureManagerForestry (forestry.core.render.TextureManagerForestry)1 TextureMapForestry (forestry.core.render.TextureMapForestry)1 Minecraft (net.minecraft.client.Minecraft)1