Hello,
I am trying to have my armor get its texture from a location outside of the normal Minecraft domain, but I have not found a way to accomplish this.
I have tried to override the getArmorTexture method using the following code:
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
location = new ResourceLocation("<modding folder>", "<texture folder inside modding folder>/texture.png");
return location.toString();
}
However, I get the following error:
java.io.FileNotFoundException: <modding folder>:<texture folder inside modding folder>/texture.png
Is it possible to accomplish this task using this method? Or possibly through another method?
Thanks in advance!