Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Dynamic Asset Generator
Dynamic Asset Generator (or DynAssetGen) is a mod meant to help dynamically generate assets and data at runtime, as opposed to creating them manually or when the mod is compiled. Some possible uses include:
- Assets that match a player's resource packs
- Assets based off of vanilla assets, which should not be redistributed
- Data or assets that depend on config values or other data only known at runtime
- Data or assets which vary based on the other data and assets present
This mod has both a Java API and a system for controlling the mod through JSON. Many of the available features are targeted at texture generation and manipulation, including, but not limited to:
- Rotating, flipping, and cropping images
- "Masking" images by transferring the alpha channel from one to another
- Separating out the foreground of an image and placing it on a new background
- Switching color palettes of an image
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 https://projects.lukebemish.dev/DynamicAssetGenerator/. This mod does nothing on its own; you likely want it for use with another mod or resource pack