@Override
public void initTexAtlas() {
Minecraft mc = Minecraft.getMinecraft();
toolTexAtlas = new TextureMap("textures/tools", new IIconCreator()
{
public void registerSprites(TextureMap map)
{
for (ToolPage page : WigMod.Pages) {
for (Tool tool : page) {
tool.registerIcons(map, false);
}
}
for (ToolPage page : WigMod.Pages) {
for (Tool tool : page) {
tool.registerIcons(map, true);
}
}
}
}, false);
toolTexAtlas.setMipmapLevels(mc.gameSettings.mipmapLevels);
mc.renderEngine.loadTickableTexture(WigMod.ToolAtlas, toolTexAtlas);
toolTexAtlas.setBlurMipmapDirect(true, mc.gameSettings.mipmapLevels > 0);
}
ClientProxy.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:wig
作者:
评论列表
文章目录