876877878879880881882883884885886
BufferedImage img = ImageIO.read(file0); if (img != null) { ClientProxyCore.overworldTextureClient = new DynamicTexture(img); } } else { System.err.println("Cannot read/write to file %minecraftDir%/assets/temp/overworld.png");
2829303132333435
colorMap = new int[iWidth * iHeight]; } @SideOnly(Side.CLIENT) public void createDynamicTexture() { dynamicTexture = new DynamicTexture(width, height); colorMap = dynamicTexture.getTextureData(); }
174175176177178179180181182183184
logo = ImageIO.read(logoResource); } } if (logo != null) { cachedLogo = tm.getDynamicTextureLocation("modlogo", new DynamicTexture(logo)); cachedLogoDimensions = new Dimension(logo.getWidth(), logo.getHeight()); } } if (cachedLogo != null) {