fromDisk

fun fromDisk(builder: ResourcePackBuilder, provider: JsonObject): MutableBitmapProvider<BufferedImage>

Reads a BitmapProvider from disk.

Parameters

builder

The ResourcePackBuilder to use for loading the texture.

provider

The json object containing the provider data. Might be modified by the resulting BitmapProvider.