Modrinth · Minecraft mod
Better Runtime Resource Pack (BRRP)
A library mod to generated resource at runtime. Based on and made enhancements on ARRP mod.
Quick answer
Which Better Runtime Resource Pack (BRRP) release should I use?
Better Runtime Resource Pack (BRRP) 1.0.4-mc1.20.6-fabric targets 1.20.5, 1.20.6 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is Better Runtime Resource Pack (BRRP) required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Better Runtime Resource Pack (BRRP) 1.0.4-mc1.20.6-fabric need?
1.0.4-mc1.20.6-fabric. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Better Runtime Resource Pack (BRRP) without breaking your instance.
Built for Better Runtime Resource Pack (BRRP) 1.0.4-mc1.20.6-fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.4-mc1.20.6-fabric. It targets 1.20.5, 1.20.6 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.4-mc1.20.6-fabric. It opens that exact file at the source.
About this project
What does Better Runtime Resource Pack (BRRP) add?
BRRP (Better Runtime Resource Pack), is a library mod used for generate resources at runtime, which is a branch of ARRP (Advanced Runtime Resource Pack) mod.
Welcome to join Tencent QQ group 587928350 or KOOK (KaiHeiLa) channel invitation code KlFS0n to experience the latest update of this mod.
Notice: Since version 1.0.0, the ID of the mod was changed from better_runtime_resource_pack to brrp_v1, and modified the code without compatibility for older versions, but can co-exist with older versions. Unless needed, please do not used old version.
What is a runtime resource pack?
Runtime resource pack (RRP) refers to asset and data files generated when Minecraft is running, in avoidance of some repetitive works. For mods with masses of similar blocks and items, runtime resource pack helps to significantly reduce the size of mod file.
For instance, the loot table of most blocks can be described as "drop the block itself". Some blocks drop only when with Silk Touch. For slab blocks, when double slab block is broken, two blocks are dropped instead of one. In loot tables, each block requires a loot table JSON file; creating them is quite time-consuming. Moreover, almost each block requires a "block states", block model and item model (block models may be more than one). If loot tables and recipes (if it exists) are counted, each block requires at least 5 JSONs to achieve full features. In contrast, runtime resource packs make them generated inside the game instance, instead of stored in the mod JAR file.
Runtime resource packs have no difference than regular resource packs with regard to features. Normal resource packs (including the mod's builtin resource and manually-installed resource-packs or data-packs) can override contents of runtime resource packs, or have relations to runtime resource packs. A typical example is, block models are defined in runtime resource packs, and their texture files are stored in mod files as usual (as it's not appropriate to generate texture files in runtime).
Compared to traditional resource packs, runtime resource packs reduce I/Os, but adds the process of object serialization, which is a drawback of runtime resource pack. When resource packs are generated, objects are converted to byte forms (usually JSON). This process is called serialization. When game instance reads these resource packs, these byte-form contents are analysed to generate objects in game. This process is called deserialization. In traditional resource packs, all resources are serialized, and the game instance needs only to deserialize them when loading resources. However, runtime resource packs require the process of both serialization and deserialization.
To summarize again the process traditional resource packs and runtime resource packs are read in game:
- Traditional File → (read as) byte form → (deserialized as) in-game objects
- Runtime Code → ARRP objects → (serialized as) byte form → (deserialized as) in-game objects
It's been in my plan to make it possible to directly use objects generated in game in future versions, without the process of deserialization and serialization. This is already possible in theory, but to be in the form of resource pack and allow overriding by traditional resource packs and data packs, some further research is required.
About this mod
This mod (BRRP) is a branch of ARRP. Since 1.0.0, this mod has become independent of ARRP, no longer provides features of ARRP, but can co-exist with ARRP mod.
This mod is open-source and published under the MPLv2 license.
More details are available on GitHub.
Project description from Modrinth.
Pick your setup
Better Runtime Resource Pack (BRRP) by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
24w10a
1 loader build23w07a
1 loader build22w46a
1 loader build22w45a
1 loader build22w43a
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2-pre4
1 loader buildShowing the newest 12 of 36 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Better Runtime Resource Pack (BRRP) versions and loaders
1.0.4-mc1.20.6-fabric
brrp-fabric-1.0.4-1.20.6.jar
19 Aug 2024
1.0.4-mc1.21.1-fabric
brrp-fabric-1.0.4-1.21.1.jar
19 Aug 2024
1.0.3-mc1.21-fabric
brrp-fabric-1.0.3-1.21.jar
16 Jun 2024
1.0.3-mc1.20.6-fabric
brrp-fabric-1.0.3-1.20.6.jar
11 May 2024
1.0.3-beta.1-mc1.20.5-fabric
brrp-fabric-1.0.3-beta.1-1.20.5.jar
26 Apr 2024
1.0.3-alpha.1-mc24w10a-fabric
brrp-fabric-1.0.3-alpha.1-24w10a.jar
11 Mar 2024
1.0.3-mc1.20.4-fabric
brrp-fabric-1.0.3-1.20.4.jar
13 Dec 2023
1.0.3-beta.3-mc1.20.4-fabric
brrp-fabric-1.0.3-beta.3-1.20.4.jar
8 Dec 2023
1.0.2-mc1.20.2-fabric
brrp-fabric-1.0.2-1.20.2.jar
9 Oct 2023
1.0.1-mc1.20.2
brrp-fabric-1.0.1-1.20.2.jar
22 Sept 2023
1.0.1-beta.1-mc1.20.2-pre4
brrp-fabric-1.0.1-beta.1-1.20.2-pre4.jar
14 Sept 2023
1.0.1-mc1.18.2-forge
brrp-forge-1.0.1-1.18.2.jar
21 Jun 2023
Looking for an older file? The official Modrinth project page is in Resources.