getTextureWidth

public double getTextureWidth()

Returns the uvWidth because width is the raw file width, and when using animated textures we use the uv width for Minecraft and let it know that it has animation frames.

Return

The width to be used for resource pack generation