private ResourceLocation func_110848_b(EntityHorse par1EntityHorse) {
    String s = par1EntityHorse.getHorseTexture();
    ResourceLocation resourcelocation = (ResourceLocation) field_110852_a.get(s);

    if (resourcelocation == null) {
      resourcelocation = new ResourceLocation(s);
      Minecraft.getMinecraft()
          .getTextureManager()
          .loadTexture(
              resourcelocation, new LayeredTexture(par1EntityHorse.getVariantTexturePaths()));
      field_110852_a.put(s, resourcelocation);
    }

    return resourcelocation;
  }