Dynamic Asset Generator

Dynamic Asset Generator

Mod

Library mod for dynamically generating assets at runtime.

Client or server Library

19.5k downloads
41 followers
Created2 years ago
Updated4 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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


Project members

lukebemish

Owner


Technical information

License
LGPL-3.0-or-later
Client side
optional
Server side
optional
Project ID