Вместо for проще воспользоваться for each
for (Texture loadedTexture : loadedTextures){
            if (loadedTexture.name.equalsIgnoreCase(pname)){
                return loadedTexture.textureRegion;
            }
}