Better Runtime Resource Pack Mod (1.21.1, 1.20.1) is a library mod used to generate resources during gameplay. It’s actually a branch of the Advanced Runtime Resource Pack (ARRP) mod.

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.

Features:

  • Dynamic Resource Generation: RRP generates assets and data on-the-fly, minimizing the need for storing repetitive mod data.
  • Reduced Mod File Size: Mods that feature many similar blocks and items benefit from significantly reduced file sizes, enhancing the gaming experience.

Screenshots:

Crafting Recipes:

Recommend that you should install Just Enough Items (for mods using Forge) or Roughly Enough Items (for mods using Fabric) to view the full recipes included in this mod.

Requires:

Minecraft Forge or Fabric API

How to install:

How To Download & Install Mods with Minecraft Forge

How To Download & Install Fabric Mods

How To Download & Install The Quilt Loader

Don’t miss out today’s latest Minecraft Mods

Better Runtime Resource Pack Mod (1.21.1, 1.20.1) Download Links

For Minecraft 1.16.5

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.17.1

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.18.1

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.18.2

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.19.1, 1.19

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.19.2

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.19.3

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.19.4

Fabric version: Download from Server 1Download from Server 2

Forge version: Download from Server 1Download from Server 2

For Minecraft 1.20.1, 1.20

Fabric version: Download from Server 1Download from Server 2

For Minecraft 1.20.2

Fabric version: Download from Server 1Download from Server 2

For Minecraft 1.20.4

Fabric version: Download from Server 1Download from Server 2

For Minecraft 1.20.6

Fabric version: Download from Server 1Download from Server 2

For Minecraft 1.21.1, 1.21

Fabric version: Download from Server 1Download from Server 2

Click to rate this post!
[Total: 2 Average: 5]