Downloads: Modrinth CurseForge
- Provides a directory which acts as any other resource pack (
./config/txloader/load/
) - Provides a directory which overrides all other assets with the same resource locations (
./config/txloader/forceload/
) - Official assets can be downloaded automatically at startup from the official Mojang servers (Mojang's Brand and Asset Guidelines are not violated this way). Pack devs can do this via a JSON config (
./config/txloader/config.json
), mod devs can use a builder class viaglowredman.txloader.TXLoaderCore#getAssetBuilder
Field | Type | Default Value | Description |
---|---|---|---|
resourceLocation | String | Source path | |
resourceLocationOverride | String | null |
Destination path, if you want it to be different from the source path |
forceLoad | boolean | false |
If true, this asset will be prioritized over assets from other resource packs |
source | Source | ASSET |
Use CLIENT for everything found in the client jar, SERVER for everything found in the server jar and ASSET for everything else |
version | String | latest release | The version from which this asset should be taken(valid versions can be found here) It is recommended to populate this field |
Example config:
[
{
"resourceLocation": "minecraft/lang/en_us.json",
"version": "1.19.2"
},
{
"resourceLocation": "minecraft/sounds/block/netherrack/break1.ogg",
"resourceLocationOverride": "minecraft/sounds/block/netherrack/step1.ogg",
"forceLoad": true,
"version": "1.18"
},
{
"resourceLocation": "minecraft/textures/items/porkchop_cooked.png",
"resourceLocationOverride": "baconmod:textures/items/bacon.png",
"source": "ASSET",
"version": "1.7.10"
}
]