Back to mods
QDResLoader project artwork

Modrinth · Minecraft mod

QDResLoader

A dead-simple resource loader that reuses existing functionality.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which QDResLoader release should I use?

Updated 3 years ago
Latest stable file 2.0.1
Game version 1.19.4, 1.20, 1.20.1
Loader Quilt

QDResLoader 2.0.1 targets 1.19.4, 1.20, 1.20.1 with Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is QDResLoader required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does QDResLoader 2.0.1 need?

2.0.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add QDResLoader without breaking your instance.

Built for QDResLoader 2.0.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.1. It targets 1.19.4, 1.20, 1.20.1 with Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.1. It opens that exact file at the source.

About this project

What does QDResLoader add?

So, you know how there's this really nice, battle-tested, and fast resource loading system in QSL? It's used for every mod. Wouldn't it be great if we could just reuse that, instead of needing a bloated Architectury-requiring overengineered mess that breaks when you so much as breathe on it?

That's what this is. 1.0 is 10 lines of Java code, including formatting:

new File("resources").mkdirs();
for (var t : ResourceType.values()) {
    ResourceLoader.get(t).getRegisterTopResourcePackEvent().register((ctx) -> {
        ctx.addResourcePack(new ModNioResourcePack(
            "QDResLoader resources", mod.metadata(), null, ResourcePackActivationType.ALWAYS_ENABLED,
            new File("resources").toPath(), t, null
        ));
    });
}

Since 1.0, some more features have been added to make it nicer to use and have some extra functionality, but it's still tiny regardless; just not "put the whole mod in your description" levels of tiny.

Harness the power of QSL Resource Loader in the resources directory. You already know the format; data goes in data, assets go in assets. Maybe you've got some zips you don't want to extract, maybe since you're managing them with Packwiz to update packs someone else manages? Cool, drop them in packs.

On first run, a QDResLoader-README.txt file will be dropped into resources to give you a quick explainer on how to use the mod. Here's what it says:

This directory is created and handled by QDResLoader. You can delete this README
once any of the following things exist.

This directory itself is loaded as a datapack and resourcepack, so any pack.mcmeta
will be considered (using a default provided by QSL if not present) and any data in
"data", as well as resources in "assets" on the client, will be loaded.

You may also create a "packs" directory, and put directories, zips, or jars in there
that will all be loaded as packs. For organization purposes, you may also create a
"datapacks" or "resourcepacks" directory -- packs in those directories will only be
loaded as one type instead of both.

The resources in the main directory cannot be disabled by users, but will be visible
in the "Resource Packs" and "Data Packs" menu, and can be reordered. Packs in all
three pack directories can be disabled as the user pleases, but are all enabled by
default.

Jars are recognized as packs so you can take "datapack-as-mod" JARs and drop them
here instead of in mods, if that's something you would like to do.

Project description from Modrinth.

Pick your setup

QDResLoader by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

QDResLoader versions and loaders

9 of 9 releases match

Looking for an older file? The official Modrinth project page is in Resources.