Simple Resource Loader
This modification is a compact solution for automatically loading resource packs and data packs in Minecraft. It is especially useful for modpack and server project creators, as it works equally well on the client, in singleplayer, and on dedicated servers.
How to Use
Upon the first launch of the game with the mod installed, all necessary folders are automatically created. If desired, they can be created manually in advance. The system uses a simple directory structure: resources/<TYPE>/<REQUIREMENT>.
In the <TYPE> position, specify:
resourcepack— loads as a client-side resource packdatapack— functions as a data pack for server or singleplayer gamescommon— applied in both cases simultaneously (convenient when the file contains both resources and data)
The <REQUIREMENT> parameter determines:
required— packs that are always enabledoptional— materials that can be enabled or disabled as needed
For example, if you place a pack in resources/common/required/, it will always be active both as a resource pack and a data pack. Placement in resources/resourcepack/optional/ will make it a toggleable resource pack.