Dynamic Asset Generator
by lukebemish
Dynamic Asset Generator, a library mod by lukebemish, creates textures and other assets at runtime from JSON or a Java API instead of shipping them as fixed files.
What it does
Assets built from vanilla assets are generated while the game runs, and they match the resource packs a player has loaded. Data assets can also depend on configuration values or on other data assets present, which only become known at runtime, so the output varies from one setup to another. Manipulations include rotating, flipping and cropping images, masking one image with another's alpha channel, separating a foreground from its background and placing a new one, and switching color palettes.
Most of these transformations are written in JSON and used by resource packs or other mods. A Java API covers the same ground and can be extended to create further transformations dynamically during play. Dynamic Asset Generator requires Fabric API. It is published for Fabric, Forge, NeoForge and Quilt, with builds covering 1.18.1 – 1.21.1. Either side can run it and neither needs it, so installing it on only one side is enough. The code is released under the GNU Lesser General Public License v3.0 or later, so it is open source.
Key features
Runtime texture generation
Textures and other assets are produced while the game runs rather than compiled ahead of time into the mod.
Image transformations
Images can be rotated, flipped, cropped, masked with the alpha channel of another image, or have a foreground separated and placed on a new background.
Palette switching
An image can be recolored by switching its color palette, for example to match a different theme.
JSON and Java access
Most manipulations are defined in JSON, while a Java API lets other code build transformations that run during play.
Compatibility
Latest build for each game version and loader.
1.21.x2 of 2 versions with builds
1.20.x6 of 6 versions with builds
1.19.x4 of 4 versions with builds
1.18.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
How it compares
DynamicAssetAccessor is a Fabric-only library for 1.19 – 1.19.3, with an environment of client and server and a GNU Lesser General Public License v3.0 only license. ARRP is a Fabric library for 1.19 – 26.1.2 that works on either side, and neither needs it, and it is open source under the Mozilla Public License 2.0. mixson covers Fabric, NeoForge and Quilt for 1.20 – 26.3 under the MIT License, where installing it on one side is enough. Dynamic Asset Generator reaches 1.18.1 – 1.21.1 across four loaders.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Dynamic Asset Generator | Fabric, Forge, NeoForge and Quilt | 1.18.1 – 1.21.1 | Client or server, optional | 2024-08-13 |
| DynamicAssetAccessor | Fabric | 1.19 – 1.19.3 | Client and server | 2023-01-05 |
| ARRP | Fabric | 1.19 – 26.1.2 | Client or server, optional | 2026-05-06 |
| mixson | Fabric, NeoForge and Quilt | 1.20 – 26.3 | Client or server, optional | 2026-09-29 |
Questions
Does Dynamic Asset Generator need Fabric API?
Which loaders are supported?
Does it have to be installed on a server?
In the catalog
Dynamic Asset Generator is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from lukebemish
Similar mods
What the author says
Most manipulations are available through the JSON system, which can be utilized by resource packs or mods. The Java API allows this system to be extended further, or used to create the transformations dynamically at runtime. For documentation, see the wiki at This mod does nothing on its own; you likely want it for…
Official listing
- Modrinth page
- modrinth.com/mod/dynamic_asset_generator
- Owner
- lukebemish
- Published
- 2022-02-06
- Updated on Modrinth
- 2024-08-13
- Facts verified
- 2026-10-15
