Package net.mcft.copy.betterstorage.client.model

Examples of net.mcft.copy.betterstorage.client.model.ModelBackpack.renderAll()


    int renderPasses = item.getRenderPasses(0);
    for (int pass = 0; pass < renderPasses; pass++) {
      String type = ((pass == 0) ? null : "overlay");
      bindTexture(new ResourceLocation(item.getArmorTexture(stack, null, 0, type)));
      RenderUtils.setColorFromInt(item.getColorFromItemStack(stack, pass));
      backpackModel.renderAll();
    }
   
    if ((backpack.stack != null) &&
        (backpack.stack.isItemEnchanted())) {
      float f9 = (backpack.ticksExisted + partialTicks) / 3;
View Full Code Here


        float f13 = 0.33333334F;
        GL11.glScalef(f13, f13, f13);
        GL11.glRotatef(30.0F - k * 60.0F, 0.0F, 0.0F, 1.0F);
        GL11.glTranslatef(0.0F, f12, 0.0F);
        GL11.glMatrixMode(GL11.GL_MODELVIEW);
        backpackModel.renderAll();
      }
      GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
      GL11.glMatrixMode(GL11.GL_TEXTURE);
      GL11.glDisable(GL11.GL_POLYGON_OFFSET_FILL);
      GL11.glPolygonOffset(0.0F, 0.0F);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.