Examples of func_152342_ad()


Examples of net.minecraft.client.Minecraft.func_152342_ad()

  public void render(TileEntitySkull skull, float par1, float par2, float par3, int par4, float par5, int par6, GameProfile gameProfile) {
    if (par6 == 3) {
      ResourceLocation resourcelocation = AbstractClientPlayer.locationStevePng;
      if (gameProfile != null) {
        Minecraft minecraft = Minecraft.getMinecraft();
        Map map = minecraft.func_152342_ad().func_152788_a(gameProfile);

        if (map.containsKey(MinecraftProfileTexture.Type.SKIN)) {
          resourcelocation = minecraft.func_152342_ad().func_152792_a((MinecraftProfileTexture)map.get(MinecraftProfileTexture.Type.SKIN), MinecraftProfileTexture.Type.SKIN);
        }
      }
View Full Code Here

Examples of net.minecraft.client.Minecraft.func_152342_ad()

      if (gameProfile != null) {
        Minecraft minecraft = Minecraft.getMinecraft();
        Map map = minecraft.func_152342_ad().func_152788_a(gameProfile);

        if (map.containsKey(MinecraftProfileTexture.Type.SKIN)) {
          resourcelocation = minecraft.func_152342_ad().func_152792_a((MinecraftProfileTexture)map.get(MinecraftProfileTexture.Type.SKIN), MinecraftProfileTexture.Type.SKIN);
        }
      }
      bindTexture(resourcelocation);
      GL11.glPushMatrix();
      GL11.glDisable(GL11.GL_CULL_FACE);
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.